Searched refs:setLocationEnabledForUser (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
D | TopLevelLocationPreferenceControllerTest.java | 53 mLocationManager.setLocationEnabledForUser(false, android.os.Process.myUserHandle()); in getSummary_whenLocationIsOff_shouldReturnStringForOff() 60 mLocationManager.setLocationEnabledForUser(true, android.os.Process.myUserHandle()); in getSummary_whenLocationIsOn_shouldShowLoadingString() 68 mLocationManager.setLocationEnabledForUser(true, android.os.Process.myUserHandle()); in getSummary_whenLocationAppCountIsOne_shouldShowSingularString() 79 mLocationManager.setLocationEnabledForUser(true, android.os.Process.myUserHandle()); in getSummary_whenLocationAppCountIsGreaterThanOne_shouldShowPluralString()
|
D | AppLocationPermissionPreferenceControllerTest.java | 62 mLocationManager.setLocationEnabledForUser(false, android.os.Process.myUserHandle()); in getSummary_whenLocationIsOff_shouldReturnStringForOff() 70 mLocationManager.setLocationEnabledForUser(true, android.os.Process.myUserHandle()); in getSummary_whenLocationIsOn_shouldReturnLoadingString() 78 mLocationManager.setLocationEnabledForUser(true, android.os.Process.myUserHandle()); in getSummary_whenLocationAppCountIsOne_shouldShowSingularString() 88 mLocationManager.setLocationEnabledForUser(true, android.os.Process.myUserHandle()); in getSummary_whenLocationAppCountIsGreaterThanOne_shouldShowPluralString()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserServiceTest.java | 199 verify(mLocationManager).setLocationEnabledForUser( in testDisableLocationForHeadlessSystemUserOnFirstRun() 212 verify(mLocationManager, never()).setLocationEnabledForUser( in testDisableLocationForRegularSystemUserOnFirstRun()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowLocationManager.java | 32 protected void setLocationEnabledForUser(boolean enabled, UserHandle userHandle) { in setLocationEnabledForUser() method in ShadowLocationManager
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/preferences/ |
D | WifiWakeupTogglePreferenceControllerTest.java | 232 mLocationManager.setLocationEnabledForUser(enabled, Process.myUserHandle()); in setLocationEnabled()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | LocationFragment.java | 205 getActivity().getSystemService(LocationManager.class).setLocationEnabledForUser( in writeLocationMode()
|
/packages/services/Car/service/src/com/android/car/user/ |
D | CarUserService.java | 355 locationManager.setLocationEnabledForUser( in setSystemUserRestrictions()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/ |
D | ConnectivityFragment.java | 630 mLocationManager.setLocationEnabledForUser(true, user); in startLocalOnly()
|