Searched refs:mBatteryStatService (Results 1 – 4 of 4) sorted by relevance
34 : mBatteryStatService(nullptr), mLastWakeupSensorEventReportedMs(0) {} in BatteryService()62 mBatteryStatService->noteStartSensor(uid, handle); in enableSensorImpl()71 mBatteryStatService->noteStopSensor(uid, handle); in disableSensorImpl()80 mBatteryStatService->noteWakeupSensorEvent(elapsedNanos, uid, handle); in noteWakeupSensorEventImpl()86 if (mBatteryStatService == nullptr) { in checkService()90 mBatteryStatService = interface_cast<IBatteryStats>(sm->getService(name)); in checkService()93 return mBatteryStatService != nullptr; in checkService()
32 sp<IBatteryStats> mBatteryStatService; variable
37 IInterface::asBinder(mBatteryStatService)->unlinkToDeath(mDeathNotifier); in ~BatteryNotifier()183 mBatteryStatService.clear(); in onBatteryStatServiceDied()193 if (mBatteryStatService != nullptr) { in getBatteryService_l()194 return mBatteryStatService; in getBatteryService_l()200 mBatteryStatService = interface_cast<IBatteryStats>(sm->checkService(name)); in getBatteryService_l()201 if (mBatteryStatService == nullptr) { in getBatteryService_l()209 IInterface::asBinder(mBatteryStatService)->linkToDeath(mDeathNotifier); in getBatteryService_l()216 mBatteryStatService->noteStartVideo(it->first); in getBatteryService_l()220 mBatteryStatService->noteStartAudio(it->first); in getBatteryService_l()224 return mBatteryStatService; in getBatteryService_l()
65 sp<IBatteryStats> mBatteryStatService; variable