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.java88 public boolean isProviderEnabled() { in isProviderEnabled() method in TestLocationListener
DLocationManagerTest.java239 assertTrue(mManager.isProviderEnabled(p)); in testGetProvidersWithCriteria()
249 assertTrue(mManager.isProviderEnabled(p)); in testGetProvidersWithCriteria()
279 boolean lmGps = mManager.isProviderEnabled(LocationManager.GPS_PROVIDER); in testModeAndProviderApisConsistent()
280 boolean lmNlp = mManager.isProviderEnabled(LocationManager.NETWORK_PROVIDER); in testModeAndProviderApisConsistent()
930 assertTrue(mManager.isProviderEnabled(TEST_MOCK_PROVIDER_NAME)); in testIsProviderEnabled()
933 assertFalse(mManager.isProviderEnabled(TEST_MOCK_PROVIDER_NAME)); in testIsProviderEnabled()
936 assertTrue(mManager.isProviderEnabled(TEST_MOCK_PROVIDER_NAME)); in testIsProviderEnabled()
939 mManager.isProviderEnabled(null); in testIsProviderEnabled()
DTestMeasurementUtil.java103 .isProviderEnabled(LocationManager.GPS_PROVIDER); in canTestRunOnCurrentDevice()
/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.java209 if (!locManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in doGpsUpdate()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DAtomTests.java233 if (!locManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in testGpsScan()