Home
last modified time | relevance | path

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

123

/cts/tests/tests/text/src/android/text/cts/
DTextUtils_SimpleStringSplitterTest.java71 Iterator<String> iterator = simpleStringSplitter.iterator(); in testIterator() local
72 assertNotNull(iterator); in testIterator()
73 assertFalse(iterator.hasNext()); in testIterator()
76 iterator = simpleStringSplitter.iterator(); in testIterator()
77 assertNotNull(iterator); in testIterator()
78 assertTrue(iterator.hasNext()); in testIterator()
79 assertEquals("hello", iterator.next()); in testIterator()
80 assertTrue(iterator.hasNext()); in testIterator()
81 assertEquals("world", iterator.next()); in testIterator()
82 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.java181 Iterator<E> iter = array.iterator(); in validateArraySet()
270 Iterator<ControlledHash> it = arraySet.iterator(); in testBasicArraySet()
523 Iterator<String> iterator = set.iterator();
525 assertTrue(iterator.hasNext());
526 assertEquals("value", iterator.next());
527 assertFalse(iterator.hasNext());
530 iterator.next();
/cts/tests/tests/location/src/android/location/cts/
DGpsStatusTest.java48 for (Iterator<GpsSatellite> iterator = satellites.iterator(); in testGetSatellites()
49 iterator.hasNext(); in testGetSatellites()
50 iterator.next()) { in testGetSatellites()
DGpsSatelliteTest.java38 Iterator<GpsSatellite> iterator = gpsStatus.getSatellites().iterator(); in setUp() local
39 if (iterator.hasNext()) { in setUp()
40 mGpsSatellite = iterator.next(); in setUp()
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()
DTaskGeneric.cpp50 std::list<TaskGeneric*>::iterator i = mChildren.begin(); in forEachChild()
51 std::list<TaskGeneric*>::iterator end = mChildren.end(); in forEachChild()
127 std::set<android::String8, android::String8>::iterator it = mAllowedStringAttributes.find(key); in addStringAttribute()
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()
/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/graphics/src/android/graphics/cts/
DDashPathEffectTest.java68 PatternIterator iterator = new PatternIterator(PATTERN, OFFSET); in testDashPathEffect() local
73 if (iterator.next()) { in testDashPathEffect()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java124 Iterator<ResolveInfo> infoIterator = resolves.iterator(); in checkActivityInfoName()
138 Iterator<ResolveInfo> infoIterator = resolves.iterator(); in checkServiceInfoName()
161 Iterator<ProviderInfo> infoIterator = providers.iterator(); in checkProviderInfoName()
176 Iterator<InstrumentationInfo> infoIterator = instrumentations.iterator(); in checkInstrumentationInfoName()
282 Iterator<PermissionGroupInfo> infoIterator = permissionGroups.iterator(); in checkPermissionGroupInfoName()
349 Iterator<ComponentName> nameIterator = componentNames.iterator(); in checkComponentName()
363 Iterator<IntentFilter> filterIterator = intentFilters.iterator(); in checkIntentFilterAction()
DProviderInfoTest.java45 Iterator<ProviderInfo> providerIterator = providers.iterator(); in testProviderInfo()
/cts/tests/tests/animation/src/android/animation/cts/
DLayoutAnimationTest.java168 Iterator<Float> iterator = alphaList.iterator(); in testAnimationWithAnimator() local
170 while(iterator.hasNext()){ in testAnimationWithAnimator()
171 float alphaValue = iterator.next(); in testAnimationWithAnimator()
/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/libcore/javautilcollections/libs/
Dguava-20.0.jar ... java.lang.Object implements java.util.Iterator { private com.google.common.base. ...
/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/renderscript/src/android/renderscript/cts/refocus/
DXmpDepthDecode.java182 XMPIterator iterator = xmpExtended.iterator(); in read() local
184 XMPPropertyInfo info = (XMPPropertyInfo) iterator.next(); in read()
/cts/hostsidetests/devicepolicy/app/TransferOwnerIncomingApp/src/com/android/cts/transferowner/
DDeviceAndProfileOwnerTransferIncomingTest.java83 return affiliationIds.iterator().next(); in getAffiliationId()
/cts/tests/tests/location/src/android/location/cts/asn1/base/
DAsn1ObjectIdentifier.java76 Iterator<Integer> valueIterator = value.iterator(); in encodeBerInternal()
/cts/libs/vogar-expect/src/vogar/util/
DStrings.java76 Iterator<?> i = objects.iterator(); in join()

123