Searched refs:BatteryService (Results 1 – 10 of 10) 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",
1512 BatteryService::cleanup(c->getUid()); in cleanupConnection()1614 BatteryService::enableSensor(connection->getUid(), handle); in enable()1717 BatteryService::disableSensor(connection->getUid(), handle); in cleanupWithoutDisableLocked()
45 @Mock BatteryService.HealthServiceWrapper.Callback mCallback;46 @Mock BatteryService.HealthServiceWrapper.IServiceManagerSupplier mManagerSupplier;47 @Mock BatteryService.HealthServiceWrapper.IHealthSupplier mHealthServiceSupplier;48 BatteryService.HealthServiceWrapper mWrapper;50 private static final String HEALTHD = BatteryService.HealthServiceWrapper.INSTANCE_HEALTHD;51 private static final String VENDOR = BatteryService.HealthServiceWrapper.INSTANCE_VENDOR;97 mWrapper = new BatteryService.HealthServiceWrapper();
118 public final class BatteryService extends SystemService { class119 private static final String TAG = BatteryService.class.getSimpleName();199 public BatteryService(Context context) { in BatteryService() method in BatteryService1145 BatteryService.this.update(propsLatest); in healthInfoChanged()1149 BatteryService.this.update(props); in healthInfoChanged_2_1()
6 # BatteryService.java
801 HSPLcom/android/server/-$$Lambda$BatteryService$2x73lvpB0jctMSVP4qb9sHAqRPw;-><init>(Landroid/conte…802 HSPLcom/android/server/-$$Lambda$BatteryService$2x73lvpB0jctMSVP4qb9sHAqRPw;->run()V803 HPLcom/android/server/-$$Lambda$BatteryService$BatteryPropertiesRegistrar$7Y-B9O7NDYgUY9hQvFzC2FQ2V…804 HPLcom/android/server/-$$Lambda$BatteryService$BatteryPropertiesRegistrar$7Y-B9O7NDYgUY9hQvFzC2FQ2V…805 HPLcom/android/server/-$$Lambda$BatteryService$BatteryPropertiesRegistrar$9z3zqgxtPzBN8Qoni5nHVb0m8…806 HPLcom/android/server/-$$Lambda$BatteryService$BatteryPropertiesRegistrar$9z3zqgxtPzBN8Qoni5nHVb0m8…807 HPLcom/android/server/-$$Lambda$BatteryService$BatteryPropertiesRegistrar$DM4ow6LC--JYWBfhHp2f1JW8n…808 HPLcom/android/server/-$$Lambda$BatteryService$BatteryPropertiesRegistrar$DM4ow6LC--JYWBfhHp2f1JW8n…809 HPLcom/android/server/-$$Lambda$BatteryService$BatteryPropertiesRegistrar$JTQ79fl14NyImudsJhx-Mp1dJ…810 PLcom/android/server/-$$Lambda$BatteryService$BatteryPropertiesRegistrar$JTQ79fl14NyImudsJhx-Mp1dJI…[all …]
157 import com.android.server.BatteryService;309 private BatteryService.HealthServiceWrapper mHealthService;722 mHealthService = new BatteryService.HealthServiceWrapper(); in initializePullersState()
957 mSystemServiceManager.startService(BatteryService.class); in startCoreServices()