/cts/tests/tests/os/src/android/os/cts/ |
D | CpuFeaturesTest.java | 89 String feature) { in assertInCpuinfo() argument 90 …assertTrue("/proc/cpuinfo does not advertise required feature " + feature + " to 32-bit ARM proces… in assertInCpuinfo() 91 features.contains(feature)); in assertInCpuinfo() 95 String feature) { in assertNotInCpuinfo() argument 96 … assertFalse("/proc/cpuinfo advertises required feature " + feature + " to 64-bit ARM processes", in assertNotInCpuinfo() 97 features.contains(feature)); in assertNotInCpuinfo() 132 for (String feature : armv8RequiredFeatures) { in testArmCpuinfo() 133 assertInCpuinfo(features, feature); in testArmCpuinfo() 153 for (String feature : armv8RequiredFeatures) { in testArm64Cpuinfo() 154 assertNotInCpuinfo(features, feature); in testArm64Cpuinfo()
|
/cts/tests/tests/app/src/android/app/cts/ |
D | SystemFeaturesTest.java | 75 for (FeatureInfo feature : mPackageManager.getSystemAvailableFeatures()) { in setUp() 76 mAvailableFeatures.add(feature.name); in setUp() 358 String feature = (String) field.get(null); in getFeatureConstantsNames() local 359 features.add(feature); in getFeatureConstantsNames() 482 private void assertAvailable(String feature) { in assertAvailable() argument 483 assertTrue("PackageManager#hasSystemFeature should return true for " + feature, in assertAvailable() 484 mPackageManager.hasSystemFeature(feature)); in assertAvailable() 485 assertTrue("PackageManager#getSystemAvailableFeatures should have " + feature, in assertAvailable() 486 mAvailableFeatures.contains(feature)); in assertAvailable() 489 private void assertNotAvailable(String feature) { in assertNotAvailable() argument [all …]
|
/cts/tests/tests/tv/src/android/tv/settings/cts/ |
D | Utils.java | 25 public static boolean hasFeature(Context context, String feature) { in hasFeature() argument 26 return context.getPackageManager().hasSystemFeature(feature); in hasFeature()
|
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/tx/ |
D | HasFeaturesTx.java | 43 for (String feature : features) { in HasFeaturesTx() 44 this.features.add(feature); in HasFeaturesTx()
|
D | AddAccountTx.java | 49 for (String feature : requiredFeatures) { in AddAccountTx() 50 this.requiredFeatures.add(feature); in AddAccountTx()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/features/ |
D | FeatureSummaryActivity.java | 87 Feature feature = (Feature) o; in equals() local 88 return name.equals(feature.name); in equals() 336 for (String feature : actualFeatures.keySet()) { in onCreate() 337 if (feature == null || "".equals(feature)) in onCreate() 341 row.put("feature", feature); in onCreate() 342 if (feature.startsWith("android")) { // intentionally not "android." in onCreate()
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/feature/ |
D | Android.mk | 36 LOCAL_AAPT_FLAGS += --feature-of $(featureOfApk)
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | ManifestTestListAdapter.java | 286 for (String feature : features) { in hasAnyFeature() 287 if (packageManager.hasSystemFeature(feature)) { in hasAnyFeature() 298 for (String feature : features) { in hasAllFeatures() 299 if (!packageManager.hasSystemFeature(feature)) { in hasAllFeatures()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 185 private void assertStartUsingNetworkFeatureUnsupported(int networkType, String feature) { in assertStartUsingNetworkFeatureUnsupported() argument 187 mCm.startUsingNetworkFeature(networkType, feature); in assertStartUsingNetworkFeatureUnsupported() 192 private void assertStopUsingNetworkFeatureUnsupported(int networkType, String feature) { in assertStopUsingNetworkFeatureUnsupported() argument 194 mCm.startUsingNetworkFeature(networkType, feature); in assertStopUsingNetworkFeatureUnsupported()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDevicePolicyTest.java | 271 for (String feature: commandOutput.split("\\s+")) { in hasDeviceFeature() 273 String[] tokens = feature.split(":"); in hasDeviceFeature() 274 assertTrue("\"" + feature + "\" expected to have format feature:{FEATURE_VALUE}", in hasDeviceFeature() 276 assertEquals(feature, "feature", tokens[0]); in hasDeviceFeature()
|
/cts/tests/tests/accounts/src/android/accounts/cts/ |
D | MockAccountAuthenticator.java | 266 for (String feature: features) { in hasFeatures() 267 if (!mockFeatureList.contains(feature)) { in hasFeatures()
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/ |
D | Android.mk | 112 include $(LOCAL_PATH)/libs/Android.mk $(LOCAL_PATH)/feature/Android.mk
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
D | DeviceInfoInstrument.java | 293 String feature = (String) field.get(null); in getPackageManagerFeatures() local 294 features.add(feature); in getPackageManagerFeatures()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
D | DeqpTestRunner.java | 1711 for (String feature: commandOutput.split("\\s+")) { in queryDeviceFeatures() 1713 String[] tokens = feature.split(":"); in queryDeviceFeatures()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | DecoderTest.java | 1939 private boolean isVideoFeatureSupported(String mimeType, String feature) { in isVideoFeatureSupported() argument 1941 format.setFeatureEnabled(feature, true); in isVideoFeatureSupported()
|