Home
last modified time | relevance | path

Searched refs:isProviderEnabled (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/location/src/android/location/cts/
DTestLocationListener.java88 public boolean isProviderEnabled() { in isProviderEnabled() method in TestLocationListener
DLocationManagerTest.java238 assertTrue(mManager.isProviderEnabled(p)); in testGetProvidersWithCriteria()
248 assertTrue(mManager.isProviderEnabled(p)); in testGetProvidersWithCriteria()
278 boolean lmGps = mManager.isProviderEnabled(LocationManager.GPS_PROVIDER); in testModeAndProviderApisConsistent()
279 boolean lmNlp = mManager.isProviderEnabled(LocationManager.NETWORK_PROVIDER); in testModeAndProviderApisConsistent()
929 assertTrue(mManager.isProviderEnabled(TEST_MOCK_PROVIDER_NAME)); in testIsProviderEnabled()
932 assertFalse(mManager.isProviderEnabled(TEST_MOCK_PROVIDER_NAME)); in testIsProviderEnabled()
935 assertTrue(mManager.isProviderEnabled(TEST_MOCK_PROVIDER_NAME)); in testIsProviderEnabled()
938 mManager.isProviderEnabled(null); in testIsProviderEnabled()
DTestMeasurementUtil.java107 .isProviderEnabled(LocationManager.GPS_PROVIDER); in canTestRunOnCurrentDevice()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/
DLocationModeTestActivity.java254 boolean enabled = manager.isProviderEnabled(gpsProvider); in testManagerProviderIsEnabled()
261 boolean enabled = manager.isProviderEnabled(gpsProvider); in testManagerProviderIsDisabled()
/cts/tests/tests/permission/src/android/permission/cts/
DNoLocationPermissionTest.java300 mLocationManager.isProviderEnabled(provider); in checkIsProviderEnabled()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsBgVsFgActions.java164 if (!locManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in doGpsUpdate()
/cts/tools/dex-tools/dex/
Dclasses.out.dex38725 public abstract boolean isProviderEnabled(
38852 public boolean isProviderEnabled(
39654 public boolean isProviderEnabled(