Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DLocationSwitchBarControllerTest.java107 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false); in onLocationModeChanged_hasEnforcedAdmin_shouldDisableSwitchByAdmin()
119 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, true); in onLocationModeChanged_Restricted_shouldDisableSwitchByAdmin()
129 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false); in onLocationModeChanged_Restricted_shouldDisableSwitch()
139 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false); in onLocationModeChanged_notRestricted_shouldEnableSwitch()
151 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false); in onLocationModeChanged_locationOn_shouldCheckSwitch()
162 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()
DLocationForPrivateProfilePreferenceControllerTest.java123 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false); in onLocationModeChanged_disabledByAdmin_shouldDisablePreference()
134 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_OFF, false); in onLocationModeChanged_locationOff_shouldDisablePreference()
148 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false); in onLocationModeChanged_locationOn_shouldEnablePreference()
161 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false); in onLocationModeChanged_noRestriction_shouldCheckedPreference()
172 mController.onLocationModeChanged(Settings.Secure.LOCATION_MODE_BATTERY_SAVING, false); in onLocationModeChanged_hasRestriction_shouldCheckedPreference()
DLocationEnablerTest.java110 verify(mListener).onLocationModeChanged(anyInt(), anyBoolean()); in onReceive_shouldRefreshLocationMode()
136 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.java250 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
105 mListener.onLocationModeChanged(mode, isRestricted()); in refreshLocationMode()
123 mListener.onLocationModeChanged(currentMode, true); in setLocationEnabled()
DRecentLocationAccessSeeAllButtonPreferenceController.java46 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.java65 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationSwitchBarController
DRecentLocationRequestSeeAllPreferenceController.java51 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in RecentLocationRequestSeeAllPreferenceController
DLocationForPrivateProfilePreferenceController.java80 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationForPrivateProfilePreferenceController
DRecentLocationAccessSeeAllPreferenceController.java64 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in RecentLocationAccessSeeAllPreferenceController
DLocationInjectedServiceBasePreferenceController.java83 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationInjectedServiceBasePreferenceController
DLocationSettingsFooterPreferenceController.java68 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationSettingsFooterPreferenceController
DRecentLocationRequestPreferenceController.java121 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in RecentLocationRequestPreferenceController
DLocationSettings.java150 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in LocationSettings
DAppLocationPermissionPreferenceController.java147 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in AppLocationPermissionPreferenceController
DRecentLocationAccessPreferenceController.java142 public void onLocationModeChanged(int mode, boolean restricted) { in onLocationModeChanged() method in RecentLocationAccessPreferenceController