Searched refs:FEATURE_LOCATION_GPS (Results 1 – 8 of 8) sorted by relevance
76 if (context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_LOCATION_GPS)) { in deviceHasGpsFeature()
192 PackageManager.FEATURE_LOCATION_GPS); in hasGpsFeature()
46 public static final String FEATURE_LOCATION_GPS = "android.hardware.location.gps"; field in BatteryStatsValidationTest349 if (noBattery() || !hasFeature(FEATURE_LOCATION_GPS, true)) { in testGpsUpdates()
307 assertAvailable(PackageManager.FEATURE_LOCATION_GPS); in testLocationFeatures()309 assertNotAvailable(PackageManager.FEATURE_LOCATION_GPS); in testLocationFeatures()
84 new RequiredFeatureRule(PackageManager.FEATURE_LOCATION_GPS);
620 if (getPackageManager().hasSystemFeature(PackageManager.FEATURE_LOCATION_GPS)) { in setupTests()
100 public static final String FEATURE_LOCATION_GPS = "android.hardware.location.gps"; field in AtomTestCase
546 if (!hasFeature(FEATURE_LOCATION_GPS, true)) return; in testGpsScan()