Home
last modified time | relevance | path

Searched refs:LOCATION_MODE_NO_CHANGE (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DSystemLocationPowerSaveModeHelperTest.java21 import static android.os.PowerManager.LOCATION_MODE_NO_CHANGE;
83 doReturn(LOCATION_MODE_NO_CHANGE).when(powerManager).getLocationPowerSaveMode(); in setUp()
109 LOCATION_MODE_NO_CHANGE).setBatterySaverEnabled(false).build()); in testListener()
112 assertThat(mHelper.getLocationPowerSaveMode()).isEqualTo(LOCATION_MODE_NO_CHANGE); in testListener()
117 assertThat(mHelper.getLocationPowerSaveMode()).isEqualTo(LOCATION_MODE_NO_CHANGE); in testListener()
122 assertThat(mHelper.getLocationPowerSaveMode()).isEqualTo(LOCATION_MODE_NO_CHANGE); in testListener()
127 assertThat(mHelper.getLocationPowerSaveMode()).isEqualTo(LOCATION_MODE_NO_CHANGE); in testListener()
133 assertThat(mHelper.getLocationPowerSaveMode()).isEqualTo(LOCATION_MODE_NO_CHANGE); in testListener()
136 LOCATION_MODE_NO_CHANGE).setBatterySaverEnabled(true).build()); in testListener()
139 assertThat(mHelper.getLocationPowerSaveMode()).isEqualTo(LOCATION_MODE_NO_CHANGE); in testListener()
[all …]
DFakeLocationPowerSaveModeHelper.java32 mLocationPowerSaveMode = IPowerManager.LOCATION_MODE_NO_CHANGE; in FakeLocationPowerSaveModeHelper()
/frameworks/native/services/powermanager/include/android/
DLocationMode.h23 NO_CHANGE = IPowerManager::LOCATION_MODE_NO_CHANGE,
29 MIN = IPowerManager::LOCATION_MODE_NO_CHANGE,
/frameworks/base/services/core/java/com/android/server/location/injector/
DSystemLocationPowerSaveModeHelper.java66 locationPowerSaveMode = PowerManager.LOCATION_MODE_NO_CHANGE; in accept()
/frameworks/base/core/java/android/os/
DPowerManager.java885 public static final int LOCATION_MODE_NO_CHANGE = 0; field in PowerManager
912 public static final int MIN_LOCATION_MODE = LOCATION_MODE_NO_CHANGE;
921 LOCATION_MODE_NO_CHANGE,
971 case LOCATION_MODE_NO_CHANGE: in locationPowerSaveModeToString()
2040 return LOCATION_MODE_NO_CHANGE; in getLocationPowerSaveMode()
DIPowerManager.aidl108 const int LOCATION_MODE_NO_CHANGE = 0; field
DBatterySaverPolicyConfig.java338 private int mLocationMode = PowerManager.LOCATION_MODE_NO_CHANGE;
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySaverPolicyTest.java369 .isAnyOf(PowerManager.LOCATION_MODE_NO_CHANGE, in testAutomotiveProjectionChanges_Full()
398 .isAnyOf(PowerManager.LOCATION_MODE_NO_CHANGE, in testAutomotiveProjectionChanges_Adaptive()
625 .isEqualTo(PowerManager.LOCATION_MODE_NO_CHANGE); in testSetFullPolicy_overridesSettingsAndDeviceConfig_clearOnFullExit()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverPolicy.java157 PowerManager.LOCATION_MODE_NO_CHANGE, /* locationMode */
479 && rawPolicy.locationMode != PowerManager.LOCATION_MODE_NO_CHANGE in updatePolicyDependenciesLocked()
731 this.locationMode = PowerManager.LOCATION_MODE_NO_CHANGE; in Policy()
993 || currPolicy.locationMode != PowerManager.LOCATION_MODE_NO_CHANGE; in getBatterySaverPolicy()
/frameworks/base/services/core/java/com/android/server/location/eventlog/
DLocationEventLog.java22 import static android.os.PowerManager.LOCATION_MODE_NO_CHANGE;
470 case LOCATION_MODE_NO_CHANGE: in getLogString()
/frameworks/base/services/core/java/com/android/server/location/provider/
DLocationProviderManager.java27 import static android.os.IPowerManager.LOCATION_MODE_NO_CHANGE;
2077 case LOCATION_MODE_NO_CHANGE:
/frameworks/base/core/api/
Dcurrent.txt31659 field public static final int LOCATION_MODE_NO_CHANGE = 0; // 0x0