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 status_t BatteryService::noteStartSensor(int uid, int handle) {
52 status_t BatteryService::noteStopSensor(int uid, int handle) {
63 bool BatteryService::addSensor(uid_t uid, int handle) {
75 bool BatteryService::removeSensor(uid_t uid, int handle) {
85 void BatteryService::enableSensorImpl(uid_t uid, int handle) {
94 void BatteryService::disableSensorImpl(uid_t uid, int handle) {
104 void BatteryService
[all...]
H A DBatteryService.h25 class BatteryService : public Singleton<BatteryService> { class in namespace:android
30 friend class Singleton<BatteryService>;
33 BatteryService();
59 BatteryService::getInstance().enableSensorImpl(uid, handle);
62 BatteryService::getInstance().disableSensorImpl(uid, handle);
65 BatteryService::getInstance().cleanupImpl(uid);
/frameworks/base/services/java/com/android/server/
H A DBatteryService.java50 * <p>BatteryService monitors the charging status, and charge level of the device
79 public final class BatteryService extends Binder { class in inherits:Binder
80 private static final String TAG = BatteryService.class.getSimpleName();
148 public BatteryService(Context context, LightsService lights) { method in class:BatteryService
700 * Synchronize on BatteryService.

Completed in 66 milliseconds