Searched refs:mIsLocationEnabled (Results 1 – 3 of 3) sorted by relevance
119 private boolean mIsLocationEnabled; field in WifiPermissionsUtilTest182 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 …]
86 private boolean mIsLocationEnabled; field in LocationPermissionCheckerTest135 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;
113 private volatile boolean mIsLocationEnabled = false; field in GpsNetInitiatedHandler231 mIsLocationEnabled = mLocationManager.isProviderEnabled(LocationManager.GPS_PROVIDER); in updateLocationMode()238 return mIsLocationEnabled; in getLocationEnabled()