Searched refs:mIsLocationEnabled (Results 1 – 3 of 3) sorted by relevance
114 private boolean mIsLocationEnabled; field in WifiPermissionsUtilTest191 mIsLocationEnabled = true; in testCanReadPeersMacAddressCurrentUserAndAllPermissions()214 mIsLocationEnabled = true; in testCanReadPeersMacAddressCurrentProfileAndAllPermissions()258 mIsLocationEnabled = true; in testenforceCanAccessScanResults_UserOrProfileNotCurrent()326 mIsLocationEnabled = true; in testLegacyAppHasLocationAndAllPermissions()351 mIsLocationEnabled = true; in testCannotAccessScanResults_NoCoarseLocationPermission()377 mIsLocationEnabled = false; in testCannotAccessScanResults_LocationModeDisabled()411 mIsLocationEnabled = false; in testEnforceCannotAccessScanResults_LocationModeDisabledHasChangeWifiState()446 mIsLocationEnabled = false; in testEnforceCannotAccessScanResults_LocationModeDisabledHasAccessWifiState()481 mIsLocationEnabled = false; in testEnforceCannotAccessScanResults_LocationModeDisabledHasNoNetworkSettings()[all …]
85 private boolean mIsLocationEnabled; field in LocationPermissionCheckerTest134 mIsLocationEnabled = false; in initTestVars()153 when(mLocationManager.isLocationEnabledForUser(any())).thenReturn(mIsLocationEnabled); in setupMockInterface()176 mIsLocationEnabled = true;193 mIsLocationEnabled = true;210 mIsLocationEnabled = true;224 mIsLocationEnabled = true;237 mIsLocationEnabled = true;256 mIsLocationEnabled = false;
114 private volatile boolean mIsLocationEnabled = false; field in GpsNetInitiatedHandler232 mIsLocationEnabled = mLocationManager.isProviderEnabled(LocationManager.GPS_PROVIDER); in updateLocationMode()239 return mIsLocationEnabled; in getLocationEnabled()