Home
last modified time | relevance | path

Searched refs:iterator (Results 1 – 25 of 57) sorted by relevance

123

/cts/tests/tests/text/src/android/text/cts/
DTextUtils_SimpleStringSplitterTest.java72 Iterator<String> iterator = simpleStringSplitter.iterator(); in testIterator() local
73 assertNotNull(iterator); in testIterator()
74 assertFalse(iterator.hasNext()); in testIterator()
77 iterator = simpleStringSplitter.iterator(); in testIterator()
78 assertNotNull(iterator); in testIterator()
79 assertTrue(iterator.hasNext()); in testIterator()
80 assertEquals("hello", iterator.next()); in testIterator()
81 assertTrue(iterator.hasNext()); in testIterator()
82 assertEquals("world", iterator.next()); in testIterator()
83 assertFalse(iterator.hasNext()); in testIterator()
/cts/tests/tests/util/src/android/util/cts/
DArrayMapTest.java242 Iterator<Map.Entry> entryIt = entrySet.iterator(); in validateArrayMap()
262 Iterator keyIt = keySet.iterator(); in validateArrayMap()
275 Iterator valueIt = valueCol.iterator(); in validateArrayMap()
289 Iterator<String> iterator1 = keySet1.iterator(); in compareBundles()
302 Iterator<String> iterator2 = keySet2.iterator(); in compareBundles()
415 Iterator<ControlledHash> it = arrayMap.keySet().iterator(); in testBasicArrayMap()
557 Iterator<Map.Entry<String, String>> iterator = map.entrySet().iterator();
560 assertTrue(iterator.hasNext());
561 Map.Entry<String, String> firstEntry = copyOf(iterator.next());
564 assertTrue(iterator.hasNext());
[all …]
DArraySetTest.java182 Iterator<E> iter = array.iterator(); in validateArraySet()
283 Iterator<ControlledHash> it = arraySet.iterator(); in testBasicArraySet()
607 Iterator<String> iterator = set.iterator();
609 assertTrue(iterator.hasNext());
610 assertEquals("value", iterator.next());
611 assertFalse(iterator.hasNext());
614 iterator.next();
/cts/tests/tests/location/src/android/location/cts/
DGnssMeasurementsEventTest.java54 Iterator<GnssMeasurement> iterator = measurements.iterator(); in testWriteToParcel() local
55 GnssMeasurement newM1 = iterator.next(); in testWriteToParcel()
57 GnssMeasurement newM2 = iterator.next(); in testWriteToParcel()
/cts/suite/audio_quality/lib/src/task/
DTaskSequential.cpp56 std::list<TaskGeneric*>::iterator i = getChildren().begin(); in run()
57 std::list<TaskGeneric*>::iterator end = getChildren().end(); in run()
94 std::list<TaskAsync*>::iterator it; in queueAsyncTask()
105 std::list<TaskAsync*>::iterator i = mAsyncTasks.begin(); in runAsyncTasksQueued()
106 std::list<TaskAsync*>::iterator end = mAsyncTasks.end(); in runAsyncTasksQueued()
DTaskSave.cpp86 std::list<TaskCase::BufferPair>::iterator it = buffersp->begin(); in handleFile()
87 std::list<TaskCase::BufferPair>::iterator end = buffersp->end(); in handleFile()
124 std::list<TaskCase::ValuePair>::iterator it = values->begin(); in handleReport()
125 std::list<TaskCase::ValuePair>::iterator end = values->end(); in handleReport()
DTaskCase.cpp71 typename std::map<android::String8, T>::iterator it; in registerGeneric()
86 typename std::map<android::String8, T>::iterator it; in findGeneric()
99 typename std::map<android::String8, T>::iterator it; in updateGeneric()
118 typename std::map<android::String8, T>::iterator it; in findAllGeneric()
315 std::list<TaskGeneric*>::iterator i = getChildren().begin(); in run()
316 std::list<TaskGeneric*>::iterator end = getChildren().end(); in run()
DTaskGeneric.cpp50 std::list<TaskGeneric*>::iterator i = mChildren.begin(); in forEachChild()
51 std::list<TaskGeneric*>::iterator end = mChildren.end(); in forEachChild()
/cts/tests/tests/drm/src/android/drm/cts/
DDrmInfoRequestTest.java73 Iterator<String> keys = attributes.keySet().iterator(); in testPutAndGetKeys()
93 Iterator<Object> iterator = request.iterator(); in testPutAndGetKeys() local
95 while (iterator.hasNext()) { in testPutAndGetKeys()
96 Object o = iterator.next(); in testPutAndGetKeys()
DDrmInfoTest.java84 Iterator<String> keys = attributes.keySet().iterator(); in testPutAndGetKeys()
104 Iterator<Object> iterator = info.iterator(); in testPutAndGetKeys() local
106 while (iterator.hasNext()) { in testPutAndGetKeys()
107 Object o = iterator.next(); in testPutAndGetKeys()
/cts/tests/tests/animation/src/android/animation/cts/
DLayoutAnimationTest.java169 Iterator<Float> iterator = alphaList.iterator(); in testAnimationWithAnimator() local
171 while(iterator.hasNext()){ in testAnimationWithAnimator()
172 float alphaValue = iterator.next(); in testAnimationWithAnimator()
/cts/tests/tests/graphics/src/android/graphics/cts/
DDashPathEffectTest.java69 PatternIterator iterator = new PatternIterator(PATTERN, OFFSET); in testDashPathEffect() local
74 if (iterator.next()) { in testDashPathEffect()
/cts/tools/utils/
DDescriptionGenerator.java307 Iterator<Node> suiteIterator = suiteElems.iterator(); in rebuildDocument()
329 Node child = suiteChildren.iterator().next(); in mergeEmptySuites()
548 Iterator<MethodDoc> iterator = methods.iterator(); in getTestMethods() local
550 while (iterator.hasNext()) { in getTestMethods()
551 MethodDoc method = iterator.next(); in getTestMethods()
DCollectAllTests.java273 for (Iterator<TestClass> iterator = testCases.values().iterator(); iterator.hasNext();) { in main()
274 TestClass type = iterator.next(); in main()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityRecordTest.java177 Iterator<CharSequence> expectedTextIterator = expectedText.iterator(); in assertEqualsText()
178 Iterator<CharSequence> receivedTextIterator = receivedText.iterator(); in assertEqualsText()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DXmpDepthDecode.java182 XMPIterator iterator = xmpExtended.iterator(); in read() local
184 XMPPropertyInfo info = (XMPPropertyInfo) iterator.next(); in read()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java174 Iterator<ResolveInfo> infoIterator = resolves.iterator(); in checkActivityInfoName()
188 Iterator<ResolveInfo> infoIterator = resolves.iterator(); in checkServiceInfoName()
211 Iterator<ProviderInfo> infoIterator = providers.iterator(); in checkProviderInfoName()
226 Iterator<InstrumentationInfo> infoIterator = instrumentations.iterator(); in checkInstrumentationInfoName()
333 Iterator<PermissionGroupInfo> infoIterator = permissionGroups.iterator(); in checkPermissionGroupInfoName()
403 Iterator<ComponentName> nameIterator = componentNames.iterator(); in checkComponentName()
417 Iterator<IntentFilter> filterIterator = intentFilters.iterator(); in checkIntentFilterAction()
DProviderInfoTest.java47 Iterator<ProviderInfo> providerIterator = providers.iterator(); in testProviderInfo()
/cts/common/device-side/nativetesthelper/src/com/android/gtestrunner/
DGtestRunner.java71 for (Iterator<Description> iter = children.iterator(); iter.hasNext(); ) { in filter()
/cts/tests/tests/media/src/android/media/cts/
DMediaFormatTest.java330 Iterator<String> it = keySet.iterator(); in testKeySetContainsAndRemove()
372 Iterator<String> it = keySet.iterator(); in testKeySetContainsAndRemove()
433 Iterator<String> it = featureSet.iterator(); in testFeatureKeySetContainsAndRemove()
503 Iterator<String> it = featureSet.iterator(); in testFeatureKeySetContainsAndRemove()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DApiPackage.java82 Iterator<Entry<String, ApiClass>> it = mApiClassMap.entrySet().iterator(); in resolveSuperClasses()
/cts/tests/tests/location/src/android/location/cts/asn1/base/
DAsn1ObjectIdentifier.java76 Iterator<Integer> valueIterator = value.iterator(); in encodeBerInternal()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCommandSession.java591 final Iterator<Bundle> iterator = commands.iterator();
592 while (iterator.hasNext()) {
593 final Bundle data = iterator.next();
595 iterator.remove();
/cts/hostsidetests/devicepolicy/app/TransferOwnerIncomingApp/src/com/android/cts/transferowner/
DDeviceAndProfileOwnerTransferIncomingTest.java106 return affiliationIds.iterator().next(); in getAffiliationId()
/cts/libs/vogar-expect/src/vogar/util/
DStrings.java76 Iterator<?> i = objects.iterator(); in join()

123