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/
DIPowerManager.aidl115 const int LOCATION_MODE_NO_CHANGE = 0; field
DPowerManager.java1036 public static final int LOCATION_MODE_NO_CHANGE = 0; field in PowerManager
1063 public static final int MIN_LOCATION_MODE = LOCATION_MODE_NO_CHANGE;
1072 LOCATION_MODE_NO_CHANGE,
1122 case LOCATION_MODE_NO_CHANGE: in locationPowerSaveModeToString()
2196 return LOCATION_MODE_NO_CHANGE; in getLocationPowerSaveMode()
DBatterySaverPolicyConfig.java338 private int mLocationMode = PowerManager.LOCATION_MODE_NO_CHANGE;
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySaverPolicyTest.java330 .isAnyOf(PowerManager.LOCATION_MODE_NO_CHANGE, in testAutomotiveProjectionChanges_Full()
359 .isAnyOf(PowerManager.LOCATION_MODE_NO_CHANGE, in testAutomotiveProjectionChanges_Adaptive()
586 .isEqualTo(PowerManager.LOCATION_MODE_NO_CHANGE); in testSetFullPolicy_overridesSettingsAndDeviceConfig_clearOnFullExit()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverPolicy.java159 PowerManager.LOCATION_MODE_NO_CHANGE, /* locationMode */
479 && rawPolicy.locationMode != PowerManager.LOCATION_MODE_NO_CHANGE in updatePolicyDependenciesLocked()
709 this.locationMode = PowerManager.LOCATION_MODE_NO_CHANGE; in Policy()
951 || 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;
439 case LOCATION_MODE_NO_CHANGE: in toString()
/frameworks/base/services/core/java/com/android/server/location/provider/
DLocationProviderManager.java29 import static android.os.IPowerManager.LOCATION_MODE_NO_CHANGE;
2205 case LOCATION_MODE_NO_CHANGE:
/frameworks/base/core/api/
Dcurrent.txt31881 field public static final int LOCATION_MODE_NO_CHANGE = 0; // 0x0