Home
last modified time | relevance | path

Searched refs:isLocationEnabled (Results 1 – 11 of 11) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DSetLocationEnabledTest.java53 boolean enabled = mLocationManager.isLocationEnabled(); in testSetLocationEnabled()
67 assertWithMessage("isLocationEnabled()").that(mLocationManager.isLocationEnabled()) in runDisableLocationFirst()
71 assertWithMessage("isLocationEnabled()").that(mLocationManager.isLocationEnabled()) in runDisableLocationFirst()
79 assertWithMessage("isLocationEnabled()").that(mLocationManager.isLocationEnabled()) in runEnableLocationFirst()
83 assertWithMessage("isLocationEnabled()").that(mLocationManager.isLocationEnabled()) in runEnableLocationFirst()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiJUnit3TestBase.java39 if (!mLocationManager.isLocationEnabled()) { in setUp()
DWifiJUnit4TestBase.java45 if (!mLocationManager.isLocationEnabled()) { in enableLocationIfNotEnabled()
DMultiStaConcurrencyWifiNetworkSpecifierTest.java156 .that(mContext.getSystemService(LocationManager.class).isLocationEnabled()) in setUp()
DMultiStaConcurrencyRestrictedWifiNetworkSuggestionTest.java159 mContext.getSystemService(LocationManager.class).isLocationEnabled()).isTrue(); in setUp()
DConcurrencyTest.java261 private boolean isLocationEnabled() { in isLocationEnabled() method in ConcurrencyTest
344 if (!isLocationEnabled()) { in setupWifiP2p()
DWifiManagerTest.java509 if (!isLocationEnabled()) { in testWifiManagerScanWhenWifiOffLocationTurnedOn()
621 if (!isLocationEnabled()) { in testWifiScanTimestamp()
672 private boolean isLocationEnabled() { in isLocationEnabled() method in WifiManagerTest
986 if (!isLocationEnabled()) { in startLocalOnlyHotspot()
1963 if (!isLocationEnabled()) { in testScreenOffDoesNotTurnOffWifiScanningWhenWifiDisabled()
1997 if (!isLocationEnabled()) { in testScreenOffDoesNotTurnOffWifiScanningWhenWifiEnabled()
DWifiNetworkSuggestionTest.java123 if (!sContext.getSystemService(LocationManager.class).isLocationEnabled()) return; in setUpClass()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/
DTestListActivity.java124 if (!mWifiManager.isWifiEnabled() || !locationManager.isLocationEnabled()) { in handleItemClick()
/cts/tests/tests/wifi/src/android/net/wifi/rtt/cts/
DTestBase.java108 mLocationManager.isLocationEnabled()); in setUp()
/cts/tests/location/location_fine/src/android/location/cts/fine/
DLocationManagerFineTest.java173 assertThat(mManager.isLocationEnabled()).isTrue(); in testIsLocationEnabled()
177 LocationManager.class).isLocationEnabled(); in testIsLocationEnabled()
185 LocationManager.class).isLocationEnabled(); in testIsLocationEnabled()