Home
last modified time | relevance | path

Searched refs:setLocationMode (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DSystemLocationPowerSaveModeHelperTest.java108 sendPowerSaveState(new PowerSaveState.Builder().setLocationMode( in testListener()
113 sendPowerSaveState(new PowerSaveState.Builder().setLocationMode( in testListener()
118 sendPowerSaveState(new PowerSaveState.Builder().setLocationMode( in testListener()
123 sendPowerSaveState(new PowerSaveState.Builder().setLocationMode( in testListener()
128 sendPowerSaveState(new PowerSaveState.Builder().setLocationMode( in testListener()
135 sendPowerSaveState(new PowerSaveState.Builder().setLocationMode( in testListener()
140 sendPowerSaveState(new PowerSaveState.Builder().setLocationMode( in testListener()
146 sendPowerSaveState(new PowerSaveState.Builder().setLocationMode( in testListener()
152 sendPowerSaveState(new PowerSaveState.Builder().setLocationMode( in testListener()
157 sendPowerSaveState(new PowerSaveState.Builder().setLocationMode( in testListener()
[all …]
/frameworks/base/core/java/android/os/
DPowerSaveState.java96 public Builder setLocationMode(int mode) { in setLocationMode() method in PowerSaveState.Builder
DBatterySaverPolicyConfig.java552 public Builder setLocationMode(@PowerManager.LocationPowerSaveMode int locationMode) { in setLocationMode() method in BatterySaverPolicyConfig.Builder
/frameworks/base/core/tests/coretests/src/android/os/
DPowerManagerTest.java361 .setLocationMode(locationMode) in parcelPowerSaveStateToNativeAndVerify()
454 .setLocationMode(PowerManager.LOCATION_MODE_FOREGROUND_ONLY).build(); in testBatterySaverPolicyConfigNativeToJava()
458 .setLocationMode(PowerManager.LOCATION_MODE_FOREGROUND_ONLY) in testBatterySaverPolicyConfigNativeToJava()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverPolicy.java798 .setLocationMode(locationMode) in toConfig()
950 .setLocationMode(currPolicy.locationMode) in getBatterySaverPolicy()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySaverPolicyTest.java605 .setLocationMode(PowerManager.LOCATION_MODE_FOREGROUND_ONLY) in testSetFullPolicy_overridesSettingsAndDeviceConfig_clearOnFullExit()
/frameworks/base/core/api/
Dsystem-current.txt10575 method @NonNull public android.os.BatterySaverPolicyConfig.Builder setLocationMode(int);