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

/frameworks/native/services/sensorservice/
H A DBatteryService.h26 class BatteryService : public Singleton<BatteryService> { class in namespace:android
28 friend class Singleton<BatteryService>;
31 BatteryService();
55 BatteryService::getInstance().enableSensorImpl(uid, handle);
58 BatteryService::getInstance().disableSensorImpl(uid, handle);
61 BatteryService::getInstance().cleanupImpl(uid);
H A DBatteryService.cpp28 #include "BatteryService.h"
33 BatteryService::BatteryService() { function in class:android::BatteryService
41 bool BatteryService::addSensor(uid_t uid, int handle) {
53 bool BatteryService::removeSensor(uid_t uid, int handle) {
63 void BatteryService::enableSensorImpl(uid_t uid, int handle) {
72 void BatteryService::disableSensorImpl(uid_t uid, int handle) {
82 void BatteryService::cleanupImpl(uid_t uid) {
98 ANDROID_SINGLETON_STATIC_INSTANCE(BatteryService)
H A DAndroid.mk5 BatteryService.cpp \
H A DSensorService.cpp45 #include "BatteryService.h"
703 BatteryService::cleanup(c->getUid());
759 BatteryService::enableSensor(connection->getUid(), handle);
840 BatteryService::disableSensor(connection->getUid(), handle);
/frameworks/native/include/batteryservice/
H A DIBatteryPropertiesListener.h23 #include <batteryservice/BatteryService.h>
/frameworks/native/services/batteryservice/
H A DBatteryProperty.cpp19 #include <batteryservice/BatteryService.h>
H A DBatteryProperties.cpp19 #include <batteryservice/BatteryService.h>
/frameworks/base/services/core/java/com/android/server/
H A DBatteryService.java59 * <p>BatteryService monitors the charging status, and charge level of the device
88 public final class BatteryService extends SystemService { class in inherits:SystemService
89 private static final String TAG = BatteryService.class.getSimpleName();
145 public BatteryService(Context context) { method in class:BatteryService
721 * Synchronize on BatteryService.
756 BatteryService.this.update(props);
/frameworks/base/services/java/com/android/server/
H A DSystemServer.java372 mSystemServiceManager.startService(BatteryService.class);

Completed in 167 milliseconds