Home
last modified time | relevance | path

Searched refs:setLocationEnabled (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DLocationSwitchBarControllerTest.java90 verify(mEnabler).setLocationEnabled(true); in onSwitchChanged_switchChecked_shouldSetLocationEnabled()
97 verify(mEnabler).setLocationEnabled(false); in onSwitchChanged_switchUnchecked_shouldSetLocationDisabled()
DLocationEnablerTest.java144 mEnabler.setLocationEnabled(true); in setLocationEnabled_notRestricted_shouldRefreshLocation()
154 mEnabler.setLocationEnabled(true); in setLocationEnabled_notRestricted_shouldBroadcastUpdateAndSetChanger()
/packages/apps/Settings/src/com/android/settings/location/
DLocationSwitchBarController.java104 mLocationEnabler.setLocationEnabled(isChecked); in onCheckedChanged()
DLocationEnabler.java112 public void setLocationEnabled(boolean enabled) { in setLocationEnabled() method in LocationEnabler
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/
DNetworkPolicyTestUtils.java166 public static void setLocationEnabled(boolean enabled) { in setLocationEnabled() method in NetworkPolicyTestUtils