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/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/util/ |
D | Utils.java | 44 public static boolean hasFeature(String featureName) { in hasFeature() argument 45 return executeShellCommand("pm list features").contains(featureName); in hasFeature()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | BatteryStatsValidationTest.java | 414 private boolean hasFeature(String featureName, boolean requiredAnswer) throws Exception { in hasFeature() argument 416 boolean hasIt = features.contains(featureName); in hasFeature() 419 + featureName); in hasFeature()
|
/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/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/tests/location/location_none/src/android/location/cts/none/ |
D | AddressTest.java | 109 String featureName = "Golden Gate Bridge"; in testAccessFeatureName() local 110 address.setFeatureName(featureName); in testAccessFeatureName() 111 assertEquals(featureName, address.getFeatureName()); in testAccessFeatureName()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/ |
D | AtomTestCase.java | 928 protected boolean hasFeature(String featureName, boolean requiredAnswer) throws Exception { in hasFeature() argument 934 if (("feature:" + featureName).equals(featureToken.nextToken())) { in hasFeature() 942 + featureName); in hasFeature()
|