Home
last modified time | relevance | path

Searched refs:mIsLocationEnabled (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DWifiPermissionsUtilTest.java119 private boolean mIsLocationEnabled; field in WifiPermissionsUtilTest
182 mIsLocationEnabled = true; in testCanReadPeersMacAddressCurrentUserAndAllPermissions()
204 mIsLocationEnabled = true; in testCanReadPeersMacAddressCurrentProfileAndAllPermissions()
249 mIsLocationEnabled = true; in testenforceCanAccessScanResults_UserOrProfileNotCurrent()
318 mIsLocationEnabled = true; in testLegacyAppHasLocationAndAllPermissions()
342 mIsLocationEnabled = true; in testCannotAccessScanResults_NoCoarseLocationPermission()
369 mIsLocationEnabled = false; in testCannotAccessScanResults_LocationModeDisabled()
402 mIsLocationEnabled = false; in testEnforceCannotAccessScanResults_LocationModeDisabledHasChangeWifiState()
436 mIsLocationEnabled = false; in testEnforceCannotAccessScanResults_LocationModeDisabledHasAccessWifiState()
470 mIsLocationEnabled = false; in testEnforceCannotAccessScanResults_LocationModeDisabledHasNoNetworkSettings()
[all …]
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DLocationPermissionCheckerTest.java86 private boolean mIsLocationEnabled; field in LocationPermissionCheckerTest
135 mIsLocationEnabled = false; in initTestVars()
154 when(mLocationManager.isLocationEnabledForUser(any())).thenReturn(mIsLocationEnabled); in setupMockInterface()
177 mIsLocationEnabled = true;
194 mIsLocationEnabled = true;
211 mIsLocationEnabled = true;
225 mIsLocationEnabled = true;
238 mIsLocationEnabled = true;
257 mIsLocationEnabled = false;
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java113 private volatile boolean mIsLocationEnabled = false; field in GpsNetInitiatedHandler
231 mIsLocationEnabled = mLocationManager.isProviderEnabled(LocationManager.GPS_PROVIDER); in updateLocationMode()
238 return mIsLocationEnabled; in getLocationEnabled()