/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PathIteratorTest.java | 62 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 …]
|
D | DashPathEffectTest.java | 70 PatternIterator iterator = new PatternIterator(PATTERN, OFFSET); in testDashPathEffect() local 75 if (iterator.next()) { in testDashPathEffect()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | TextUtils_SimpleStringSplitterTest.java | 72 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/ |
D | ArrayMapTest.java | 244 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 …]
|
D | ArraySetTest.java | 182 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/ |
D | PropertyPathCtsTest.java | 85 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/ |
D | DrmInfoRequestTest.java | 73 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()
|
D | DrmInfoTest.java | 84 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/ |
D | GnssMeasurementsEventTest.java | 72 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/ |
D | SetQueryHelper.java | 134 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()
|
D | ListQueryHelper.java | 116 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/ |
D | ProvisioningTest.java | 282 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 …]
|
D | ReaderAuthTest.java | 273 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()
|
D | UserAuthTest.java | 207 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/ |
D | QueryableHashSet.java | 57 public Iterator<E> iterator() { in iterator() method in QueryableHashSet 58 return mSet.iterator(); in iterator()
|
/cts/tests/input/src/android/input/cts/ |
D | StylusButtonInputEventTest.kt | 107 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/ |
D | ReferenceConfig.java | 74 .iterator(); in deserialize() 79 .iterator(); in deserialize()
|
D | RateDistortionCurvePair.java | 108 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/ |
D | StorageStatsManagerTest.java | 270 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/ |
D | Users.java | 279 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/ |
D | com_android_cts_verifier_camera_StatsImage.cpp | 309 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/ |
D | LayoutAnimationTest.java | 190 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/ |
D | Attestation.java | 193 .iterator()) in retrieveUnexpectedExtensionOids() 197 .iterator()) in retrieveUnexpectedExtensionOids()
|
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/ |
D | TestAppActivitiesQueryBuilder.java | 50 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/ |
D | EntitiesData.java | 74 Iterator entityIterator = entities.entities.iterator(); in writeToParcel() 87 Iterator actionIterator = entity.actions.iterator(); in writeToParcel()
|