Home
last modified time | relevance | path

Searched refs:BatteryService (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/services/sensorservice/
DBatteryService.cpp33 BatteryService::BatteryService() : mBatteryStatService(nullptr) { in BatteryService() function in android::BatteryService
36 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)
DBatteryService.h26 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()
DAndroid.bp8 "BatteryService.cpp",
DSensorService.cpp1395 BatteryService::cleanup(c->getUid()); in cleanupConnection()
1497 BatteryService::enableSensor(connection->getUid(), handle); in enable()
1602 BatteryService::disableSensor(connection->getUid(), handle); in cleanupWithoutDisableLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DBatteryServiceTest.java45 @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();
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java115 public final class BatteryService extends SystemService { class
116 private static final String TAG = BatteryService.class.getSimpleName();
195 public BatteryService(Context context) { in BatteryService() method in BatteryService
1123 BatteryService.this.update(props); in healthInfoChanged()
DEventLogTags.logtags6 # BatteryService.java
/frameworks/base/services/
Dart-profile258 HSPLcom/android/server/-$$Lambda$BatteryService$2x73lvpB0jctMSVP4qb9sHAqRPw;->run()V
259 PLcom/android/server/-$$Lambda$BatteryService$BatteryPropertiesRegistrar$7Y-B9O7NDYgUY9hQvFzC2FQ2V5…
260 PLcom/android/server/-$$Lambda$BatteryService$BatteryPropertiesRegistrar$9z3zqgxtPzBN8Qoni5nHVb0m8E…
261 PLcom/android/server/-$$Lambda$BatteryService$BatteryPropertiesRegistrar$DM4ow6LC--JYWBfhHp2f1JW8nw…
262 PLcom/android/server/-$$Lambda$BatteryService$BatteryPropertiesRegistrar$KZAu97wwr_7_MI0awCjQTzdIuA…
263 HSPLcom/android/server/-$$Lambda$BatteryService$D1kwd7L7yyqN5niz3KWkTepVmUk;->run()V
585 PLcom/android/server/BatteryService$10;->run()V
586 HSPLcom/android/server/BatteryService$7;->run()V
587 HSPLcom/android/server/BatteryService$8;->run()V
588 HSPLcom/android/server/BatteryService$9;->run()V
[all …]
/frameworks/base/services/java/com/android/server/
DSystemServer.java826 mSystemServiceManager.startService(BatteryService.class); in startCoreServices()