Home
last modified time | relevance | path

Searched refs:addAll (Results 1 – 25 of 379) sorted by relevance

12345678910>>...16

/frameworks/native/services/utils/tests/
DPriorityDumper_test.cpp56 static void addAll(Vector<String16>& av, const std::vector<std::string>& v) { in addAll() function
70 addAll(args, {"bunch", "of", "args"}); in TEST_F()
77 addAll(args, {"--dump-priority", "CRITICAL"}); in TEST_F()
85 addAll(args, {"--dump-priority", "CRITICAL", "args", "left", "behind"}); in TEST_F()
87 addAll(strippedArgs, {"args", "left", "behind"}); in TEST_F()
95 addAll(args, {"args", "left", "--dump-priority", "CRITICAL", "behind"}); in TEST_F()
97 addAll(strippedArgs, {"args", "left", "behind"}); in TEST_F()
105 addAll(args, {"--dump-priority", "HIGH", "args", "left", "behind"}); in TEST_F()
107 addAll(strippedArgs, {"args", "left", "behind"}); in TEST_F()
115 addAll(args, {"args", "left", "behind", "--dump-priority", "HIGH"}); in TEST_F()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DFloatArrayListTest.java78 list.addAll(asList(1F, 2F, 3F, 4F)); in testModificationWithIteration()
258 assertTrue(list.addAll(Collections.singleton(1F))); in testAddAll()
263 assertTrue(list.addAll(asList(2F, 3F, 4F, 5F, 6F))); in testAddAll()
266 assertTrue(list.addAll(TERTIARY_LIST)); in testAddAll()
269 assertFalse(list.addAll(Collections.<Float>emptyList())); in testAddAll()
270 assertFalse(list.addAll(FloatArrayList.emptyList())); in testAddAll()
274 list.addAll(TERTIARY_LIST); in testRemove()
321 list.addAll(Collections.<Float>emptyList()); in assertImmutable()
328 list.addAll(Collections.singletonList(1F)); in assertImmutable()
335 list.addAll(new FloatArrayList()); in assertImmutable()
[all …]
DLongArrayListTest.java78 list.addAll(asList(1L, 2L, 3L, 4L)); in testModificationWithIteration()
258 assertTrue(list.addAll(Collections.singleton(1L))); in testAddAll()
263 assertTrue(list.addAll(asList(2L, 3L, 4L, 5L, 6L))); in testAddAll()
266 assertTrue(list.addAll(TERTIARY_LIST)); in testAddAll()
269 assertFalse(list.addAll(Collections.<Long>emptyList())); in testAddAll()
270 assertFalse(list.addAll(LongArrayList.emptyList())); in testAddAll()
274 list.addAll(TERTIARY_LIST); in testRemove()
321 list.addAll(Collections.<Long>emptyList()); in assertImmutable()
328 list.addAll(Collections.singletonList(1L)); in assertImmutable()
335 list.addAll(new LongArrayList()); in assertImmutable()
[all …]
DIntArrayListTest.java78 list.addAll(asList(1, 2, 3, 4)); in testModificationWithIteration()
258 assertTrue(list.addAll(Collections.singleton(1))); in testAddAll()
263 assertTrue(list.addAll(asList(2, 3, 4, 5, 6))); in testAddAll()
266 assertTrue(list.addAll(TERTIARY_LIST)); in testAddAll()
269 assertFalse(list.addAll(Collections.<Integer>emptyList())); in testAddAll()
270 assertFalse(list.addAll(IntArrayList.emptyList())); in testAddAll()
274 list.addAll(TERTIARY_LIST); in testRemove()
321 list.addAll(Collections.<Integer>emptyList()); in assertImmutable()
328 list.addAll(Collections.singletonList(1)); in assertImmutable()
335 list.addAll(new IntArrayList()); in assertImmutable()
[all …]
DBooleanArrayListTest.java78 list.addAll(asList(true, false, true, false)); in testModificationWithIteration()
258 assertTrue(list.addAll(Collections.singleton(true))); in testAddAll()
263 assertTrue(list.addAll(asList(false, true, false, true, false))); in testAddAll()
266 assertTrue(list.addAll(TERTIARY_LIST)); in testAddAll()
269 assertFalse(list.addAll(Collections.<Boolean>emptyList())); in testAddAll()
270 assertFalse(list.addAll(BooleanArrayList.emptyList())); in testAddAll()
274 list.addAll(TERTIARY_LIST); in testRemove()
318 list.addAll(Collections.<Boolean>emptyList()); in assertImmutable()
325 list.addAll(Collections.singletonList(true)); in assertImmutable()
332 list.addAll(new BooleanArrayList()); in assertImmutable()
[all …]
DDoubleArrayListTest.java78 list.addAll(asList(1D, 2D, 3D, 4D)); in testModificationWithIteration()
258 assertTrue(list.addAll(Collections.singleton(1D))); in testAddAll()
263 assertTrue(list.addAll(asList(2D, 3D, 4D, 5D, 6D))); in testAddAll()
266 assertTrue(list.addAll(TERTIARY_LIST)); in testAddAll()
269 assertFalse(list.addAll(Collections.<Double>emptyList())); in testAddAll()
270 assertFalse(list.addAll(DoubleArrayList.emptyList())); in testAddAll()
274 list.addAll(TERTIARY_LIST); in testRemove()
321 list.addAll(Collections.<Double>emptyList()); in assertImmutable()
328 list.addAll(Collections.singletonList(1D)); in assertImmutable()
335 list.addAll(new DoubleArrayList()); in assertImmutable()
[all …]
DProtobufArrayListTest.java67 list.addAll(asList(1, 2, 3, 4)); in testModificationWithIteration()
162 list.addAll(Collections.<Integer>emptyList()); in assertImmutable()
169 list.addAll(Collections.singletonList(1)); in assertImmutable()
176 list.addAll(new ProtobufArrayList<Integer>()); in assertImmutable()
183 list.addAll(UNARY_LIST); in assertImmutable()
190 list.addAll(0, Collections.singleton(1)); in assertImmutable()
197 list.addAll(0, UNARY_LIST); in assertImmutable()
204 list.addAll(0, Collections.<Integer>emptyList()); in assertImmutable()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraCapabilities.java475 mSupportedPreviewFpsRange.addAll(src.mSupportedPreviewFpsRange); in CameraCapabilities()
476 mSupportedPreviewSizes.addAll(src.mSupportedPreviewSizes); in CameraCapabilities()
477 mSupportedPreviewFormats.addAll(src.mSupportedPreviewFormats); in CameraCapabilities()
478 mSupportedVideoSizes.addAll(src.mSupportedVideoSizes); in CameraCapabilities()
479 mSupportedPhotoSizes.addAll(src.mSupportedPhotoSizes); in CameraCapabilities()
480 mSupportedPhotoFormats.addAll(src.mSupportedPhotoFormats); in CameraCapabilities()
481 mSupportedSceneModes.addAll(src.mSupportedSceneModes); in CameraCapabilities()
482 mSupportedFlashModes.addAll(src.mSupportedFlashModes); in CameraCapabilities()
483 mSupportedFocusModes.addAll(src.mSupportedFocusModes); in CameraCapabilities()
484 mSupportedWhiteBalances.addAll(src.mSupportedWhiteBalances); in CameraCapabilities()
[all …]
DAndroidCamera2Capabilities.java51 mSupportedPreviewSizes.addAll(Size.buildListFromAndroidSizes(Arrays.asList( in AndroidCamera2Capabilities()
58 mSupportedVideoSizes.addAll(Size.buildListFromAndroidSizes(Arrays.asList( in AndroidCamera2Capabilities()
62 mSupportedPhotoSizes.addAll(Size.buildListFromAndroidSizes(Arrays.asList( in AndroidCamera2Capabilities()
64 mSupportedPhotoFormats.addAll(mSupportedPreviewFormats); in AndroidCamera2Capabilities()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DAbstractProtobufList.java114 public boolean addAll(Collection<? extends E> c) { in addAll() method in AbstractProtobufList
116 return super.addAll(c); in addAll()
120 public boolean addAll(int index, Collection<? extends E> c) { in addAll() method in AbstractProtobufList
122 return super.addAll(index, c); in addAll()
DLazyStringArrayList.java92 addAll(from); in LazyStringArrayList()
109 newList.addAll(list); in mutableCopyWithCapacity()
167 public boolean addAll(Collection<? extends String> c) { in addAll() method in LazyStringArrayList
172 return addAll(size(), c); in addAll()
176 public boolean addAll(int index, Collection<? extends String> c) { in addAll() method in LazyStringArrayList
182 boolean ret = list.addAll(index, collection); in addAll()
190 boolean ret = list.addAll(values); in addAllByteString()
198 boolean ret = list.addAll(c); in addAllByteArray()
DAbstractMessageLite.java120 protected static <T> void addAll(final Iterable<T> values, in addAll() method in AbstractMessageLite
122 Builder.addAll(values, list); in addAll()
353 protected static <T> void addAll(final Iterable<T> values, in addAll() method in AbstractMessageLite.Builder
362 list.addAll((Collection<T>) values); in addAll()
365 list.addAll((Collection<T>) values); in addAll()
/frameworks/base/core/java/android/view/
DViewTreeObserver.java370 mOnWindowAttachListeners.addAll(observer.mOnWindowAttachListeners); in merge()
378 mOnWindowFocusListeners.addAll(observer.mOnWindowFocusListeners); in merge()
386 mOnGlobalFocusListeners.addAll(observer.mOnGlobalFocusListeners); in merge()
394 mOnGlobalLayoutListeners.addAll(observer.mOnGlobalLayoutListeners); in merge()
402 mOnPreDrawListeners.addAll(observer.mOnPreDrawListeners); in merge()
410 mOnDrawListeners.addAll(observer.mOnDrawListeners); in merge()
418 mOnFrameCommitListeners.addAll(observer.captureFrameCommitCallbacks()); in merge()
426 mOnTouchModeChangeListeners.addAll(observer.mOnTouchModeChangeListeners); in merge()
434 … mOnComputeInternalInsetsListeners.addAll(observer.mOnComputeInternalInsetsListeners); in merge()
442 mOnScrollChangedListeners.addAll(observer.mOnScrollChangedListeners); in merge()
[all …]
/frameworks/base/services/net/java/android/net/shared/
DInitialConfiguration.java56 configCopy.ipAddresses.addAll(config.ipAddresses); in copy()
57 configCopy.directlyConnectedRoutes.addAll(config.directlyConnectedRoutes); in copy()
58 configCopy.dnsServers.addAll(config.dnsServers); in copy()
164 config.ipAddresses.addAll(Arrays.asList(p.ipAddresses)); in fromStableParcelable()
165 config.directlyConnectedRoutes.addAll(Arrays.asList(p.directlyConnectedRoutes)); in fromStableParcelable()
166 config.dnsServers.addAll( in fromStableParcelable()
/frameworks/base/core/java/com/android/internal/os/
DProcTimeInStateReader.java175 timeInStateFrequencyFormat.addAll(TIME_IN_STATE_HEADER_LINE_FORMAT); in initializeTimeInStateFormat()
176 timeInStateTimeFormat.addAll(TIME_IN_STATE_HEADER_LINE_FORMAT); in initializeTimeInStateFormat()
178 timeInStateFrequencyFormat.addAll(TIME_IN_STATE_LINE_FREQUENCY_FORMAT); in initializeTimeInStateFormat()
179 timeInStateTimeFormat.addAll(TIME_IN_STATE_LINE_TIME_FORMAT); in initializeTimeInStateFormat()
/frameworks/base/core/java/android/security/keymaster/
DKeyCharacteristics.java103 result.addAll(hwEnforced.getEnums(tag)); in getEnums()
104 result.addAll(swEnforced.getEnums(tag)); in getEnums()
129 result.addAll(hwEnforced.getUnsignedLongs(tag)); in getUnsignedLongs()
130 result.addAll(swEnforced.getUnsignedLongs(tag)); in getUnsignedLongs()
/frameworks/base/core/java/com/google/android/collect/
DSets.java72 Collections.addAll(set, elements); in newHashSet()
95 Collections.addAll(set, elements); in newSortedSet()
114 Collections.addAll(set, elements); in newArraySet()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DDirectStatementRetriever.java166 statements.addAll(result.getStatements()); in retrieveStatementFromUrl()
168 statements.addAll( in retrieveStatementFromUrl()
198 statements.addAll(result.getStatements()); in retrieveFromAndroid()
199 delegates.addAll(result.getDelegates()); in retrieveFromAndroid()
203 statements.addAll(retrieveStatementFromUrl(delegate, MAX_INCLUDE_LEVEL, in retrieveFromAndroid()
/frameworks/base/tests/net/java/android/net/shared/
DInitialConfigurationTest.java50 mConfig.ipAddresses.addAll(Arrays.asList( in setUp()
53 mConfig.directlyConnectedRoutes.addAll(Arrays.asList( in setUp()
56 mConfig.dnsServers.addAll(Arrays.asList( in setUp()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOverlayPackagesProvider.java118 nonRequiredApps.addAll(getDisallowedApps(provisioningAction)); in getNonRequiredApps()
152 requiredApps.addAll(getRequiredAppsSet(provisioningAction)); in getRequiredApps()
153 requiredApps.addAll(getVendorRequiredAppsSet(provisioningAction)); in getRequiredApps()
160 disallowedApps.addAll(getDisallowedAppsSet(provisioningAction)); in getDisallowedApps()
161 disallowedApps.addAll(getVendorDisallowedAppsSet(provisioningAction)); in getDisallowedApps()
/frameworks/base/core/java/android/hardware/camera2/params/
DMandatoryStreamCombination.java101 mAvailableSizes.addAll(availableSizes); in MandatoryStreamInformation()
199 mStreamsInformation.addAll(streamsInformation); in MandatoryStreamCombination()
711 availableTemplates.addAll(Arrays.asList(sLegacyCombinations)); in getAvailableMandatoryStreamCombinations()
716 availableTemplates.addAll(Arrays.asList(sLimitedCombinations)); in getAvailableMandatoryStreamCombinations()
719 availableTemplates.addAll(Arrays.asList(sLimitedPrivateReprocCombinations)); in getAvailableMandatoryStreamCombinations()
723 availableTemplates.addAll(Arrays.asList(sLimitedYUVReprocCombinations)); in getAvailableMandatoryStreamCombinations()
730 availableTemplates.addAll(Arrays.asList(sBurstCombinations)); in getAvailableMandatoryStreamCombinations()
734 availableTemplates.addAll(Arrays.asList(sFullCombinations)); in getAvailableMandatoryStreamCombinations()
737 availableTemplates.addAll(Arrays.asList(sFullPrivateReprocCombinations)); in getAvailableMandatoryStreamCombinations()
741 availableTemplates.addAll(Arrays.asList(sFullYUVReprocCombinations)); in getAvailableMandatoryStreamCombinations()
[all …]
/frameworks/base/core/java/android/widget/
DArrayAdapter.java255 public void addAll(@NonNull Collection<? extends T> collection) { in addAll() method in ArrayAdapter
258 mOriginalValues.addAll(collection); in addAll()
260 mObjects.addAll(collection); in addAll()
273 public void addAll(T ... items) { in addAll() method in ArrayAdapter
276 Collections.addAll(mOriginalValues, items); in addAll()
278 Collections.addAll(mObjects, items); in addAll()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanResults.java45 mScanDetails.addAll(scanDetails); in ScanResults()
59 scanDetails.addAll(other.getScanDetailArrayList()); in merge()
60 scanDataResults.addAll(Arrays.asList(other.getScanData().getResults())); in merge()
61 rawScanResults.addAll(Arrays.asList(other.getRawScanResults())); in merge()
/frameworks/base/services/core/java/com/android/server/pm/
DUserDataPreparer.java168 Collections.addAll(files, FileUtils in reconcileUsers()
170 Collections.addAll(files, FileUtils in reconcileUsers()
172 Collections.addAll(files, FileUtils in reconcileUsers()
174 Collections.addAll(files, FileUtils in reconcileUsers()
176 Collections.addAll(files, FileUtils in reconcileUsers()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DVNodeBuilder.java105 propNode.propGroupSet.addAll(groupList); in onPropertyCreated()
111 propNode.paramMap_TYPE.addAll(paramValueList); in onPropertyCreated()
135 propNode.propValue_vector.addAll(values); in onPropertyCreated()

12345678910>>...16