Home
last modified time | relevance | path

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

/cts/tests/tests/location/src/android/location/cts/
DTestLocationListener.java97 public boolean isProviderEnabled() { in isProviderEnabled() method in TestLocationListener
DLocationManagerTest.java241 assertTrue(mManager.isProviderEnabled(p)); in testGetProvidersWithCriteria()
251 assertTrue(mManager.isProviderEnabled(p)); in testGetProvidersWithCriteria()
859 assertTrue(mManager.isProviderEnabled(TEST_MOCK_PROVIDER_NAME)); in testIsProviderEnabled()
869 assertFalse(mManager.isProviderEnabled(TEST_MOCK_PROVIDER_NAME)); in testIsProviderEnabled()
877 assertTrue(mManager.isProviderEnabled(TEST_MOCK_PROVIDER_NAME)); in testIsProviderEnabled()
880 mManager.isProviderEnabled(null); in testIsProviderEnabled()
DTestMeasurementUtil.java110 .isProviderEnabled(LocationManager.GPS_PROVIDER); in canTestRunOnCurrentDevice()
/cts/tests/tests/permission2/src/android/permission2/cts/
DNoLocationPermissionTest.java317 mLocationManager.isProviderEnabled(provider); in checkIsProviderEnabled()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsBgVsFgActions.java222 if (!locManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in doGpsUpdate()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DAtomTests.java235 if (!locManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in testGpsScan()