Home
last modified time | relevance | path

Searched refs:hasNext (Results 1 – 25 of 60) sorted by relevance

123

/cts/tests/tests/text/src/android/text/cts/
DTextUtils_SimpleStringSplitterTest.java53 assertFalse(simpleStringSplitter.hasNext()); in testHasNext()
56 assertTrue(simpleStringSplitter.hasNext()); in testHasNext()
59 assertTrue(simpleStringSplitter.hasNext()); in testHasNext()
62 assertFalse(simpleStringSplitter.hasNext()); in testHasNext()
65 assertFalse(simpleStringSplitter.hasNext()); in testHasNext()
74 assertFalse(iterator.hasNext()); in testIterator()
79 assertTrue(iterator.hasNext()); in testIterator()
81 assertTrue(iterator.hasNext()); in testIterator()
83 assertFalse(iterator.hasNext()); in testIterator()
132 assertFalse(simpleStringSplitter.hasNext()); in testSetString()
[all …]
/cts/tests/tests/util/src/android/util/cts/
DArrayMapTest.java243 while (entryIt.hasNext()) { in validateArrayMap()
263 while (keyIt.hasNext()) { in validateArrayMap()
276 while (valueIt.hasNext()) { in validateArrayMap()
290 while (iterator1.hasNext()) { in compareBundles()
303 while (iterator2.hasNext()) { in compareBundles()
416 while (it.hasNext()) { in testBasicArrayMap()
560 assertTrue(iterator.hasNext());
564 assertTrue(iterator.hasNext());
568 assertFalse(iterator.hasNext());
594 assertTrue(iterator.hasNext());
[all …]
DArraySetTest.java183 while (iter.hasNext()) { in validateArraySet()
284 while (it.hasNext()) { in testBasicArraySet()
609 assertTrue(iterator.hasNext());
611 assertFalse(iterator.hasNext());
DStrictJarFileTest.java121 while (it.hasNext()) { in checkIteration()
221 while (entries.hasNext()) { in checkJarSigning_wellFormed()
/cts/tests/tests/drm/src/android/drm/cts/
DDrmInfoRequestTest.java74 while (keys.hasNext()) { in testPutAndGetKeys()
81 while (keys.hasNext()) { in testPutAndGetKeys()
87 while (infoKeys.hasNext()) { in testPutAndGetKeys()
95 while (iterator.hasNext()) { in testPutAndGetKeys()
DDrmInfoTest.java85 while (keys.hasNext()) { in testPutAndGetKeys()
92 while (keys.hasNext()) { in testPutAndGetKeys()
98 while (infoKeys.hasNext()) { in testPutAndGetKeys()
106 while (iterator.hasNext()) { in testPutAndGetKeys()
DDrmSupportInfoTest.java122 assertTrue(suffixes.hasNext()); in checkAddValidFileSuffix()
140 assertTrue(mimes.hasNext()); in checkAddValidMimeType()
/cts/libs/vogar-expect/src/vogar/expect/
DExpectationStore.java176 while (jsonReader.hasNext()) { in parse()
197 while (reader.hasNext()) { in readExpectation()
252 while (reader.hasNext()) { in readStrings()
261 while (reader.hasNext()) { in readModes()
/cts/tests/tests/database/src/android/database/cts/
DCursorJoinerTest.java147 assertTrue(cursorJoiner.hasNext()); in testNext()
156 assertTrue(cursorJoiner.hasNext()); in testNext()
164 assertTrue(cursorJoiner.hasNext()); in testNext()
/cts/libs/vogar-expect/src/vogar/expect/util/
DStrings.java77 if (!i.hasNext()) { in join()
83 while(i.hasNext()) { in join()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsVerifierTestActivity.java75 while (testMethodIt.hasNext()) { in executeTests()
77 boolean isLastSubtest = !testMethodIt.hasNext(); in executeTests()
/cts/hostsidetests/seccomp/app/src/android/seccomp/cts/app/
DSeccompDeviceTest.java98 while (iter.hasNext()) { in testCTSSyscallAllowed()
108 while (iter.hasNext()) { in testCTSSyscallBlocked()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java176 while (infoIterator.hasNext()) { in checkActivityInfoName()
190 while (infoIterator.hasNext()) { in checkServiceInfoName()
213 while (infoIterator.hasNext()) { in checkProviderInfoName()
228 while (infoIterator.hasNext()) { in checkInstrumentationInfoName()
335 while (infoIterator.hasNext()) { in checkPermissionGroupInfoName()
405 while (nameIterator.hasNext()) { in checkComponentName()
420 while (filterIterator.hasNext()) { in checkIntentFilterAction()
DProviderInfoTest.java49 while (providerIterator.hasNext()) { in testProviderInfo()
/cts/tests/tests/media/src/android/media/cts/
DMediaFormatTest.java331 while (it.hasNext()) { in testKeySetContainsAndRemove()
373 while (it.hasNext()) { in testKeySetContainsAndRemove()
434 while (it.hasNext()) { in testFeatureKeySetContainsAndRemove()
504 while (it.hasNext()) { in testFeatureKeySetContainsAndRemove()
DMediaDrmMockTest.java474 assertTrue(iter.hasNext()); in testGetSecureStops()
476 assertTrue(iter.hasNext()); in testGetSecureStops()
478 assertFalse(iter.hasNext()); in testGetSecureStops()
DUtils.java62 return scanner.hasNext() ? scanner.next() : ""; in convertStreamToString()
/cts/common/device-side/nativetesthelper/src/com/android/gtestrunner/
DGtestRunner.java71 for (Iterator<Description> iter = children.iterator(); iter.hasNext(); ) { in filter()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DGLESSurfaceView.java81 while (scanner.hasNext()) { in onSurfaceCreated()
DRootProcessScanner.java117 if (scanner.hasNext()) { in isKernelProcess()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DApexSignatureVerificationTest.java152 while (it.hasNext()) { in testApexPubKeyIsNotWellKnownKey()
261 while (keyIterator.hasNext()) { in pullWellKnownSignatures()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DApiPackage.java84 while (it.hasNext()) { in resolveSuperClasses()
/cts/tests/tests/location/src/android/location/cts/asn1/base/
DAsn1ObjectIdentifier.java79 while (valueIterator.hasNext()) { in encodeBerInternal()
/cts/tests/tests/content/src/android/content/cts/
DIntentFilterTest.java126 while (iter.hasNext()) { in testCategories()
232 while (iter.hasNext()) { in testDataSchemes()
439 while (iter.hasNext()) { in testAuthorities()
501 while (iter.hasNext()) { in testDataTypes()
550 while (iter.hasNext()) { in testActions()
676 while (iter.hasNext()) { in testDataPaths()
696 while (iter.hasNext()) { in testDataPaths()
715 while (iter.hasNext()) { in testDataPaths()
/cts/libs/input/src/com/android/cts/input/
DHidJsonParser.java216 while (keys.hasNext()) { in parseMotionEvent()

123