Skip to content
Snippets Groups Projects
Commit 0c7179f6 authored by Darren Hsu's avatar Darren Hsu
Browse files

powerstats: add NFC state residency for specific devices


Bug: 206902456
Bug: 206901670
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I93b9123d9c52a5504b41cc83ee83764fdeeccdab
Signed-off-by: default avatarDarren Hsu <darrenhsu@google.com>
parent d2b72733
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ int main() {
addGs201CommonDataProviders(p);
addDisplay(p);
// TODO(b/206566167): Add UWB state residency
// TODO(b/206901670): Add NFC state residency
addNFC(p, "/sys/devices/platform/10970000.hsi2c/i2c-4/i2c-st21nfc/power_stats");
const std::string instance = std::string() + PowerStats::descriptor + "/default";
binder_status_t status = AServiceManager_addService(p->asBinder().get(), instance.c_str());
......
......@@ -66,7 +66,7 @@ int main() {
addGs201CommonDataProviders(p);
addDisplay(p);
// TODO(b/206902456): Add NFC state residency
addNFC(p, "/sys/devices/platform/10970000.hsi2c/i2c-4/i2c-st21nfc/power_stats");
const std::string instance = std::string() + PowerStats::descriptor + "/default";
binder_status_t status = AServiceManager_addService(p->asBinder().get(), instance.c_str());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment