/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/tests/tests/graphics/src/android/graphics/cts/ |
D | VulkanFeaturesTest.java | 77 FeatureInfo features[] = mPm.getSystemAvailableFeatures(); in setup() local 78 if (features != null) { in setup() 79 for (FeatureInfo feature : features) { in setup() 226 JSONObject features = device.getJSONObject("features"); in determineHardwareLevel() local 227 boolean textureCompressionETC2 = features.getInt("textureCompressionETC2") != 0; in determineHardwareLevel() 228 boolean fullDrawIndexUint32 = features.getInt("fullDrawIndexUint32") != 0; in determineHardwareLevel() 229 boolean imageCubeArray = features.getInt("imageCubeArray") != 0; in determineHardwareLevel() 230 boolean independentBlend = features.getInt("independentBlend") != 0; in determineHardwareLevel() 231 boolean geometryShader = features.getInt("geometryShader") != 0; in determineHardwareLevel() 232 boolean tessellationShader = features.getInt("tessellationShader") != 0; in determineHardwareLevel() [all …]
|
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/ |
D | VulkanDeviceInfo.java | 515 JSONObject features = device.getJSONObject(KEY_FEATURES); in emitDevices() local 518 emitBoolean(store, features, KEY_ROBUST_BUFFER_ACCESS); in emitDevices() 519 emitBoolean(store, features, KEY_FULL_DRAW_INDEX_UINT32); in emitDevices() 520 emitBoolean(store, features, KEY_IMAGE_CUBE_ARRAY); in emitDevices() 521 emitBoolean(store, features, KEY_INDEPENDENT_BLEND); in emitDevices() 522 emitBoolean(store, features, KEY_GEOMETRY_SHADER); in emitDevices() 523 emitBoolean(store, features, KEY_TESSELLATION_SHADER); in emitDevices() 524 emitBoolean(store, features, KEY_SAMPLE_RATE_SHADING); in emitDevices() 525 emitBoolean(store, features, KEY_DUAL_SRC_BLEND); in emitDevices() 526 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; 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/common/device-side/util/src/com/android/compatibility/common/util/ |
D | FeatureUtil.java | 45 public static boolean hasAnySystemFeature(String... features) { in hasAnySystemFeature() argument 47 for (String feature : features) { in hasAnySystemFeature() 56 public static boolean hasAllSystemFeatures(String... features) { in hasAllSystemFeatures() argument 58 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 | 117 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/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/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
D | DeviceInfoInstrument.java | 138 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/tests/libcore/javautilcollections/src/libcore/java/util/tests/ |
D | AndroidTestsForQueuesInJavaUtil.java | 25 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/ |
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/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 | 284 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/tests/framework/base/activitymanager/src/android/server/am/ |
D | ActivityManagerGetConfigTests.java | 336 FeatureInfo[] features = mPm.getSystemAvailableFeatures(); in checkDeviceConfig() local 337 Arrays.sort(features, (o1, o2) -> in checkDeviceConfig() 340 for (int i = 0; i < features.length; i++) { in checkDeviceConfig() 341 if (features[i].name != null) { in checkDeviceConfig() 346 for (int i = 0, j = 0; i < features.length; i++) { in checkDeviceConfig() 347 if (features[i].name != null) { in checkDeviceConfig() 348 featureNames[j] = features[i].name; in checkDeviceConfig() 353 featureNames, deviceConfig.features); in checkDeviceConfig()
|
/cts/tests/libcore/javautilcollections/libs/ |
D | guava-testlib-20.0.jar | ... com/google/common/collect/testing/features/
com/google/common/collect/testing ... |
/cts/hostsidetests/devicepolicy/app/AccountManagement/src/com/android/cts/devicepolicy/accountmanagement/ |
D | MockAccountAuthenticator.java | 88 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
|
/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 | TestDefaultAuthenticator.java | 123 String[] features) throws NetworkErrorException { in hasFeatures() argument
|
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/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
D | BatteryStatsAuthenticator.java | 132 String[] features) throws NetworkErrorException { in hasFeatures() argument
|