Searched refs:FEATURE_LOCATION_GPS (Results 1 – 8 of 8) sorted by relevance
76 if (context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_LOCATION_GPS)) { in deviceHasGpsFeature()
195 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);
674 if (getPackageManager().hasSystemFeature(PackageManager.FEATURE_LOCATION_GPS)) { in setupTests()
101 public static final String FEATURE_LOCATION_GPS = "android.hardware.location.gps"; field in AtomTestCase
508 if (!hasFeature(FEATURE_LOCATION_GPS, true)) return; in testGpsScan()