powerstats: Add NFC stats
Bug: 184722506 Test: dumpsys android.hardware.power.stats.IPowerStats/default Change-Id: I3b8dce2f7170c686a619dfda1002a49edf3a5428
This commit is contained in:
parent
0bc47d654b
commit
65afc07bcb
2 changed files with 2 additions and 0 deletions
|
@ -68,6 +68,7 @@ int main() {
|
|||
|
||||
addGs101CommonDataProviders(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";
|
||||
binder_status_t status = AServiceManager_addService(p->asBinder().get(), instance.c_str());
|
||||
|
|
|
@ -110,6 +110,7 @@ int main() {
|
|||
|
||||
addGs101CommonDataProviders(p);
|
||||
addDisplay(p);
|
||||
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-4/4-0008/power_stats");
|
||||
addUwb(p);
|
||||
|
||||
const std::string instance = std::string() + PowerStats::descriptor + "/default";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue