Searched refs:featureName (Results 1 – 7 of 7) sorted by relevance
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | FeatureDeviceInfo.java | 67 for (String featureName : sdkFeatures) { in collectDeviceInfo() 68 boolean hasFeature = packageManager.hasSystemFeature(featureName); in collectDeviceInfo() 69 addFeature(store, featureName, "sdk", hasFeature); in collectDeviceInfo()
|
/cts/hostsidetests/harmfulappwarning/src/android/harmfulappwarning/cts/ |
D | HarmfulAppWarningTest.java | 164 protected boolean hasFeature(String featureName) throws DeviceNotAvailableException { in hasFeature() argument 165 return getDevice().executeShellCommand("pm list features").contains(featureName); in hasFeature()
|
/cts/tests/app/src/android/app/cts/ |
D | SystemFeaturesTest.java | 116 for (String featureName : notOfficialFeatures) { in testFeatureNamespaces() 117 if (featureName != null) { in testFeatureNamespaces() 119 featureName.equals("android.software.preview_sdk")) { in testFeatureNamespaces() 123 assertFalse("Use a different namespace than 'android' for " + featureName, in testFeatureNamespaces() 124 featureName.startsWith("android")); in testFeatureNamespaces()
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
D | DeviceInfoInstrument.java | 272 for (String featureName : getPackageManagerFeatures()) { in getFeatures() 273 checkedFeatures.add(featureName); in getFeatures() 274 boolean hasFeature = packageManager.hasSystemFeature(featureName); in getFeatures() 275 addFeature(features, featureName, "sdk", hasFeature); in getFeatures()
|
/cts/tests/tests/location/src/android/location/cts/ |
D | AddressTest.java | 104 String featureName = "Golden Gate Bridge"; in testAccessFeatureName() local 105 address.setFeatureName(featureName); in testAccessFeatureName() 106 assertEquals(featureName, address.getFeatureName()); in testAccessFeatureName()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | BatteryStatsValidationTest.java | 653 private boolean hasFeature(String featureName, boolean requiredAnswer) throws Exception { in hasFeature() argument 655 boolean hasIt = features.contains(featureName); in hasFeature() 658 + featureName); in hasFeature()
|
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/ |
D | AtomTestCase.java | 932 protected boolean hasFeature(String featureName, boolean requiredAnswer) throws Exception { in hasFeature() argument 934 boolean hasIt = features.contains(featureName); in hasFeature() 937 + featureName); in hasFeature()
|