/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
D | CommonExternalStorageTest.java | 144 Collections.addAll(paths, context.getExternalCacheDirs()); in getAllPackageSpecificPaths() 145 Collections.addAll(paths, context.getExternalFilesDirs(null)); in getAllPackageSpecificPaths() 146 Collections.addAll(paths, context.getExternalFilesDirs(Environment.DIRECTORY_PICTURES)); in getAllPackageSpecificPaths() 147 Collections.addAll(paths, context.getExternalMediaDirs()); in getAllPackageSpecificPaths() 148 Collections.addAll(paths, context.getObbDirs()); in getAllPackageSpecificPaths() 154 Collections.addAll(paths, context.getExternalCacheDirs()); in getAllPackageSpecificPathsExceptMedia() 155 Collections.addAll(paths, context.getExternalFilesDirs(null)); in getAllPackageSpecificPathsExceptMedia() 156 Collections.addAll(paths, context.getExternalFilesDirs(Environment.DIRECTORY_PICTURES)); in getAllPackageSpecificPathsExceptMedia() 157 Collections.addAll(paths, context.getObbDirs()); in getAllPackageSpecificPathsExceptMedia() 163 Collections.addAll(paths, context.getExternalCacheDirs()); in getAllPackageSpecificPathsExceptObb() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/features/ |
D | FeatureSummaryActivity.java | 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() 324 Collections.addAll(features, ALL_ICE_CREAM_SANDWICH_FEATURES); in onCreate() 327 Collections.addAll(features, ALL_HONEYCOMB_MR2_FEATURES); in onCreate() [all …]
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/ |
D | Asn1Choice.java | 206 listBuilder.addAll( in encodePerImpl() 209 listBuilder.addAll( in encodePerImpl() 229 listBuilder.addAll(PerAlignedUtils.encodeOpenTypeField(value)); in encodePerImpl() 231 listBuilder.addAll( in encodePerImpl() 236 listBuilder.addAll(value.encodePerAligned()); in encodePerImpl() 238 listBuilder.addAll(value.encodePerUnaligned()); in encodePerImpl()
|
D | Asn1Enumerated.java | 103 builder.addAll( in encodePerImpl() 106 builder.addAll( in encodePerImpl()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | ArrayTestListAdapter.java | 48 public void addAll(List<TestListItem> items) { in addAll() method in ArrayTestListAdapter 49 mRows.addAll(items); in addAll()
|
D | TestResultHistoryCollection.java | 46 public void addAll(String test, Set<TestResultHistory.ExecutionRecord> executionRecords) { in addAll() method in TestResultHistoryCollection 51 resultHistory.getExecutionRecords().addAll(executionRecords); in addAll() 69 resultHistoryCollection.asSet().forEach(t-> addAll( in merge()
|
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/collections/ |
D | QueryableHashSet.java | 38 mSet.addAll(existingSet); in QueryableHashSet() 87 public boolean addAll(Collection<? extends E> c) { in addAll() method in QueryableHashSet 88 return mSet.addAll(c); in addAll()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/ |
D | AdbPackage.java | 67 mRequestedPermissions.addAll(Arrays.asList(packageInfo.requestedPermissions)); in AdbPackage() 92 mergedPermissions.addAll(mMutablePackage.mInstallPermissions); in grantedPermissions() 93 mergedPermissions.addAll(userPackage.mGrantedPermissions); in grantedPermissions()
|
/cts/common/device-side/bedstead/modules/permissions/src/main/kotlin/com/android/bedstead/permissions/ |
D | PermissionContextImpl.java | 70 mGrantedPermissions.addAll(Arrays.asList(permissions)); in withPermission() 135 mDeniedPermissions.addAll(Arrays.asList(permissions)); in withoutPermission() 155 mGrantedAppOps.addAll(Arrays.asList(appOps)); in withAppOp() 212 mDeniedAppOps.addAll(Arrays.asList(appOps)); in withoutAppOp()
|
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/ |
D | TestAppPermissionContext.java | 62 mGrantedPermissions.addAll(Arrays.asList(permissions)); in withPermission() 125 mDeniedPermissions.addAll(Arrays.asList(permissions)); in withoutPermission() 144 mGrantedAppOps.addAll(Arrays.asList(appOps)); in withAppOp() 205 mDeniedAppOps.addAll(Arrays.asList(appOps)); in withoutAppOp()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | PermitInputMethodsTest.java | 176 permittedPlusSystem.addAll(SYSTEM_INPUT_METHODS_PACKAGES); in setPermittedInputMethods_includesSetPlusSystem() 177 permittedPlusSystem.addAll(enabledNonSystemImes); in setPermittedInputMethods_includesSetPlusSystem() 213 permittedPlusSystem.addAll(SYSTEM_INPUT_METHODS_PACKAGES); in getDevicePolicyState_setPermittedInputMethods_returnsPolicy() 214 permittedPlusSystem.addAll(NON_SYSTEM_INPUT_METHOD_PACKAGES); in getDevicePolicyState_setPermittedInputMethods_returnsPolicy() 265 permittedPlusSystem.addAll(SYSTEM_INPUT_METHODS_PACKAGES); in getDevicePolicyState_setPermittedInputMethods_returnsCorrectResolutionMechanism() 266 permittedPlusSystem.addAll(NON_SYSTEM_INPUT_METHOD_PACKAGES); in getDevicePolicyState_setPermittedInputMethods_returnsCorrectResolutionMechanism() 298 permittedPlusSystem.addAll(SYSTEM_INPUT_METHODS_PACKAGES); in setPermittedInputMethods_policyMigration_works() 299 permittedPlusSystem.addAll(enabledNonSystemImes); in setPermittedInputMethods_policyMigration_works()
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | BedsteadJUnit4.java | 297 annotations.addAll(index, replacementAnnotations); in resolveRecursiveAnnotations() 393 Collections.addAll(replacementAnnotations, annotations); in getReplacementAnnotations() 410 replacementAnnotations.addAll( in getReplacementAnnotations() 455 methods.addAll(testClass.getAnnotatedMethods(Test.class)); in getBasicTests() 456 methods.addAll(testClass.getAnnotatedMethods(PolicyAppliesTest.class)); in getBasicTests() 457 methods.addAll(testClass.getAnnotatedMethods(PolicyDoesNotApplyTest.class)); in getBasicTests() 458 methods.addAll(testClass.getAnnotatedMethods(CanSetPolicyTest.class)); in getBasicTests() 459 methods.addAll(testClass.getAnnotatedMethods(CannotSetPolicyTest.class)); in getBasicTests() 460 methods.addAll(testClass.getAnnotatedMethods(UserTest.class)); in getBasicTests() 461 methods.addAll(testClass.getAnnotatedMethods(CrossUserTest.class)); in getBasicTests() [all …]
|
/cts/tests/tests/jni/src/android/jni/cts/ |
D | LinkerNamespacesHelper.java | 193 Collections.addAll(systemLibs, PUBLIC_SYSTEM_LIBRARIES); in runAccessibilityTest() 194 Collections.addAll(systemLibs, OPTIONAL_SYSTEM_LIBRARIES); in runAccessibilityTest() 197 Collections.addAll(systemLibs, PUBLIC_APEX_LIBRARIES); in runAccessibilityTest() 205 Collections.addAll(apexLibs, PUBLIC_APEX_LIBRARIES); in runAccessibilityTest() 231 Collections.addAll(greyListLibs, PRIVATE_SYSTEM_LIBRARIES); in runAccessibilityTest() 395 Collections.addAll(publicLibs, PUBLIC_SYSTEM_LIBRARIES); in runDlopenPublicLibraries() 396 Collections.addAll(publicLibs, PUBLIC_APEX_LIBRARIES); in runDlopenPublicLibraries()
|
/cts/hostsidetests/appcompat/strictjavapackages/src/android/compat/sjp/cts/ |
D | StrictJavaPackagesTest.java | 731 jars.addAll(sBootclasspathJars); in testBootClasspathAndSystemServerClasspath_nonDuplicateClasses() 732 jars.addAll(sSystemserverclasspathJars); in testBootClasspathAndSystemServerClasspath_nonDuplicateClasses() 736 .addAll(BCP_AND_SSCP_OVERLAP_BURNDOWN_LIST) in testBootClasspathAndSystemServerClasspath_nonDuplicateClasses() 737 .addAll(AUTOMOTIVE_HIDL_OVERLAP_BURNDOWN_LIST).build(); in testBootClasspathAndSystemServerClasspath_nonDuplicateClasses() 740 .addAll(BCP_AND_SSCP_OVERLAP_BURNDOWN_LIST) in testBootClasspathAndSystemServerClasspath_nonDuplicateClasses() 741 .addAll(WEAR_HIDL_OVERLAP_BURNDOWN_LIST).build(); in testBootClasspathAndSystemServerClasspath_nonDuplicateClasses() 791 jars.addAll(sBootclasspathJars); in testBootClasspathAndSystemServerClasspath_nonApexDuplicateClasses() 792 jars.addAll(sSystemserverclasspathJars); in testBootClasspathAndSystemServerClasspath_nonApexDuplicateClasses() 812 jars.addAll(sBootclasspathJars); in testBootClasspathAndSharedLibs_nonDuplicateClasses() 813 jars.addAll(sSharedLibJars); in testBootClasspathAndSharedLibs_nonDuplicateClasses() [all …]
|
/cts/tests/PhotoPicker/src/android/photopicker/cts/ |
D | PhotoPickerTest.java | 119 mUriList.addAll(createImagesAndGetUris(itemCount, mContext.getUserId())); in testSingleSelect() 136 mUriList.addAll(createImagesAndGetUris(itemCount, mContext.getUserId(), in testSingleSelectForFavoritesAlbum() 159 mUriList.addAll(createVideosAndGetUris(videoCount, mContext.getUserId())); in testLaunchPreviewMultipleForVideoAlbum() 192 mUriList.addAll(createImagesAndGetUris(itemCount, mContext.getUserId())); in testSingleSelectWithPreview() 213 mUriList.addAll(createImagesAndGetUris(imageCount, mContext.getUserId())); in testMultiSelect() 241 mUriList.addAll(createMj2VideosAndGetUris(videoCount, mContext.getUserId())); in testMultiSelect_longPress() 289 mUriList.addAll(createImagesAndGetUris(imageCount, mContext.getUserId())); in testMultiSelect_preview() 527 mUriList.addAll(createMj2VideosAndGetUris(videoCount, mContext.getUserId())); in testMimeTypeFilter() 529 mUriList.addAll(createImagesAndGetUris(imageCount, mContext.getUserId())); in testMimeTypeFilter() 564 mUriList.addAll(createMj2VideosAndGetUris(mj2VideoCount, mContext.getUserId())); in testExtraMimeTypeFilter() [all …]
|
/cts/tests/signature/intent-check/src/android/signature/cts/intent/ |
D | IntentTest.java | 77 platformIntents.addAll(intentWhitelist); in shouldNotFindUnexpectedIntents() 118 intents.addAll(parse(CURRENT_API_RESOURCE)); in lookupPlatformIntents() 119 intents.addAll(parse(SYSTEM_CURRENT_API_RESOURCE)); in lookupPlatformIntents() 120 intents.addAll(parse(SYSTEM_REMOVED_API_RESOURCE)); in lookupPlatformIntents()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | IntentFiltersTestHelper.java | 158 forwardedIntentsFromManaged.addAll(Arrays.asList( in addIntentsThatDependOnDeviceFeatures() 184 notForwardedIntentsFromManaged.addAll(Arrays.asList( in addIntentsThatDependOnDeviceFeatures() 194 forwardedIntentsFromManaged.addAll(Arrays.asList( in addIntentsThatDependOnDeviceFeatures() 200 forwardingOptionalIntentsFromManaged.addAll(Arrays.asList( in addIntentsThatDependOnDeviceFeatures() 216 forwardedIntentsFromManaged.addAll(Arrays.asList( in addIntentsThatDependOnDeviceFeatures() 232 forwardedIntentsFromManaged.addAll(Arrays.asList( in addIntentsThatDependOnDeviceFeatures() 245 notForwardedIntentsFromManaged.addAll(Arrays.asList( in addIntentsThatDependOnDeviceFeatures()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/ |
D | SecondaryProfileOwnerUserRestrictionsTest.java | 99 expected.addAll(Arrays.asList(DO_GLOBAL_RESTRICTIONS)); in testHasBothGlobalAndLocalRestrictions() 102 expected.addAll(Arrays.asList(ALLOWED)); in testHasBothGlobalAndLocalRestrictions()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | AbiTest.java | 37 abiDirs.addAll(Arrays.asList( in testNoUnsupportedAbis() 43 abiDirs.addAll(Arrays.asList(pathVar.split(":"))); in testNoUnsupportedAbis()
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-resourcesrc/src/android/security/net/config/cts/ |
D | ResourceSourceTest.java | 81 certs.addAll(loadCertificates(R.raw.der_multiple)); in testOnlyResourceCasPresent() 82 certs.addAll(loadCertificates(R.raw.pem_single)); in testOnlyResourceCasPresent() 83 certs.addAll(loadCertificates(R.raw.pem_multiple)); in testOnlyResourceCasPresent()
|
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/ |
D | StorageTest.java | 337 Collections.addAll(paths, Environment.getExternalStorageDirectory()); in testExternalStorageIsolatedWrite() 338 Collections.addAll(paths, in testExternalStorageIsolatedWrite() 340 Collections.addAll(paths, context.getExternalCacheDirs()); in testExternalStorageIsolatedWrite() 341 Collections.addAll(paths, context.getExternalFilesDirs(null)); in testExternalStorageIsolatedWrite() 342 Collections.addAll(paths, context.getExternalFilesDirs(Environment.DIRECTORY_PICTURES)); in testExternalStorageIsolatedWrite() 343 Collections.addAll(paths, context.getExternalMediaDirs()); in testExternalStorageIsolatedWrite() 344 Collections.addAll(paths, context.getObbDirs()); in testExternalStorageIsolatedWrite()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | KeepClearRectsTests.java | 143 expected.addAll(Arrays.asList(keepClearRect2)); in testSetPreferKeepClearTwoViews() 174 expected.addAll(TEST_KEEP_CLEAR_RECTS_2); in testSetMultipleKeepClearRectsTwoViews() 412 expectedRectsOnDisplay.addAll(prevKeepClearRectsOnDisplay); in testSetKeepClearRectsOnDisplaySingleWindow() 413 expectedRectsOnDisplay.addAll( in testSetKeepClearRectsOnDisplaySingleWindow() 498 expectedRectsOnDisplay.addAll(prevKeepClearRectsOnDisplay); in testKeepClearRectsOnDisplayTwoFullscreenActivities() 499 expectedRectsOnDisplay.addAll(getRectsInScreenSpace(TEST_KEEP_CLEAR_RECTS, in testKeepClearRectsOnDisplayTwoFullscreenActivities() 521 expectedRectsOnDisplay.addAll(prevKeepClearRectsOnDisplay); in testDisplayHasKeepClearRectsOnlyFromVisibleWindows() 522 expectedRectsOnDisplay.addAll(getRectsInScreenSpace(Arrays.asList(viewBounds), in testDisplayHasKeepClearRectsOnlyFromVisibleWindows() 542 expectedRectsOnDisplay.addAll(prevKeepClearRectsOnDisplay); in testDisplayHasKeepClearRectsOnlyFromVisibleWindows() 543 expectedRectsOnDisplay.addAll(getRectsInScreenSpace( in testDisplayHasKeepClearRectsOnlyFromVisibleWindows() [all …]
|
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/ |
D | SetQueryHelper.java | 109 boolean unused = mContainsByQuery.addAll(Arrays.asList(objects)); in contains() 115 boolean unused = mContainsByType.addAll(Arrays.asList(objects)); in contains() 121 boolean unused = mDoesNotContainByQuery.addAll(Arrays.asList(objects)); in doesNotContain() 127 boolean unused = mDoesNotContainByType.addAll(Arrays.asList(objects)); in doesNotContain()
|
D | ListQueryHelper.java | 91 mContainsByQuery.addAll(Arrays.asList(objects)); in contains() 97 mContainsByType.addAll(Arrays.asList(objects)); in contains() 103 mDoesNotContainByQuery.addAll(Arrays.asList(objects)); in doesNotContain() 109 mDoesNotContainByType.addAll(Arrays.asList(objects)); in doesNotContain()
|
/cts/tests/tests/appop/src/android/app/appops/cts/ |
D | AppOpsMultiUserTest.kt | 46 preExistingUsers.addAll(userManager.users) in <lambda>() 50 newUsers.addAll(userManager.users) in <lambda>()
|