/cts/tests/tests/media/src/android/media/cts/ |
D | RouteDiscoveryPreferenceTest.java | 66 final List<String> features = new ArrayList<>(); in testGetters() local 67 features.add(TEST_FEATURE_1); in testGetters() 68 features.add(TEST_FEATURE_2); in testGetters() 71 new RouteDiscoveryPreference.Builder(features, true /* isActiveScan */).build(); in testGetters() 72 assertEquals(features, preference.getPreferredFeatures()); in testGetters() 79 final List<String> features = new ArrayList<>(); in testBuilderSetPreferredFeatures() local 80 features.add(TEST_FEATURE_1); in testBuilderSetPreferredFeatures() 81 features.add(TEST_FEATURE_2); in testBuilderSetPreferredFeatures() 84 new RouteDiscoveryPreference.Builder(features, true /* isActiveScan */).build(); in testBuilderSetPreferredFeatures() 100 final List<String> features = new ArrayList<>(); in testBuilderSetActiveScan() local [all …]
|
D | MediaRoute2ProviderServiceTest.java | 99 List<String> features = new ArrayList<>(); in setUp() local 100 features.add("A test feature"); in setUp() 102 new RouteDiscoveryPreference.Builder(features, false).build(); in setUp() 172 final List<String> features = Collections.singletonList("customFeature"); in testNotifyRoutesInvokesMediaRouter2RouteCallback() local 176 .addFeatures(features) in testNotifyRoutesInvokesMediaRouter2RouteCallback() 179 .addFeatures(features) in testNotifyRoutesInvokesMediaRouter2RouteCallback() 189 if (!features.equals(routes.get(0).getFeatures())) { in testNotifyRoutesInvokesMediaRouter2RouteCallback() 207 assertEquals(features, route0.getFeatures()); in testNotifyRoutesInvokesMediaRouter2RouteCallback() 212 assertEquals(features, route1.getFeatures()); in testNotifyRoutesInvokesMediaRouter2RouteCallback() 219 if (!features.equals(routes.get(0).getFeatures())) { in testNotifyRoutesInvokesMediaRouter2RouteCallback() [all …]
|
D | MediaCodecPlayerTestBase.java | 153 protected boolean isResolutionSupported(String mime, String[] features, in isResolutionSupported() argument 156 for (String feature: features) { in isResolutionSupported()
|
/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/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/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/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/hostsidetests/car/src/android/car/cts/ |
D | OptionalFeatureHostTest.java | 73 List<String> features = findFeatureListFromCarServiceDump("mDisabledFeaturesFromVhal"); in testNoDisabledFeaturesFromVHAL() local 74 assertThat(features).isEmpty(); in testNoDisabledFeaturesFromVHAL() 85 List<String> features = findFeatureListFromCarServiceDump("mAvailableExperimentalFeatures"); in testNoExperimentalFeatures() local 86 assertThat(features).isEmpty(); in testNoExperimentalFeatures() 162 String[] features = m.group(1).split(", "); in findFeatureListFromCarServiceDump() local 163 ArrayList<String> featureList = new ArrayList<>(features.length); in findFeatureListFromCarServiceDump() 164 for (String feature : features) { in findFeatureListFromCarServiceDump()
|
/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() 283 JSONObject features = device.getJSONObject("features"); in determineHardwareLevel() local 284 boolean textureCompressionETC2 = features.getInt("textureCompressionETC2") != 0; in determineHardwareLevel() 285 boolean fullDrawIndexUint32 = features.getInt("fullDrawIndexUint32") != 0; in determineHardwareLevel() 286 boolean imageCubeArray = features.getInt("imageCubeArray") != 0; in determineHardwareLevel() 287 boolean independentBlend = features.getInt("independentBlend") != 0; in determineHardwareLevel() 288 boolean geometryShader = features.getInt("geometryShader") != 0; in determineHardwareLevel() 289 boolean tessellationShader = features.getInt("tessellationShader") != 0; in determineHardwareLevel() [all …]
|
D | VulkanDeqpLevelTest.java | 60 FeatureInfo[] features = mPm.getSystemAvailableFeatures(); in setup() local 61 if (features != null) { in setup() 62 for (FeatureInfo feature : features) { in setup()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | FeatureUtil.java | 51 public static boolean hasAnySystemFeature(String... features) { in hasAnySystemFeature() argument 53 for (String feature : features) { in hasAnySystemFeature() 62 public static boolean hasAllSystemFeatures(String... features) { in hasAllSystemFeatures() argument 64 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/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/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/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/tests/video/src/android/video/cts/ |
D | CodecPerformanceTestBase.java | 145 String[] features, boolean isEncoder) { in selectCodecs() argument 146 return selectCodecs(mime, formats, features, isEncoder, SELECT_ALL); in selectCodecs() 150 String[] features, boolean isEncoder) { in selectHardwareCodecs() argument 151 return selectCodecs(mime, formats, features, isEncoder, SELECT_HARDWARE); in selectHardwareCodecs() 155 String[] features, boolean isEncoder, int selectCodecOption) { in selectCodecs() argument 180 if (features != null) { in selectCodecs() 181 for (String feature : features) { in selectCodecs()
|
/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/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/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/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | ManifestTestListAdapter.java | 401 private boolean hasAnyFeature(String[] features) { in hasAnyFeature() argument 402 if (features != null) { in hasAnyFeature() 404 for (String feature : features) { in hasAnyFeature() 409 Log.v(LOG_TAG, "Missing features " + Arrays.toString(features)); in hasAnyFeature() 414 private boolean hasAllFeatures(String[] features) { in hasAllFeatures() argument 415 if (features != null) { in hasAllFeatures() 417 for (String feature : features) { in hasAllFeatures()
|
/cts/hostsidetests/graphics/gpuprofiling/src/android/graphics/gpuprofiling/cts/ |
D | CtsFrameTracerDataSourceTest.java | 51 private void bypassTestForFeatures(String... features) throws Exception { in bypassTestForFeatures() argument 52 for (String feature : features) { in bypassTestForFeatures()
|
/cts/tests/tests/media/libmediandkjni/ |
D | Android.bp | 41 // (revisit if/when we add features to this library that require newer sdk. 78 // (revisit if/when we add features to this library that require newer sdk. 111 // (revisit if/when we add features to this library that require newer sdk.
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/ |
D | AdbPackageParser26.java | 66 Set<String> features = new HashSet<>(); in parseFeatures() local 68 features.add(featureLine.trim()); in parseFeatures() 70 return features; in parseFeatures()
|