Searched refs:mIsLocationEnabled (Results 1 – 2 of 2) 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 …]
112 private volatile boolean mIsLocationEnabled = false; field in GpsNetInitiatedHandler222 mIsLocationEnabled = mLocationManager.isProviderEnabled(LocationManager.GPS_PROVIDER); in updateLocationMode()229 return mIsLocationEnabled; in getLocationEnabled()