Home
last modified time | relevance | path

Searched refs:features (Results 1 – 25 of 32) sorted by relevance

12

/cts/tests/tests/os/src/android/os/cts/
DCpuFeaturesTest.java77 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/
DHasFeaturesTx.java28 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/
DVulkanDeviceInfo.java443 JSONObject features = device.getJSONObject(KEY_FEATURES); in emitDevices() local
446 emitBoolean(store, features, KEY_ROBUST_BUFFER_ACCESS); in emitDevices()
447 emitBoolean(store, features, KEY_FULL_DRAW_INDEX_UINT32); in emitDevices()
448 emitBoolean(store, features, KEY_IMAGE_CUBE_ARRAY); in emitDevices()
449 emitBoolean(store, features, KEY_INDEPENDENT_BLEND); in emitDevices()
450 emitBoolean(store, features, KEY_GEOMETRY_SHADER); in emitDevices()
451 emitBoolean(store, features, KEY_TESSELLATION_SHADER); in emitDevices()
452 emitBoolean(store, features, KEY_SAMPLE_RATE_SHADING); in emitDevices()
453 emitBoolean(store, features, KEY_DUAL_SRC_BLEND); in emitDevices()
454 emitBoolean(store, features, KEY_LOGIC_OP); in emitDevices()
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanFeaturesTest.java68 FeatureInfo features[] = mPm.getSystemAvailableFeatures(); in setup() local
69 if (features != null) { in setup()
70 for (FeatureInfo feature : features) { in setup()
191 JSONObject features = device.getJSONObject("features"); in determineHardwareLevel() local
192 boolean textureCompressionETC2 = features.getInt("textureCompressionETC2") != 0; in determineHardwareLevel()
193 boolean fullDrawIndexUint32 = features.getInt("fullDrawIndexUint32") != 0; in determineHardwareLevel()
194 boolean imageCubeArray = features.getInt("imageCubeArray") != 0; in determineHardwareLevel()
195 boolean independentBlend = features.getInt("independentBlend") != 0; in determineHardwareLevel()
196 boolean geometryShader = features.getInt("geometryShader") != 0; in determineHardwareLevel()
197 boolean tessellationShader = features.getInt("tessellationShader") != 0; in determineHardwareLevel()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/features/
DFeatureSummaryActivity.java25 package com.android.cts.verifier.features;
294 Set<Feature> features = new LinkedHashSet<Feature>(); in onCreate() local
299 Collections.addAll(features, ALL_O_FEATURES); in onCreate()
302 Collections.addAll(features, ALL_NYC_FEATURES); in onCreate()
305 Collections.addAll(features, ALL_MNC_FEATURES); in onCreate()
308 Collections.addAll(features, ALL_LOLLIPOP_FEATURES); in onCreate()
311 Collections.addAll(features, ALL_KITKAT_WATCH_FEATURES); in onCreate()
314 Collections.addAll(features, ALL_KITKAT_FEATURES); in onCreate()
317 Collections.addAll(features, ALL_JELLY_BEAN_MR2_FEATURES); in onCreate()
320 Collections.addAll(features, ALL_JELLY_BEAN_FEATURES); in onCreate()
[all …]
/cts/hostsidetests/devicepolicy/app/AccountCheck/Tester/src/com/android/cts/devicepolicy/accountcheck/tester/
DTestAuthenticator.java55 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/
DFeatureGroupInfoTest.java117 group.features = featureInfos; in createFeatureGroup()
123 if (g.features != null) { in sortFeatureInfos()
124 Arrays.sort(g.features, sFeatureInfoComparator); in sortFeatureInfos()
150 return compareFeatureInfoArrays(o1.features, o2.features);
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java138 String features = getFeatures(); in onStart() local
139 addResult(FEATURES, features); in onStart()
263 StringBuilder features = new StringBuilder(); in getFeatures() local
272 addFeature(features, featureName, "sdk", hasFeature); in getFeatures()
279 addFeature(features, featureInfo.name, "other", true); in getFeatures()
287 return features.toString(); in getFeatures()
290 private static void addFeature(StringBuilder features, String name, String type, in addFeature() argument
292 features.append(name).append(':').append(type).append(':').append(available).append(';'); in addFeature()
304 List<String> features = new ArrayList<String>(); in getPackageManagerFeatures() local
309 features.add(feature); in getPackageManagerFeatures()
[all …]
/cts/hostsidetests/devicepolicy/app/AccountCheck/Auth/src/com/android/cts/devicepolicy/accountcheck/
DAccountCheckTest.java57 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()
DTestAuthenticator.java116 String[] features) throws NetworkErrorException { in hasFeatures() argument
123 for (String requested : features) { in hasFeatures()
/cts/hostsidetests/systemui/src/android/host/systemui/
DBaseTileServiceTest.java138 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/libcore/javautilcollections/src/libcore/java/util/tests/
DAndroidTestsForQueuesInJavaUtil.java25 import com.google.common.collect.testing.features.CollectionFeature;
26 import com.google.common.collect.testing.features.CollectionSize;
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DFeatureDeviceInfo.java84 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/
DManifestTestListAdapter.java284 private boolean hasAnyFeature(String[] features) { in hasAnyFeature() argument
285 if (features != null) { in hasAnyFeature()
287 for (String feature : features) { in hasAnyFeature()
296 private boolean hasAllFeatures(String[] features) { in hasAllFeatures() argument
297 if (features != null) { in hasAllFeatures()
299 for (String feature : features) { in hasAllFeatures()
/cts/hostsidetests/devicepolicy/app/AccountCheck/Tester/
DREADME.txt17 --esa features android.account.DEVICE_OR_PROFILE_OWNER_ALLOWED \
22 --esa features android.account.DEVICE_OR_PROFILE_OWNER_DISALLOWED \
/cts/tests/libcore/javautilcollections/libs/
Dguava-testlib-20.0.jar ... com/google/common/collect/testing/features/ com/google/common/collect/testing ...
/cts/tests/tests/accounts/src/android/accounts/cts/
DMockAccountAuthenticator.java268 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/content/src/android/content/cts/
DMockAccountAuthenticator.java89 String[] features) throws NetworkErrorException { in hasFeatures() argument
/cts/tests/tests/provider/src/android/provider/cts/contacts/account/
DStaticAccountAuthenticator.java94 String[] features) throws NetworkErrorException { in hasFeatures() argument
/cts/hostsidetests/devicepolicy/app/AccountManagement/src/com/android/cts/devicepolicy/accountmanagement/
DMockAccountAuthenticator.java89 String[] features) throws NetworkErrorException { in hasFeatures() argument
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/
DTestAccountAuthenticator.java265 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()
DTestDefaultAuthenticator.java123 String[] features) throws NetworkErrorException { in hasFeatures() argument
/cts/tests/app/src/android/app/cts/
DSystemFeaturesTest.java365 Set<String> features = new HashSet<String>(); in getFeatureConstantsNames() local
370 features.add(feature); in getFeatureConstantsNames()
373 return features; in getFeatureConstantsNames()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsAuthenticator.java132 String[] features) throws NetworkErrorException { in hasFeatures() argument
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DAccountAuthenticator.java110 String[] features) throws NetworkErrorException { in hasFeatures() argument

12