Home
last modified time | relevance | path

Searched refs:LOCATION_MODE_FOREGROUND_ONLY (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DSystemLocationPowerSaveModeHelperTest.java19 import static android.os.PowerManager.LOCATION_MODE_FOREGROUND_ONLY;
124 LOCATION_MODE_FOREGROUND_ONLY).setBatterySaverEnabled(false).build()); in testListener()
153 LOCATION_MODE_FOREGROUND_ONLY).setBatterySaverEnabled(true).build()); in testListener()
155 LOCATION_MODE_FOREGROUND_ONLY); in testListener()
156 assertThat(mHelper.getLocationPowerSaveMode()).isEqualTo(LOCATION_MODE_FOREGROUND_ONLY); in testListener()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySaverPolicyTest.java51 PowerManager.LOCATION_MODE_FOREGROUND_ONLY;
331 PowerManager.LOCATION_MODE_FOREGROUND_ONLY); in testAutomotiveProjectionChanges_Full()
360 PowerManager.LOCATION_MODE_FOREGROUND_ONLY); in testAutomotiveProjectionChanges_Adaptive()
391 + "=" + PowerManager.LOCATION_MODE_FOREGROUND_ONLY in testUserSettingsOverrideDeviceConfig()
434 assertEquals(PowerManager.LOCATION_MODE_FOREGROUND_ONLY, policy.locationMode); in testUserSettingsOverrideDeviceConfig()
537 PowerManager.LOCATION_MODE_FOREGROUND_ONLY) in testDeviceConfig_AdaptiveValues()
557 assertEquals(PowerManager.LOCATION_MODE_FOREGROUND_ONLY, policy.locationMode); in testDeviceConfig_AdaptiveValues()
575 .setLocationMode(PowerManager.LOCATION_MODE_FOREGROUND_ONLY) in testSetFullPolicy_overridesSettingsAndDeviceConfig_clearOnFullExit()
579 .isEqualTo(PowerManager.LOCATION_MODE_FOREGROUND_ONLY); in testSetFullPolicy_overridesSettingsAndDeviceConfig_clearOnFullExit()
/frameworks/native/services/powermanager/include/android/
DLocationMode.h26 FOREGROUND_ONLY = IPowerManager::LOCATION_MODE_FOREGROUND_ONLY,
/frameworks/base/core/tests/coretests/src/android/os/
DPowerManagerTest.java470 PowerManager.LOCATION_MODE_FOREGROUND_ONLY, in testPowerSaveStateNativeToJava()
489 PowerManager.LOCATION_MODE_FOREGROUND_ONLY, in testSetPowerSaveStateJavaToNative()
511 .setLocationMode(PowerManager.LOCATION_MODE_FOREGROUND_ONLY).build(); in testBatterySaverPolicyConfigNativeToJava()
515 .setLocationMode(PowerManager.LOCATION_MODE_FOREGROUND_ONLY) in testBatterySaverPolicyConfigNativeToJava()
/frameworks/base/core/java/android/os/
DIPowerManager.aidl118 const int LOCATION_MODE_FOREGROUND_ONLY = 3; field
DPowerManager.java1054 public static final int LOCATION_MODE_FOREGROUND_ONLY = 3; field in PowerManager
1075 LOCATION_MODE_FOREGROUND_ONLY,
1128 case LOCATION_MODE_FOREGROUND_ONLY: in locationPowerSaveModeToString()
/frameworks/base/services/core/java/com/android/server/location/eventlog/
DLocationEventLog.java20 import static android.os.PowerManager.LOCATION_MODE_FOREGROUND_ONLY;
448 case LOCATION_MODE_FOREGROUND_ONLY: in toString()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverPolicy.java182 PowerManager.LOCATION_MODE_FOREGROUND_ONLY, /* locationMode */
480 && rawPolicy.locationMode != PowerManager.LOCATION_MODE_FOREGROUND_ONLY) { in updatePolicyDependenciesLocked()
482 locationMode = PowerManager.LOCATION_MODE_FOREGROUND_ONLY; in updatePolicyDependenciesLocked()
/frameworks/base/services/core/java/com/android/server/location/provider/
DLocationProviderManager.java33 import static android.os.PowerManager.LOCATION_MODE_FOREGROUND_ONLY;
642 == LOCATION_MODE_FOREGROUND_ONLY; in onForegroundChanged()
2188 case LOCATION_MODE_FOREGROUND_ONLY:
/frameworks/base/core/api/
Dcurrent.txt31879 field public static final int LOCATION_MODE_FOREGROUND_ONLY = 3; // 0x3