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.java238 assertTrue(mManager.isProviderEnabled(p)); in testGetProvidersWithCriteria()
248 assertTrue(mManager.isProviderEnabled(p)); in testGetProvidersWithCriteria()
856 assertTrue(mManager.isProviderEnabled(TEST_MOCK_PROVIDER_NAME)); in testIsProviderEnabled()
859 assertFalse(mManager.isProviderEnabled(TEST_MOCK_PROVIDER_NAME)); in testIsProviderEnabled()
862 assertTrue(mManager.isProviderEnabled(TEST_MOCK_PROVIDER_NAME)); in testIsProviderEnabled()
865 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.java209 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()