Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DWifiPermissionsUtilTest.java114 private boolean mIsLocationEnabled; field in WifiPermissionsUtilTest
191 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 …]
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java112 private volatile boolean mIsLocationEnabled = false; field in GpsNetInitiatedHandler
222 mIsLocationEnabled = mLocationManager.isProviderEnabled(LocationManager.GPS_PROVIDER); in updateLocationMode()
229 return mIsLocationEnabled; in getLocationEnabled()