Home
last modified time | relevance | path

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

/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/apps/CtsVerifier/src/com/android/cts/verifier/features/
DFeatureSummaryActivity.java25 package com.android.cts.verifier.features;
265 Set<Feature> features = new LinkedHashSet<Feature>(); in onCreate() local
270 Collections.addAll(features, ALL_MNC_FEATURES); in onCreate()
273 Collections.addAll(features, ALL_LOLLIPOP_FEATURES); in onCreate()
276 Collections.addAll(features, ALL_KITKAT_WATCH_FEATURES); in onCreate()
279 Collections.addAll(features, ALL_KITKAT_FEATURES); in onCreate()
282 Collections.addAll(features, ALL_JELLY_BEAN_MR2_FEATURES); in onCreate()
285 Collections.addAll(features, ALL_JELLY_BEAN_FEATURES); in onCreate()
288 Collections.addAll(features, ALL_ICE_CREAM_SANDWICH_FEATURES); in onCreate()
291 Collections.addAll(features, ALL_HONEYCOMB_MR2_FEATURES); in onCreate()
[all …]
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java132 String features = getFeatures(); in onStart() local
133 addResult(FEATURES, features); in onStart()
248 StringBuilder features = new StringBuilder(); in getFeatures() local
257 addFeature(features, featureName, "sdk", hasFeature); in getFeatures()
264 addFeature(features, featureInfo.name, "other", true); in getFeatures()
272 return features.toString(); in getFeatures()
275 private static void addFeature(StringBuilder features, String name, String type, in addFeature() argument
277 features.append(name).append(':').append(type).append(':').append(available).append(';'); in addFeature()
289 List<String> features = new ArrayList<String>(); in getPackageManagerFeatures() local
294 features.add(feature); in getPackageManagerFeatures()
[all …]
/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/tests/tests/security/jni/
Dandroid_security_cts_EncryptionTest.cpp64 uint64_t features = android_getCpuFeatures(); in android_security_cts_EncryptionTest_cpuHasAes() local
67 rc = (features & ANDROID_CPU_ARM_FEATURE_AES) != 0; in android_security_cts_EncryptionTest_cpuHasAes()
69 rc = (features & ANDROID_CPU_ARM64_FEATURE_AES) != 0; in android_security_cts_EncryptionTest_cpuHasAes()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DManifestTestListAdapter.java283 private boolean hasAnyFeature(String[] features) { in hasAnyFeature() argument
284 if (features != null) { in hasAnyFeature()
286 for (String feature : features) { in hasAnyFeature()
295 private boolean hasAllFeatures(String[] features) { in hasAllFeatures() argument
296 if (features != null) { in hasAllFeatures()
298 for (String feature : features) { in hasAllFeatures()
/cts/tests/tests/accounts/src/android/accounts/cts/
DMockAccountAuthenticator.java254 String[] features) throws NetworkErrorException { in hasFeatures() argument
258 this.mFeatures = features; in hasFeatures()
261 if (null == features) { in hasFeatures()
266 for (String feature: features) { in hasFeatures()
DAccountManagerTest.java365 private Bundle getAuthTokenByFeature(String[] features, Activity activity) in getAuthTokenByFeature() argument
370 features, in getAuthTokenByFeature()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DMockAccountAuthenticator.java87 String[] features) throws NetworkErrorException { in hasFeatures() argument
/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.java96 String[] features) throws NetworkErrorException { in hasFeatures() argument
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/
DTestAccountAuthenticator.java291 String[] features) throws NetworkErrorException { in hasFeatures() argument
297 new HasFeaturesTx(account, features, result)); in hasFeatures()
299 Arrays.asList(features).contains(Fixtures.KEY_CALLBACK_REQUIRED); in hasFeatures()
/cts/tests/tests/app/src/android/app/cts/
DSystemFeaturesTest.java354 Set<String> features = new HashSet<String>(); in getFeatureConstantsNames() local
359 features.add(feature); in getFeatureConstantsNames()
362 return features; in getFeatureConstantsNames()
/cts/tools/tradefed-host/
DREADME10 advanced features such as:
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DDeqpTestRunner.java1294 final Set<String> features = getDeviceFeatures(mDevice); in isSupportedRunConfiguration() local
1297 !features.contains(FEATURE_PORTRAIT)) { in isSupportedRunConfiguration()
1301 !features.contains(FEATURE_LANDSCAPE)) { in isSupportedRunConfiguration()
/cts/tests/expectations/
Dknownfailures.txt81 description: "Not all jdwp features are currently supported. These tests will fail",
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Dbox2d.js61 …osition.y+(x.col1.y*f.x+x.col2.y*f.y);t.id.features.referenceEdge=m;t.id.features.incidentEdge=r;t…
62 …osition.y+(x.col1.y*f.x+x.col2.y*f.y);t.id.features.referenceEdge=m;t.id.features.incidentEdge=v;t…
65 …x.col1.y;C.m_localPoint.y=X*x.col2.x+$*x.col2.y;C.m_id.Set(s.id);C.m_id.features.flip=T;++r}}b.m_p…
71 …Feature=255});L.b2ContactID=function(){this.features=new c};L.prototype.b2ContactID=function(){thi…
72features._referenceEdge=this._key&255;this.features._incidentEdge=(this._key&65280)>>8&255;this.fe…
/cts/tools/dex-tools/dex/
Dclasses0.out.dex83827 private java.util.Map features
110939 protected java.util.HashMap features