Home
last modified time | relevance | path

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

12345

/cts/tests/tests/graphics/src/android/graphics/cts/
DPathIteratorTest.java62 PathIterator iterator = mPath.getPathIterator(); in testIteratorExists() local
63 assertNotNull(iterator); in testIteratorExists()
70 PathIterator iterator = mPath.getPathIterator(); in testEmptyPath() local
71 assertFalse(iterator.hasNext()); in testEmptyPath()
73 PathIterator.VERB_DONE, iterator.next(mPoints, 0)); in testEmptyPath()
76 iterator = mPath.getPathIterator(); in testEmptyPath()
77 assertFalse(iterator.hasNext()); in testEmptyPath()
79 PathIterator.VERB_DONE, iterator.next().getVerb()); in testEmptyPath()
88 PathIterator iterator; in testMove() local
90 iterator = mPath.getPathIterator(); in testMove()
[all …]
DDashPathEffectTest.java70 PatternIterator iterator = new PatternIterator(PATTERN, OFFSET); in testDashPathEffect() local
75 if (iterator.next()) { in testDashPathEffect()
/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.java244 Iterator<Map.Entry> entryIt = entrySet.iterator(); in validateArrayMap()
264 Iterator keyIt = keySet.iterator(); in validateArrayMap()
277 Iterator valueIt = valueCol.iterator(); in validateArrayMap()
291 Iterator<String> iterator1 = keySet1.iterator(); in compareBundles()
304 Iterator<String> iterator2 = keySet2.iterator(); in compareBundles()
417 Iterator<ControlledHash> it = arrayMap.keySet().iterator(); in testBasicArrayMap()
559 Iterator<Map.Entry<String, String>> iterator = map.entrySet().iterator();
562 assertTrue(iterator.hasNext());
563 Map.Entry<String, String> firstEntry = copyOf(iterator.next());
566 assertTrue(iterator.hasNext());
[all …]
DArraySetTest.java182 Iterator<E> iter = array.iterator(); in validateArraySet()
283 Iterator<ControlledHash> it = arraySet.iterator(); in testBasicArraySet()
621 Iterator<String> iterator = set.iterator();
623 assertTrue(iterator.hasNext());
624 assertEquals("value", iterator.next());
625 assertFalse(iterator.hasNext());
628 iterator.next();
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DPropertyPathCtsTest.java85 Iterator<PropertyPath.PathSegment> iterator = path.iterator(); in testPropertyPathIterator() local
89 assertThat(iterator.hasNext()).isTrue(); in testPropertyPathIterator()
90 segment = iterator.next(); in testPropertyPathIterator()
94 assertThat(iterator.hasNext()).isTrue(); in testPropertyPathIterator()
95 segment = iterator.next(); in testPropertyPathIterator()
99 assertThat(iterator.hasNext()).isTrue(); in testPropertyPathIterator()
100 segment = iterator.next(); in testPropertyPathIterator()
104 assertThat(iterator.hasNext()).isTrue(); in testPropertyPathIterator()
105 segment = iterator.next(); in testPropertyPathIterator()
109 assertThat(iterator.hasNext()).isFalse(); in testPropertyPathIterator()
/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/location/location_none/src/android/location/cts/none/
DGnssMeasurementsEventTest.java72 Iterator<GnssMeasurement> iterator = measurements.iterator(); in testWriteToParcel() local
73 GnssMeasurement newM1 = iterator.next(); in testWriteToParcel()
75 GnssMeasurement newM2 = iterator.next(); in testWriteToParcel()
80 Iterator<GnssAutomaticGainControl> gnssAgcIterator = agcs.iterator(); in testWriteToParcel()
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/
DSetQueryHelper.java134 Iterator<F> iterator = collection.iterator(); in containsAll() local
135 while (iterator.hasNext()) { in containsAll()
136 E unused = contains(iterator.next()); in containsAll()
145 Iterator<F> iterator = collection.iterator(); in doesNotContainAny() local
146 while (iterator.hasNext()) { in doesNotContainAny()
147 E unused = doesNotContain(iterator.next()); in doesNotContainAny()
DListQueryHelper.java116 Iterator<F> iterator = collection.iterator(); in containsAll() local
117 while (iterator.hasNext()) { in containsAll()
118 contains(iterator.next()); in containsAll()
127 Iterator<F> iterator = collection.iterator(); in doesNotContainAny() local
128 while (iterator.hasNext()) { in doesNotContainAny()
129 doesNotContain(iterator.next()); in doesNotContainAny()
/cts/tests/tests/identity/src/android/security/identity/cts/
DProvisioningTest.java282 certificateChain.iterator().next().getPublicKey())); in createCredentialWithChallengeAndAcpId()
437 byte[] encodedCredentialCert = certificateChain.iterator().next().getEncoded(); in deleteCredentialByName()
450 certificateChain.iterator().next().getPublicKey())); in deleteCredentialByName()
476 byte[] encodedCredentialCert = certificateChain.iterator().next().getEncoded(); in deleteCredential()
506 certificateChain.iterator().next().getPublicKey())); in deleteCredential()
529 byte[] encodedCredentialCert = certificateChain.iterator().next().getEncoded(); in proofOfOwnership()
559 certificateChain.iterator().next().getPublicKey())); in proofOfOwnership()
586 Iterator<X509Certificate> it = readBackCertChain.iterator(); in testProvisionAndRetrieve()
614 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in testProvisionAndRetrieve()
760 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in testProvisionAndRetrieveWithFiltering()
[all …]
DReaderAuthTest.java273 credential.storeStaticAuthenticationData(dynAuthKeyCerts.iterator().next(), new byte[0]); in readerAuth()
296 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in readerAuth()
329 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in readerAuth()
350 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in readerAuth()
366 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in readerAuth()
381 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in readerAuth()
417 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in readerAuth()
DUserAuthTest.java207 credential.storeStaticAuthenticationData(dynAuthKeyCerts.iterator().next(), new byte[0]); in doTestUserAuth()
234 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in doTestUserAuth()
267 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in doTestUserAuth()
301 assertEquals("org.iso.18013-5.2019", resultNamespaces.iterator().next()); in doTestUserAuth()
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/collections/
DQueryableHashSet.java57 public Iterator<E> iterator() { in iterator() method in QueryableHashSet
58 return mSet.iterator(); in iterator()
/cts/tests/input/src/android/input/cts/
DStylusButtonInputEventTest.kt107 for (button in LINUX_TO_ANDROID_KEYCODE_MAP.entries.iterator()) { in <lambda>()
126 for (button in LINUX_TO_ANDROID_KEYCODE_MAP.entries.iterator()) { in <lambda>()
150 for (button in LINUX_KEYCODE_TO_MOTIONEVENT_BUTTON.entries.iterator()) { in <lambda>()
205 for (button in LINUX_KEYCODE_TO_MOTIONEVENT_BUTTON.entries.iterator()) { in <lambda>()
/cts/hostsidetests/mediapc/videoencodingquality/bdrate/src/main/java/com/android/media/videoquality/bdrate/
DReferenceConfig.java74 .iterator(); in deserialize()
79 .iterator(); in deserialize()
DRateDistortionCurvePair.java108 Iterator<RateDistortionPoint> pointIterator = baseCurve.points().iterator(); in cluster()
149 Iterator<RateDistortionPoint> pointIterator = rateDistortionCurve.points().iterator(); in isMonotonicallyIncreasing()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageStatsManagerTest.java270 assertThat(crateInfos.iterator().next().getLabel()).isEqualTo(mTestName.getMethodName()); in queryCratesForUid_withoutSetCrateInfo_labelShouldTheSameWithFolderName()
282 assertThat(crateInfos.iterator().next().getLabel()).isEqualTo(mTestName.getMethodName()); in queryCratesForUser_withoutSetCrateInfo_labelShouldTheSameWithFolderName()
294 assertThat(crateInfos.iterator().next().getLabel()).isEqualTo(mTestName.getMethodName()); in queryCratesForPackage_withoutSetCrateInfo_labelShouldTheSameWithFolderName()
306 assertThat(crateInfos.iterator().next().getExpirationMillis()).isEqualTo(0); in queryCratesForUid_withoutSetCrateInfo_expirationShouldBeZero()
318 assertThat(crateInfos.iterator().next().getExpirationMillis()).isEqualTo(0); in queryCratesForUser_withoutSetCrateInfo_expirationShouldBeZero()
330 assertThat(crateInfos.iterator().next().getExpirationMillis()).isEqualTo(0); in queryCratesForPackage_withoutSetCrateInfo_expirationShouldBeZero()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DUsers.java279 return users.iterator().next();
320 return profiles.iterator().next();
428 Iterator<Map.Entry<Integer, AdbUser>> iterator = mCachedUsers.entrySet().iterator();
430 while (iterator.hasNext()) {
431 Map.Entry<Integer, AdbUser> entry = iterator.next();
435 iterator.remove();
/cts/apps/CtsVerifier/jni/verifier/
Dcom_android_cts_verifier_camera_StatsImage.cpp309 auto iterator = statsFormatMap.find(std::string(statsFormatChars)); in com_android_cts_verifier_camera_its_computeStatsImage() local
311 if (iterator != statsFormatMap.end()) { in com_android_cts_verifier_camera_its_computeStatsImage()
312 StatsFormat statsFormat = iterator->second; in com_android_cts_verifier_camera_its_computeStatsImage()
/cts/tests/tests/animation/src/android/animation/cts/
DLayoutAnimationTest.java190 Iterator<Float> iterator = alphaList.iterator(); in testAnimationWithAnimator() local
192 while(iterator.hasNext()){ in testAnimationWithAnimator()
193 float alphaValue = iterator.next(); in testAnimationWithAnimator()
/cts/tests/security/src/android/keystore/cts/
DAttestation.java193 .iterator()) in retrieveUnexpectedExtensionOids()
197 .iterator()) in retrieveUnexpectedExtensionOids()
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppActivitiesQueryBuilder.java50 mTestAppActivities.activities().iterator(); in get()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-35676/src/android/security/cts/CVE_2023_35676/com/google/android/apps/miphone/aiai/matchnaker/overview/api/generatedv2/
DEntitiesData.java74 Iterator entityIterator = entities.entities.iterator(); in writeToParcel()
87 Iterator actionIterator = entity.actions.iterator(); in writeToParcel()

12345