/cts/tests/tests/os/src/android/os/cts/ |
D | CpuFeaturesTest.java | 77 String features = getFieldFromCpuinfo("Features"); in getFeaturesFromCpuinfo() local 78 if (features == null) in getFeaturesFromCpuinfo() 81 return Arrays.asList(features.split("\\s")); in getFeaturesFromCpuinfo() 88 private static void assertInCpuinfo(List<String> features, in assertInCpuinfo() argument 91 features.contains(feature)); in assertInCpuinfo() 94 private static void assertNotInCpuinfo(List<String> features, in assertNotInCpuinfo() argument 97 features.contains(feature)); in assertNotInCpuinfo() 123 List<String> features = getFeaturesFromCpuinfo(); in testArmCpuinfo() local 129 features); in testArmCpuinfo() 133 assertInCpuinfo(features, feature); in testArmCpuinfo() [all …]
|
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/ |
D | VulkanDeviceInfo.java | 527 JSONObject features = device.getJSONObject(KEY_FEATURES); in emitDevices() local 530 emitBoolean(store, features, KEY_ROBUST_BUFFER_ACCESS); in emitDevices() 531 emitBoolean(store, features, KEY_FULL_DRAW_INDEX_UINT32); in emitDevices() 532 emitBoolean(store, features, KEY_IMAGE_CUBE_ARRAY); in emitDevices() 533 emitBoolean(store, features, KEY_INDEPENDENT_BLEND); in emitDevices() 534 emitBoolean(store, features, KEY_GEOMETRY_SHADER); in emitDevices() 535 emitBoolean(store, features, KEY_TESSELLATION_SHADER); in emitDevices() 536 emitBoolean(store, features, KEY_SAMPLE_RATE_SHADING); in emitDevices() 537 emitBoolean(store, features, KEY_DUAL_SRC_BLEND); in emitDevices() 538 emitBoolean(store, features, KEY_LOGIC_OP); in emitDevices() [all …]
|
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/tx/ |
D | HasFeaturesTx.java | 28 public final List<String> features = new ArrayList<>(); field in HasFeaturesTx 33 in.readStringList(features); in HasFeaturesTx() 39 String[] features, in HasFeaturesTx() argument 42 if (features != null) { in HasFeaturesTx() 43 for (String feature : features) { in HasFeaturesTx() 44 this.features.add(feature); in HasFeaturesTx() 58 out.writeStringList(features); in writeToParcel()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | VulkanFeaturesTest.java | 83 FeatureInfo features[] = mPm.getSystemAvailableFeatures(); in setup() local 84 if (features != null) { in setup() 85 for (FeatureInfo feature : features) { in setup() 262 JSONObject features = device.getJSONObject("features"); in determineHardwareLevel() local 263 boolean textureCompressionETC2 = features.getInt("textureCompressionETC2") != 0; in determineHardwareLevel() 264 boolean fullDrawIndexUint32 = features.getInt("fullDrawIndexUint32") != 0; in determineHardwareLevel() 265 boolean imageCubeArray = features.getInt("imageCubeArray") != 0; in determineHardwareLevel() 266 boolean independentBlend = features.getInt("independentBlend") != 0; in determineHardwareLevel() 267 boolean geometryShader = features.getInt("geometryShader") != 0; in determineHardwareLevel() 268 boolean tessellationShader = features.getInt("tessellationShader") != 0; in determineHardwareLevel() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/features/ |
D | FeatureSummaryActivity.java | 25 package com.android.cts.verifier.features; 295 Set<Feature> features = new LinkedHashSet<Feature>(); in onCreate() local 300 Collections.addAll(features, ALL_O_FEATURES); in onCreate() 303 Collections.addAll(features, ALL_NYC_FEATURES); in onCreate() 306 Collections.addAll(features, ALL_MNC_FEATURES); in onCreate() 309 Collections.addAll(features, ALL_LOLLIPOP_FEATURES); in onCreate() 312 Collections.addAll(features, ALL_KITKAT_WATCH_FEATURES); in onCreate() 315 Collections.addAll(features, ALL_KITKAT_FEATURES); in onCreate() 318 Collections.addAll(features, ALL_JELLY_BEAN_MR2_FEATURES); in onCreate() 321 Collections.addAll(features, ALL_JELLY_BEAN_FEATURES); in onCreate() [all …]
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
D | DeviceInfoInstrument.java | 141 String features = getFeatures(); in onStart() local 142 addResult(FEATURES, features); in onStart() 266 StringBuilder features = new StringBuilder(); in getFeatures() local 275 addFeature(features, featureName, "sdk", hasFeature); in getFeatures() 282 addFeature(features, featureInfo.name, "other", true); in getFeatures() 290 return features.toString(); in getFeatures() 293 private static void addFeature(StringBuilder features, String name, String type, in addFeature() argument 295 features.append(name).append(':').append(type).append(':').append(available).append(';'); in addFeature() 307 List<String> features = new ArrayList<String>(); in getPackageManagerFeatures() local 312 features.add(feature); in getPackageManagerFeatures() [all …]
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | FeatureUtil.java | 48 public static boolean hasAnySystemFeature(String... features) { in hasAnySystemFeature() argument 50 for (String feature : features) { in hasAnySystemFeature() 59 public static boolean hasAllSystemFeatures(String... features) { in hasAllSystemFeatures() argument 61 for (String feature : features) { in hasAllSystemFeatures()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | FeatureUtil.java | 49 public static boolean hasAnySystemFeature(String... features) { in hasAnySystemFeature() argument 51 for (String feature : features) { in hasAnySystemFeature() 60 public static boolean hasAllSystemFeatures(String... features) { in hasAllSystemFeatures() argument 62 for (String feature : features) { in hasAllSystemFeatures()
|
/cts/hostsidetests/devicepolicy/app/AccountCheck/Tester/src/com/android/cts/devicepolicy/accountcheck/tester/ |
D | TestAuthenticator.java | 55 final String[] features = intent.getStringArrayExtra("features"); in onStartCommand() local 56 createAccount(this, ACCOUNT_TYPE, features); in onStartCommand() 126 String[] features) throws NetworkErrorException { in hasFeatures() argument 133 for (String requested : features) { in hasFeatures() 141 + Arrays.asList(features) + " result=" + hasAll); in hasFeatures()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | FeatureGroupInfoTest.java | 119 group.features = featureInfos; in createFeatureGroup() 125 if (g.features != null) { in sortFeatureInfos() 126 Arrays.sort(g.features, sFeatureInfoComparator); in sortFeatureInfos() 152 return compareFeatureInfoArrays(o1.features, o2.features);
|
/cts/hostsidetests/devicepolicy/app/AccountCheck/Auth/src/com/android/cts/devicepolicy/accountcheck/ |
D | AccountCheckTest.java | 57 private void addAccount(String... features) throws Exception { in addAccount() argument 61 features, in addAccount() 163 private boolean hasAccountFeatures(AccountManager am, Account account, String[] features) { in hasAccountFeatures() argument 165 return am.hasFeatures(account, features, null, null).getResult(); in hasAccountFeatures()
|
D | TestAuthenticator.java | 116 String[] features) throws NetworkErrorException { in hasFeatures() argument 123 for (String requested : features) { in hasFeatures()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | ActivityManagerGetConfigTests.java | 332 FeatureInfo[] features = mPm.getSystemAvailableFeatures(); in checkDeviceConfig() local 333 Arrays.sort(features, (o1, o2) -> { in checkDeviceConfig() 341 for (int i = 0; i < features.length; i++) { in checkDeviceConfig() 342 if (features[i].name != null) { in checkDeviceConfig() 347 for (int i = 0, j = 0; i < features.length; i++) { in checkDeviceConfig() 348 if (features[i].name != null) { in checkDeviceConfig() 349 featureNames[j] = features[i].name; in checkDeviceConfig() 354 featureNames, deviceConfig.features); in checkDeviceConfig()
|
/cts/hostsidetests/systemui/src/android/host/systemui/ |
D | BaseTileServiceTest.java | 138 String features = getDevice().executeShellCommand("pm list features"); in supportedHardware() local 139 return !features.contains("android.hardware.type.television") && in supportedHardware() 140 !features.contains("android.hardware.type.watch"); in supportedHardware()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | FeatureDeviceInfo.java | 84 List<String> features = new ArrayList<String>(); in getPackageManagerFeatures() local 89 features.add(feature); in getPackageManagerFeatures() 92 return features; in getPackageManagerFeatures()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | ManifestTestListAdapter.java | 306 private boolean hasAnyFeature(String[] features) { in hasAnyFeature() argument 307 if (features != null) { in hasAnyFeature() 309 for (String feature : features) { in hasAnyFeature() 318 private boolean hasAllFeatures(String[] features) { in hasAllFeatures() argument 319 if (features != null) { in hasAllFeatures() 321 for (String feature : features) { in hasAllFeatures()
|
/cts/hostsidetests/devicepolicy/app/AccountCheck/Tester/ |
D | README.txt | 17 --esa features android.account.DEVICE_OR_PROFILE_OWNER_ALLOWED \ 22 --esa features android.account.DEVICE_OR_PROFILE_OWNER_DISALLOWED \
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCodecPlayerTestBase.java | 153 private boolean isResolutionSupported(String mime, String[] features, in isResolutionSupported() argument 156 for (String feature: features) { in isResolutionSupported()
|
/cts/tools/release-parser/tests/resources/ |
D | build.prop | 53 dalvik.vm.isa.arm64.features=default 55 dalvik.vm.isa.arm.features=default
|
D | build.prop.pb.txt | 6 key: "dalvik.vm.isa.arm64.features" 118 key: "dalvik.vm.isa.arm.features"
|
/cts/tests/tests/accounts/src/android/accounts/cts/ |
D | MockAccountAuthenticator.java | 268 String[] features) throws NetworkErrorException { in hasFeatures() argument 272 this.mFeatures = features; in hasFeatures() 275 if (null == features) { in hasFeatures() 280 for (String feature: features) { in hasFeatures()
|
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/ |
D | TestAccountAuthenticator.java | 265 String[] features) throws NetworkErrorException { in hasFeatures() argument 271 new HasFeaturesTx(account, features, result)); in hasFeatures() 273 Arrays.asList(features).contains(Fixtures.KEY_CALLBACK_REQUIRED); in hasFeatures()
|
/cts/hostsidetests/backup/SyncAdapterSettingsApp/src/android/cts/backup/syncadaptersettingsapp/ |
D | SyncAdapterSettingsAuthenticator.java | 89 String[] features) throws NetworkErrorException { in hasFeatures() argument
|
/cts/tests/tests/content/src/android/content/cts/ |
D | MockAccountAuthenticator.java | 89 String[] features) throws NetworkErrorException { in hasFeatures() argument
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/account/ |
D | StaticAccountAuthenticator.java | 94 String[] features) throws NetworkErrorException { in hasFeatures() argument
|