Searched defs:BatteryService (Results 1 - 3 of 3) sorted by relevance

/frameworks/native/services/sensorservice/
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 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);
/frameworks/base/services/core/java/com/android/server/
H A DBatteryService.java61 * <p>BatteryService monitors the charging status, and charge level of the device
90 public final class BatteryService extends SystemService { class in inherits:SystemService
91 private static final String TAG = BatteryService.class.getSimpleName();
150 public BatteryService(Context context) { method in class:BatteryService
822 * Synchronize on BatteryService.
856 BatteryService.this.update(props);

Completed in 2312 milliseconds