Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DBatteryService.cpp33 BatteryService::BatteryService() 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::noteWakeupSensorEventImpl(int64_t elapsedNanos, uid_t uid, int handle) { in noteWakeupSensorEventImpl()
85 bool BatteryService::checkService() { in checkService()
96 ANDROID_SINGLETON_STATIC_INSTANCE(BatteryService)
DBatteryService.h28 class BatteryService : public Singleton<BatteryService> {
31 friend class Singleton<BatteryService>;
34 BatteryService();
60 BatteryService::getInstance().enableSensorImpl(uid, handle); in enableSensor()
63 BatteryService::getInstance().disableSensorImpl(uid, handle); in disableSensor()
66 BatteryService& instance = BatteryService::getInstance(); in noteWakeupSensorEvent()
DAndroid.bp28 "BatteryService.cpp",
DSensorEventConnection.cpp395 BatteryService::noteWakeupSensorEvent(scratch[index_wake_up_event].timestamp, in sendEvents()
DSensorService.cpp1887 BatteryService::disableSensor(c->getUid(), handle); in cleanupConnection()
2094 BatteryService::enableSensor(connection->getUid(), handle); in enable()
2197 BatteryService::disableSensor(connection->getUid(), handle); in cleanupWithoutDisableLocked()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java116 public final class BatteryService extends SystemService { class
117 private static final String TAG = BatteryService.class.getSimpleName();
229 public BatteryService(Context context) { in BatteryService() method in BatteryService
1510 BatteryService.this.setChargerAcOnline(online, forceUpdate); in setChargerAcOnline()
1515 BatteryService.this.setBatteryLevel(level, forceUpdate); in setBatteryLevel()
1520 BatteryService.this.unplugBattery(forceUpdate, /* printWriter= */ null); in unplugBattery()
1525 BatteryService.this.resetBattery(forceUpdate, /* printWriter= */ null); in resetBattery()
1530 BatteryService.this.suspendBatteryInput(); in suspendBatteryInput()
DEventLogTags.logtags6 # BatteryService.java
/frameworks/base/core/java/android/os/
Dflags.aconfig151 description: "Whether or not BatteryService supports adb commands for Current values."
/frameworks/base/services/
Dart-wear-profile1871 PLcom/android/server/BatteryService$$ExternalSyntheticLambda0;-><init>(Lcom/android/server/BatteryS…
1872 PLcom/android/server/BatteryService$$ExternalSyntheticLambda0;->run()V
1873 PLcom/android/server/BatteryService$$ExternalSyntheticLambda1;-><init>(Lcom/android/server/BatteryS…
1874 PLcom/android/server/BatteryService$$ExternalSyntheticLambda1;->run()V
1875 PLcom/android/server/BatteryService$$ExternalSyntheticLambda4;-><init>(Lcom/android/server/BatteryS…
1876 PLcom/android/server/BatteryService$$ExternalSyntheticLambda4;->update(Landroid/hardware/health/Hea…
1877 PLcom/android/server/BatteryService$$ExternalSyntheticLambda5;-><init>(Lcom/android/server/BatteryS…
1878 PLcom/android/server/BatteryService$$ExternalSyntheticLambda5;->run()V
1879 PLcom/android/server/BatteryService$2;-><init>(Lcom/android/server/BatteryService;Landroid/os/Handl…
1880 PLcom/android/server/BatteryService$BatteryPropertiesRegistrar;-><init>(Lcom/android/server/Battery…
[all …]
Dart-profile64 HSPLcom/android/server/BatteryService$BatteryPropertiesRegistrar;->getProperty(ILandroid/os/Battery…
65 HSPLcom/android/server/BatteryService$Led;->updateLightsLocked()V+]Lcom/android/server/lights/Logic…
66BatteryService;->processValuesLocked(Z)V+]Landroid/content/Intent;Landroid/content/Intent;]Landroi…
67 HSPLcom/android/server/BatteryService;->sendBatteryChangedIntentLocked()V
68 …id/server/BatteryService;->update(Landroid/hardware/health/HealthInfo;)V+]Lcom/android/server/Batt…
2999 …/ContextImpl;]Landroid/os/BatteryManagerInternal;Lcom/android/server/BatteryService$LocalService;]…
3967 Lcom/android/server/BatteryService$LocalService;
/frameworks/base/services/java/com/android/server/
DSystemServer.java1364 mSystemServiceManager.startService(BatteryService.class); in startCoreServices()