powerstats: Add NFC stats am: 65afc07bcb

Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14269205

Change-Id: Id47c5672e19cf7cfced446a9bd1ee43328f66670
This commit is contained in:
Benjamin Schwartz 2021-04-22 23:59:40 +00:00 committed by Automerger Merge Worker
commit 2b458ee228
2 changed files with 2 additions and 0 deletions

View file

@ -68,6 +68,7 @@ int main() {
addGs101CommonDataProviders(p); addGs101CommonDataProviders(p);
addDisplay(p); addDisplay(p);
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-3/3-0008/power_stats");
const std::string instance = std::string() + PowerStats::descriptor + "/default"; const std::string instance = std::string() + PowerStats::descriptor + "/default";
binder_status_t status = AServiceManager_addService(p->asBinder().get(), instance.c_str()); binder_status_t status = AServiceManager_addService(p->asBinder().get(), instance.c_str());

View file

@ -110,6 +110,7 @@ int main() {
addGs101CommonDataProviders(p); addGs101CommonDataProviders(p);
addDisplay(p); addDisplay(p);
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-4/4-0008/power_stats");
addUwb(p); addUwb(p);
const std::string instance = std::string() + PowerStats::descriptor + "/default"; const std::string instance = std::string() + PowerStats::descriptor + "/default";