Home
last modified time | relevance | path

Searched refs:onLocationModeChanged (Results 1 – 17 of 17) 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.java122 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()
DLocationEnablerTest.java115 verify(mListener).onLocationModeChanged(anyInt(), anyBoolean()); in onReceive_shouldRefreshLocationMode()
141 verify(mListener).onLocationModeChanged(anyInt(), anyBoolean()); in refreshLocationMode_shouldCallOnLocationModeChanged()
DLocationSettingsFooterPreferenceControllerTest.java160 mController.onLocationModeChanged(/* mode= */ 0, /* restricted= */ false); in onLocationModeChanged_off_setTitle()
178 mController.onLocationModeChanged(/* mode= */ 1, /* restricted= */ false); in onLocationModeChanged_on_setTitle()
DLocationInjectedServicesPreferenceControllerTest.java159 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()
DRecentLocationAccessSeeAllButtonPreferenceController.java45 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in RecentLocationAccessSeeAllButtonPreferenceController
DLocationForWorkPreferenceController.java66 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationForWorkPreferenceController
DLocationSwitchBarController.java64 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationSwitchBarController
DLocationInjectedServiceBasePreferenceController.java81 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationInjectedServiceBasePreferenceController
DRecentLocationAccessSeeAllPreferenceController.java51 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in RecentLocationAccessSeeAllPreferenceController
DRecentLocationRequestSeeAllPreferenceController.java51 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in RecentLocationRequestSeeAllPreferenceController
DLocationSettings.java106 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationSettings
DAppLocationPermissionPreferenceController.java123 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in AppLocationPermissionPreferenceController
DRecentLocationRequestPreferenceController.java112 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in RecentLocationRequestPreferenceController
DRecentLocationAccessPreferenceController.java117 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in RecentLocationAccessPreferenceController
DLocationSettingsFooterPreferenceController.java68 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationSettingsFooterPreferenceController