/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
D | LocationSwitchBarControllerTest.java | 106 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()
|
D | LocationForWorkPreferenceControllerTest.java | 131 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()
|
D | LocationEnablerTest.java | 115 verify(mListener).onLocationModeChanged(anyInt(), anyBoolean()); in onReceive_shouldRefreshLocationMode() 141 verify(mListener).onLocationModeChanged(anyInt(), anyBoolean()); in refreshLocationMode_shouldCallOnLocationModeChanged()
|
D | LocationServicePreferenceControllerTest.java | 188 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false); in onLocationModeChanged_shouldRequestReloadInjectedSettigns()
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | LocationEnabler.java | 60 void onLocationModeChanged(int mode, boolean restricted); in onLocationModeChanged() method 102 mListener.onLocationModeChanged(mode, isRestricted()); in refreshLocationMode() 117 mListener.onLocationModeChanged(currentMode, true); in setLocationEnabled()
|
D | LocationSwitchBarController.java | 62 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationSwitchBarController
|
D | LocationForWorkPreferenceController.java | 76 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationForWorkPreferenceController
|
D | RecentLocationRequestSeeAllPreferenceController.java | 66 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in RecentLocationRequestSeeAllPreferenceController
|
D | AppLocationPermissionPreferenceController.java | 129 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in AppLocationPermissionPreferenceController
|
D | RecentLocationRequestPreferenceController.java | 126 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in RecentLocationRequestPreferenceController
|
D | LocationServicePreferenceController.java | 114 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationServicePreferenceController
|
D | LocationFooterPreferenceController.java | 108 public void onLocationModeChanged(int mode, boolean restricted) {} in onLocationModeChanged() method in LocationFooterPreferenceController
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/location/ |
D | LocationEnabler.java | 60 void onLocationModeChanged(int mode, boolean restricted); in onLocationModeChanged() method 102 mListener.onLocationModeChanged(mode, isRestricted()); in refreshLocationMode() 117 mListener.onLocationModeChanged(currentMode, true); in setLocationEnabled()
|
D | LocationSwitchBarController.java | 62 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationSwitchBarController
|
D | LocationForWorkPreferenceController.java | 76 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationForWorkPreferenceController
|
D | AppLocationPermissionPreferenceController.java | 99 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in AppLocationPermissionPreferenceController
|
D | LocationServicePreferenceController.java | 114 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationServicePreferenceController
|
D | LocationFooterPreferenceController.java | 108 public void onLocationModeChanged(int mode, boolean restricted) {} in onLocationModeChanged() method in LocationFooterPreferenceController
|