/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/common/device-side/util/src/com/android/compatibility/common/util/ |
D | RequiredFeatureRule.java | 35 public RequiredFeatureRule(String feature) { in RequiredFeatureRule() argument 36 mFeature = feature; in RequiredFeatureRule() 37 mHasFeature = hasFeature(feature); in RequiredFeatureRule() 57 public static boolean hasFeature(String feature) { 58 return InstrumentationRegistry.getContext().getPackageManager().hasSystemFeature(feature);
|
D | FeatureUtil.java | 43 public static boolean hasSystemFeature(String feature) { in hasSystemFeature() argument 44 return getPackageManager().hasSystemFeature(feature); in hasSystemFeature() 50 for (String feature : features) { in hasAnySystemFeature() 51 if (pm.hasSystemFeature(feature)) { in hasAnySystemFeature() 61 for (String feature : features) { in hasAllSystemFeatures() 62 if (!pm.hasSystemFeature(feature)) { in hasAllSystemFeatures()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | FeatureUtil.java | 44 public static boolean hasSystemFeature(String feature) { in hasSystemFeature() argument 45 return getPackageManager().hasSystemFeature(feature); in hasSystemFeature() 51 for (String feature : features) { in hasAnySystemFeature() 52 if (pm.hasSystemFeature(feature)) { in hasAnySystemFeature() 62 for (String feature : features) { in hasAllSystemFeatures() 63 if (!pm.hasSystemFeature(feature)) { in hasAllSystemFeatures()
|
D | RequiredFeatureRule.java | 42 public RequiredFeatureRule(String feature) { in RequiredFeatureRule() argument 43 mFeature = feature; in RequiredFeatureRule() 44 mHasFeature = hasFeature(feature); in RequiredFeatureRule() 71 public static boolean hasFeature(String feature) { 72 return InstrumentationRegistry.getContext().getPackageManager().hasSystemFeature(feature);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | VulkanFeaturesTest.java | 85 for (FeatureInfo feature : features) { in setup() 86 if (PackageManager.FEATURE_VULKAN_HARDWARE_LEVEL.equals(feature.name)) { in setup() 87 mVulkanHardwareLevel = feature; in setup() 89 Log.d(TAG, feature.name + "=" + feature.version); in setup() 91 } else if (PackageManager.FEATURE_VULKAN_HARDWARE_VERSION.equals(feature.name)) { in setup() 92 mVulkanHardwareVersion = feature; in setup() 94 Log.d(TAG, feature.name + "=0x" + Integer.toHexString(feature.version)); in setup() 96 } else if (PackageManager.FEATURE_VULKAN_HARDWARE_COMPUTE.equals(feature.name)) { in setup() 97 mVulkanHardwareCompute = feature; in setup() 99 Log.d(TAG, feature.name + "=" + feature.version); in setup()
|
/cts/tests/app/src/android/app/cts/ |
D | SystemFeaturesTest.java | 92 for (FeatureInfo feature : mPackageManager.getSystemAvailableFeatures()) { in setUp() 93 mAvailableFeatures.add(feature.name); in setUp() 441 String feature = (String) field.get(null); in getFeatureConstantsNames() local 442 features.add(feature); in getFeatureConstantsNames() 621 private void assertAvailable(String feature) { in assertAvailable() argument 622 assertTrue("PackageManager#hasSystemFeature should return true for " + feature, in assertAvailable() 623 mPackageManager.hasSystemFeature(feature)); in assertAvailable() 624 assertTrue("PackageManager#getSystemAvailableFeatures should have " + feature, in assertAvailable() 625 mAvailableFeatures.contains(feature)); in assertAvailable() 628 private void assertNotAvailable(String feature) { in assertNotAvailable() argument [all …]
|
/cts/hostsidetests/tv/src/com/android/cts/tv/ |
D | TvInputManagerHostTest.java | 139 for (String feature: commandOutput.split("\\s+")) { in hasDeviceFeature() 141 String[] tokens = feature.split(":"); in hasDeviceFeature() 142 assertTrue("\"" + feature + "\" expected to have format feature:{FEATURE_VALUE}", in hasDeviceFeature() 144 assertEquals(feature, "feature", tokens[0]); in hasDeviceFeature()
|
/cts/tools/release-parser/tests/resources/ |
D | android.hardware.vulkan.version.xml.pb.txt | 6 key: "feature" 8 name: "feature"
|
/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/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() 377 for (String feature : actualFeatures.keySet()) { in onCreate() 378 if (feature == null || "".equals(feature)) in onCreate() 382 row.put("feature", feature); in onCreate() 383 if (feature.startsWith("android")) { // intentionally not "android." in onCreate()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/ |
D | RequiredFeatureRule.java | 36 public RequiredFeatureRule(BaseHostJUnit4Test test, String feature) { in RequiredFeatureRule() argument 38 mFeature = feature; in RequiredFeatureRule()
|
/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 | StartAddAccountSessionTx.java | 46 for (String feature : requiredFeatures) { in StartAddAccountSessionTx() 47 this.requiredFeatures.add(feature); in StartAddAccountSessionTx()
|
D | AddAccountTx.java | 49 for (String feature : requiredFeatures) { in AddAccountTx() 50 this.requiredFeatures.add(feature); in AddAccountTx()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | TestMmTelFeature.java | 19 import android.telephony.ims.feature.CapabilityChangeRequest; 20 import android.telephony.ims.feature.MmTelFeature;
|
D | TestImsService.java | 25 import android.telephony.ims.feature.MmTelFeature; 26 import android.telephony.ims.feature.RcsFeature;
|
/cts/hostsidetests/media/src/android/media/cts/ |
D | BaseMultiUserTest.java | 358 for (String feature : commandOutput.split("\\s+")) { in hasDeviceFeature() 360 String[] tokens = feature.split(":"); in hasDeviceFeature() 362 "\"" + feature + "\" expected to have format feature:{FEATURE_VALUE}", in hasDeviceFeature() 364 assertEquals(feature, "feature", tokens[0]); in hasDeviceFeature()
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | utils.cpp | 58 bool deviceSupportsFeature(const char* feature) { in deviceSupportsFeature() argument 65 if (strstr(line, feature)) { in deviceSupportsFeature() 76 feature, hasFeature ? "" : "not "); in deviceSupportsFeature()
|
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/feature_c/ |
D | Android.bp | 34 // Use the same package ID as feature A, since this is an isolated split 35 // and will not be loaded together with feature A.
|
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/feature_a/ |
D | Android.bp | 34 // Although feature splits use unique resource package names, they must all 38 // Assign a unique package ID to this feature split. Since these are
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | FeatureDeviceInfo.java | 88 String feature = (String) field.get(null); in getPackageManagerFeatures() local 89 features.add(feature); in getPackageManagerFeatures()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | ManifestTestListAdapter.java | 309 for (String feature : features) { in hasAnyFeature() 310 if (packageManager.hasSystemFeature(feature)) { in hasAnyFeature() 321 for (String feature : features) { in hasAllFeatures() 322 if (!packageManager.hasSystemFeature(feature)) { in hasAllFeatures()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCodecPlayerTestBase.java | 156 for (String feature: features) { in isResolutionSupported() 157 format.setFeatureEnabled(feature, true); in isResolutionSupported()
|
/cts/hostsidetests/appsecurity/test-apps/NoRestartApp/feature/src/com/android/cts/norestart/feature/ |
D | NoRestartFeatureActivity.java | 17 package com.android.cts.norestart.feature;
|