Home
last modified time | relevance | path

Searched refs:BatteryService (Results 1 – 8 of 8) 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()
93 bool BatteryService::checkService() { in checkService()
104 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.cpp1188 BatteryService::cleanup(c->getUid()); in cleanupConnection()
1267 BatteryService::enableSensor(connection->getUid(), handle); in enable()
1367 BatteryService::disableSensor(connection->getUid(), handle); in cleanupWithoutDisableLocked()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java95 public final class BatteryService extends SystemService { class
96 private static final String TAG = BatteryService.class.getSimpleName();
159 public BatteryService(Context context) { in BatteryService() method in BatteryService
940 BatteryService.this.update(props); in batteryPropertiesChanged()
DEventLogTags.logtags6 # BatteryService.java
/frameworks/base/services/
Dart-profile883 HPLcom/android/server/BatteryService$9;-><init>(Lcom/android/server/BatteryService;Landroid/content…
884 HPLcom/android/server/BatteryService$9;->run()V
885 HPLcom/android/server/BatteryService$BatteryListener;->batteryPropertiesChanged(Landroid/os/Battery…
886 HPLcom/android/server/BatteryService$Led;->updateLightsLocked()V
887 HPLcom/android/server/BatteryService$LocalService;->getBatteryLevel()I
888 HPLcom/android/server/BatteryService$LocalService;->getBatteryLevelLow()Z
889 HPLcom/android/server/BatteryService$LocalService;->getPlugType()I
890 HPLcom/android/server/BatteryService$LocalService;->isPowered(I)Z
891 HPLcom/android/server/BatteryService;->-get3(Lcom/android/server/BatteryService;)Landroid/os/Batter…
892 HPLcom/android/server/BatteryService;->-get6(Lcom/android/server/BatteryService;)Ljava/lang/Object;
[all …]
/frameworks/base/services/java/com/android/server/
DSystemServer.java659 mSystemServiceManager.startService(BatteryService.class); in startCoreServices()