HomeSort by relevance Sort by last modified time
    Searched defs:BatteryService (Results 1 - 4 of 4) sorted by null

  /frameworks/native/services/sensorservice/
BatteryService.cpp 28 #include "BatteryService.h"
33 BatteryService::BatteryService() : mBatteryStatService(nullptr) {
36 bool BatteryService::addSensor(uid_t uid, int handle) {
48 bool BatteryService::removeSensor(uid_t uid, int handle) {
58 void BatteryService::enableSensorImpl(uid_t uid, int handle) {
67 void BatteryService::disableSensorImpl(uid_t uid, int handle) {
77 void BatteryService::cleanupImpl(uid_t uid) {
94 bool BatteryService::checkService() {
105 ANDROID_SINGLETON_STATIC_INSTANCE(BatteryService)
    [all...]
BatteryService.h 26 class BatteryService : public Singleton<BatteryService> {
28 friend class Singleton<BatteryService>;
31 BatteryService();
56 BatteryService::getInstance().enableSensorImpl(uid, handle);
59 BatteryService::getInstance().disableSensorImpl(uid, handle);
62 BatteryService::getInstance().cleanupImpl(uid);
  /frameworks/base/services/core/java/com/android/server/
BatteryService.java 87 * <p>BatteryService monitors the charging status, and charge level of the device
116 public final class BatteryService extends SystemService {
117 private static final String TAG = BatteryService.class.getSimpleName();
195 public BatteryService(Context context) {
    [all...]
  /prebuilts/misc/common/robolectric/android-all/
android-all-7.0.0_r1-robolectric-0.jar 

Completed in 64 milliseconds