Home
last modified time | relevance | path

Searched refs:iterator (Results 1 – 25 of 65) 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/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/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/identity/src/android/security/identity/cts/
DReaderAuthTest.java272 credential.storeStaticAuthenticationData(dynAuthKeyCerts.iterator().next(), new byte[0]); in readerAuth()
295 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in readerAuth()
328 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in readerAuth()
349 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in readerAuth()
365 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in readerAuth()
380 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in readerAuth()
416 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in readerAuth()
DProvisioningTest.java271 certificateChain.iterator().next().getPublicKey())); in createCredentialWithChallengeAndAcpId()
426 byte[] encodedCredentialCert = certificateChain.iterator().next().getEncoded(); in deleteCredential()
439 certificateChain.iterator().next().getPublicKey())); in deleteCredential()
466 Iterator<X509Certificate> it = readBackCertChain.iterator(); in testProvisionAndRetrieve()
494 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in testProvisionAndRetrieve()
640 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in testProvisionAndRetrieveWithFiltering()
678 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in testProvisionAndRetrieveElementWithNoACP()
734 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in testProvisionAndRetrieveWithEntryNotInRequest()
778 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in nonExistentEntries()
947 Iterator<X509Certificate> it = readBackCertChain.iterator(); in testProvisionAcpIdNotStartingAtZero()
[all …]
DUserAuthTest.java278 credential.storeStaticAuthenticationData(dynAuthKeyCerts.iterator().next(), new byte[0]); in doTestUserAuth()
305 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in doTestUserAuth()
338 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in doTestUserAuth()
372 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in doTestUserAuth()
DDynamicAuthTest.java146 X509Certificate key0Cert = certificates.iterator().next(); in dynamicAuthTest()
150 key0Cert.verify(certChain.iterator().next().getPublicKey()); in dynamicAuthTest()
173 key4Cert.verify(certChain.iterator().next().getPublicKey()); in dynamicAuthTest()
416 X509Certificate keyNewCert = certificates.iterator().next(); in dynamicAuthTest()
DAttestationTest.java91 X509Certificate cert = certChain.iterator().next(); in attestationTest()
/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/tests/security/src/android/keystore/cts/
DAttestation.java177 .iterator()) in retrieveUnexpectedExtensionOids()
181 .iterator()) in retrieveUnexpectedExtensionOids()
/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/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()
/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/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/common/device-side/nativetesthelper/src/com/android/gtestrunner/
DGtestRunner.java71 for (Iterator<Description> iter = children.iterator(); iter.hasNext(); ) { in filter()
/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/appsecurity/src/android/appsecurity/cts/
DApexSignatureVerificationTest.java148 final Iterator it = mWellKnownKeyFileList.iterator(); in testApexPubKeyIsNotWellKnownKey()
260 Iterator<String> keyIterator = keyPath.iterator(); in pullWellKnownSignatures()

123