/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 | 122 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false); in onLocationModeChanged_disabledByAdmin_shouldDisablePreference() 133 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_OFF, false); in onLocationModeChanged_locationOff_shouldDisablePreference() 147 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false); in onLocationModeChanged_locationOn_shouldEnablePreference() 160 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false); in onLocationModeChanged_noRestriction_shouldCheckedPreference() 171 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 | LocationSettingsFooterPreferenceControllerTest.java | 160 mController.onLocationModeChanged(/* mode= */ 0, /* restricted= */ false); in onLocationModeChanged_off_setTitle() 178 mController.onLocationModeChanged(/* mode= */ 1, /* restricted= */ false); in onLocationModeChanged_on_setTitle()
|
D | LocationInjectedServicesPreferenceControllerTest.java | 159 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 | RecentLocationAccessSeeAllButtonPreferenceController.java | 45 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in RecentLocationAccessSeeAllButtonPreferenceController
|
D | LocationForWorkPreferenceController.java | 66 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationForWorkPreferenceController
|
D | LocationSwitchBarController.java | 64 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationSwitchBarController
|
D | LocationInjectedServiceBasePreferenceController.java | 81 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationInjectedServiceBasePreferenceController
|
D | RecentLocationAccessSeeAllPreferenceController.java | 51 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in RecentLocationAccessSeeAllPreferenceController
|
D | RecentLocationRequestSeeAllPreferenceController.java | 51 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in RecentLocationRequestSeeAllPreferenceController
|
D | LocationSettings.java | 106 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationSettings
|
D | AppLocationPermissionPreferenceController.java | 123 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in AppLocationPermissionPreferenceController
|
D | RecentLocationRequestPreferenceController.java | 112 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in RecentLocationRequestPreferenceController
|
D | RecentLocationAccessPreferenceController.java | 117 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in RecentLocationAccessPreferenceController
|
D | LocationSettingsFooterPreferenceController.java | 68 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationSettingsFooterPreferenceController
|