Searched refs:BatteryService (Results 1 – 9 of 9) sorted by relevance
33 BatteryService::BatteryService() : mBatteryStatService(nullptr) { in BatteryService() function in android::BatteryService36 bool BatteryService::addSensor(uid_t uid, int handle) { in addSensor()48 bool BatteryService::removeSensor(uid_t uid, int handle) { in removeSensor()58 void BatteryService::enableSensorImpl(uid_t uid, int handle) { in enableSensorImpl()67 void BatteryService::disableSensorImpl(uid_t uid, int handle) { in disableSensorImpl()77 void BatteryService::cleanupImpl(uid_t uid) { in cleanupImpl()94 bool BatteryService::checkService() { in checkService()105 ANDROID_SINGLETON_STATIC_INSTANCE(BatteryService)
26 class BatteryService : public Singleton<BatteryService> {28 friend class Singleton<BatteryService>;31 BatteryService();56 BatteryService::getInstance().enableSensorImpl(uid, handle); in enableSensor()59 BatteryService::getInstance().disableSensorImpl(uid, handle); in disableSensor()62 BatteryService::getInstance().cleanupImpl(uid); in cleanup()
8 "BatteryService.cpp",
1288 BatteryService::cleanup(c->getUid()); in cleanupConnection()1367 BatteryService::enableSensor(connection->getUid(), handle); in enable()1467 BatteryService::disableSensor(connection->getUid(), handle); in cleanupWithoutDisableLocked()
48 @Mock BatteryService.HealthServiceWrapper.Callback mCallback;49 @Mock BatteryService.HealthServiceWrapper.IServiceManagerSupplier mManagerSupplier;50 @Mock BatteryService.HealthServiceWrapper.IHealthSupplier mHealthServiceSupplier;51 BatteryService.HealthServiceWrapper mWrapper;53 private static final String HEALTHD = BatteryService.HealthServiceWrapper.INSTANCE_HEALTHD;54 private static final String VENDOR = BatteryService.HealthServiceWrapper.INSTANCE_VENDOR;100 mWrapper = new BatteryService.HealthServiceWrapper();
116 public final class BatteryService extends SystemService { class117 private static final String TAG = BatteryService.class.getSimpleName();195 public BatteryService(Context context) { in BatteryService() method in BatteryService1099 BatteryService.this.update(props); in healthInfoChanged()
6 # BatteryService.java
711 HSPLcom/android/server/BatteryService$HealthServiceWrapper$Callback;->onRegistration(Landroid/hardw…1583 Lcom/android/server/-$$Lambda$BatteryService$2x73lvpB0jctMSVP4qb9sHAqRPw;1584 Lcom/android/server/-$$Lambda$BatteryService$D1kwd7L7yyqN5niz3KWkTepVmUk;1662 Lcom/android/server/BatteryService$2;1663 Lcom/android/server/BatteryService$3;1664 Lcom/android/server/BatteryService$4;1665 Lcom/android/server/BatteryService$BatteryPropertiesRegistrar;1666 Lcom/android/server/BatteryService$BinderService;1667 Lcom/android/server/BatteryService$HealthHalCallback;1668 Lcom/android/server/BatteryService$HealthServiceWrapper$Callback;[all …]
697 mSystemServiceManager.startService(BatteryService.class); in startCoreServices()