Home
last modified time | relevance | path

Searched refs:FEATURE_LOCATION_GPS (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/location/src/android/location/cts/
DTestUtils.java76 if (context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_LOCATION_GPS)) { in deviceHasGpsFeature()
DLocationManagerTest.java192 PackageManager.FEATURE_LOCATION_GPS); in hasGpsFeature()
/cts/hostsidetests/incident/src/com/android/server/cts/
DBatteryStatsValidationTest.java46 public static final String FEATURE_LOCATION_GPS = "android.hardware.location.gps"; field in BatteryStatsValidationTest
349 if (noBattery() || !hasFeature(FEATURE_LOCATION_GPS, true)) { in testGpsUpdates()
/cts/tests/app/src/android/app/cts/
DSystemFeaturesTest.java307 assertAvailable(PackageManager.FEATURE_LOCATION_GPS); in testLocationFeatures()
309 assertNotAvailable(PackageManager.FEATURE_LOCATION_GPS); in testLocationFeatures()
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySaverLocationTest.java84 new RequiredFeatureRule(PackageManager.FEATURE_LOCATION_GPS);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodFlowTestActivity.java620 if (getPackageManager().hasSystemFeature(PackageManager.FEATURE_LOCATION_GPS)) { in setupTests()
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
DAtomTestCase.java100 public static final String FEATURE_LOCATION_GPS = "android.hardware.location.gps"; field in AtomTestCase
DUidAtomTests.java546 if (!hasFeature(FEATURE_LOCATION_GPS, true)) return; in testGpsScan()