Home
last modified time | relevance | path

Searched refs:onLocationModeChanged (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DLocationSwitchBarControllerTest.java106 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false); in onLocationModeChanged_hasEnforcedAdmin_shouldDisableSwitchByAdmin()
116 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, true); in onLocationModeChanged_Restricted_shouldDisableSwitch()
126 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false); in onLocationModeChanged_notRestricted_shouldEnableSwitch()
138 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false); in onLocationModeChanged_locationOn_shouldCheckSwitch()
149 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_OFF, false); in onLocationModeChanged_locationOff_shouldUncheckSwitch()
DLocationForWorkPreferenceControllerTest.java131 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false); in onLocationModeChanged_disabledByAdmin_shouldDisablePreference()
143 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_OFF, false); in onLocationModeChanged_locationOff_shouldDisablePreference()
157 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false); in onLocationModeChanged_locationOn_shouldEnablePreference()
170 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false); in onLocationModeChanged_noRestriction_shouldCheckedPreference()
181 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false); in onLocationModeChanged_hasRestriction_shouldCheckedPreference()
DLocationEnablerTest.java115 verify(mListener).onLocationModeChanged(anyInt(), anyBoolean()); in onReceive_shouldRefreshLocationMode()
141 verify(mListener).onLocationModeChanged(anyInt(), anyBoolean()); in refreshLocationMode_shouldCallOnLocationModeChanged()
DLocationServicePreferenceControllerTest.java188 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false); in onLocationModeChanged_shouldRequestReloadInjectedSettigns()
/packages/apps/Settings/src/com/android/settings/location/
DLocationEnabler.java60 void onLocationModeChanged(int mode, boolean restricted); in onLocationModeChanged() method
102 mListener.onLocationModeChanged(mode, isRestricted()); in refreshLocationMode()
117 mListener.onLocationModeChanged(currentMode, true); in setLocationEnabled()
DLocationSwitchBarController.java62 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationSwitchBarController
DLocationForWorkPreferenceController.java76 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationForWorkPreferenceController
DRecentLocationRequestSeeAllPreferenceController.java66 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in RecentLocationRequestSeeAllPreferenceController
DAppLocationPermissionPreferenceController.java129 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in AppLocationPermissionPreferenceController
DRecentLocationRequestPreferenceController.java126 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in RecentLocationRequestPreferenceController
DLocationServicePreferenceController.java114 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationServicePreferenceController
DLocationFooterPreferenceController.java108 public void onLocationModeChanged(int mode, boolean restricted) {} in onLocationModeChanged() method in LocationFooterPreferenceController
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/location/
DLocationEnabler.java60 void onLocationModeChanged(int mode, boolean restricted); in onLocationModeChanged() method
102 mListener.onLocationModeChanged(mode, isRestricted()); in refreshLocationMode()
117 mListener.onLocationModeChanged(currentMode, true); in setLocationEnabled()
DLocationSwitchBarController.java62 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationSwitchBarController
DLocationForWorkPreferenceController.java76 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationForWorkPreferenceController
DAppLocationPermissionPreferenceController.java99 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in AppLocationPermissionPreferenceController
DLocationServicePreferenceController.java114 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationServicePreferenceController
DLocationFooterPreferenceController.java108 public void onLocationModeChanged(int mode, boolean restricted) {} in onLocationModeChanged() method in LocationFooterPreferenceController