Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/
DBatterySaverPolicy.java36 public class BatterySaverPolicy extends ContentObserver { class
169 public BatterySaverPolicy(Handler handler) { in BatterySaverPolicy() method in BatterySaverPolicy
190 synchronized (BatterySaverPolicy.this) { in updateConstants()
224 synchronized (BatterySaverPolicy.this) { in getBatterySaverPolicy()
DPowerManagerService.java95 import com.android.server.power.BatterySaverPolicy.ServiceType;
226 private final BatterySaverPolicy mBatterySaverPolicy;
644 mBatterySaverPolicy = new BatterySaverPolicy(mHandler); in PowerManagerService()
666 PowerManagerService(Context context, BatterySaverPolicy batterySaverPolicy) { in PowerManagerService()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DBatterySaverPolicyTest.java23 import com.android.server.power.BatterySaverPolicy.ServiceType;
55 private BatterySaverPolicy mBatterySaverPolicy;
60 mBatterySaverPolicy = new BatterySaverPolicy(mHandler); in setUp()
DPowerManagerServiceTest.java49 private @Mock BatterySaverPolicy mBatterySaverPolicy;
67 eq(BatterySaverPolicy.ServiceType.SCREEN_BRIGHTNESS), anyBoolean())) in setUp()
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java84 import com.android.server.power.BatterySaverPolicy;
85 import com.android.server.power.BatterySaverPolicy.ServiceType;
555 case BatterySaverPolicy.GPS_MODE_DISABLED_WHEN_SCREEN_OFF: in updateLowPowerMode()
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java58 import com.android.server.power.BatterySaverPolicy.ServiceType;
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java44 import com.android.server.power.BatterySaverPolicy.ServiceType;
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java69 import com.android.server.power.BatterySaverPolicy.ServiceType;
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java194 import com.android.server.power.BatterySaverPolicy.ServiceType;
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java235 import com.android.server.power.BatterySaverPolicy.ServiceType;
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java127 import com.android.server.power.BatterySaverPolicy.ServiceType;