Home
last modified time | relevance | path

Searched refs:locationPowerSaveMode (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/location/injector/
DSystemLocationPowerSaveModeHelper.java64 int locationPowerSaveMode; in accept() local
66 locationPowerSaveMode = PowerManager.LOCATION_MODE_NO_CHANGE; in accept()
68 locationPowerSaveMode = powerSaveState.locationMode; in accept()
71 if (locationPowerSaveMode == mLocationPowerSaveMode) { in accept()
75 mLocationPowerSaveMode = locationPowerSaveMode; in accept()
78 FgThread.getHandler().post(() -> notifyLocationPowerSaveModeChanged(locationPowerSaveMode)); in accept()
DLocationPowerSaveModeHelper.java42 void onLocationPowerSaveModeChanged(@LocationPowerSaveMode int locationPowerSaveMode); in onLocationPowerSaveModeChanged() argument
67 @LocationPowerSaveMode int locationPowerSaveMode) { in notifyLocationPowerSaveModeChanged()
70 locationPowerSaveMode)); in notifyLocationPowerSaveModeChanged()
72 EVENT_LOG.logLocationPowerSaveMode(locationPowerSaveMode); in notifyLocationPowerSaveModeChanged()
75 listener.onLocationPowerSaveModeChanged(locationPowerSaveMode); in notifyLocationPowerSaveModeChanged()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DFakeLocationPowerSaveModeHelper.java35 public void setLocationPowerSaveMode(int locationPowerSaveMode) { in setLocationPowerSaveMode() argument
36 if (locationPowerSaveMode == mLocationPowerSaveMode) { in setLocationPowerSaveMode()
40 mLocationPowerSaveMode = locationPowerSaveMode; in setLocationPowerSaveMode()
41 notifyLocationPowerSaveModeChanged(locationPowerSaveMode); in setLocationPowerSaveMode()
/frameworks/base/services/core/java/com/android/server/location/eventlog/
DLocationEventLog.java248 @LocationPowerSaveMode int locationPowerSaveMode) { in logLocationPowerSaveMode()
249 addLog(new LocationPowerSaveModeEvent(locationPowerSaveMode)); in logLocationPowerSaveMode()
487 LocationPowerSaveModeEvent(@LocationPowerSaveMode int locationPowerSaveMode) { in LocationPowerSaveModeEvent() argument
488 mLocationPowerSaveMode = locationPowerSaveMode; in LocationPowerSaveModeEvent()
/frameworks/base/services/core/java/com/android/server/location/provider/
DLocationProviderManager.java2552 private void onLocationPowerSaveModeChanged(@LocationPowerSaveMode int locationPowerSaveMode) {