Searched refs:featureName (Results 1 – 8 of 8) sorted by relevance
67 for (String featureName : sdkFeatures) { in collectDeviceInfo()68 boolean hasFeature = packageManager.hasSystemFeature(featureName); in collectDeviceInfo()69 addFeature(store, featureName, "sdk", hasFeature); in collectDeviceInfo()
44 public static boolean hasFeature(String featureName) { in hasFeature() argument45 return executeShellCommand("pm list features").contains(featureName); in hasFeature()
173 protected boolean hasFeature(String featureName) throws DeviceNotAvailableException { in hasFeature() argument174 return getDevice().executeShellCommand("pm list features").contains(featureName); in hasFeature()
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()
114 for (String featureName : notOfficialFeatures) { in testFeatureNamespaces()115 if (featureName != null) { in testFeatureNamespaces()117 featureName.equals("android.software.preview_sdk")) { in testFeatureNamespaces()121 assertFalse("Use a different namespace than 'android' for " + featureName, in testFeatureNamespaces()122 featureName.startsWith("android")); in testFeatureNamespaces()
109 String featureName = "Golden Gate Bridge"; in testAccessFeatureName() local110 address.setFeatureName(featureName); in testAccessFeatureName()111 assertEquals(featureName, address.getFeatureName()); in testAccessFeatureName()
1119 private boolean hasFeature(String featureName) throws DeviceNotAvailableException { in hasFeature() argument1120 return getDevice().executeShellCommand("pm list features").contains(featureName); in hasFeature()
281 private static boolean hasTelephonyFeature(String featureName) { in hasTelephonyFeature() argument283 if (!pm.hasSystemFeature(featureName)) { in hasTelephonyFeature()284 Log.d(TAG, "Skipping test that requires " + featureName); in hasTelephonyFeature()