Home
last modified time | relevance | path

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

123

/cts/tests/tests/text/src/android/text/cts/
DTextUtils_SimpleStringSplitterTest.java38 assertFalse(simpleStringSplitter.hasNext()); in testHasNext()
41 assertTrue(simpleStringSplitter.hasNext()); in testHasNext()
44 assertTrue(simpleStringSplitter.hasNext()); in testHasNext()
47 assertFalse(simpleStringSplitter.hasNext()); in testHasNext()
50 assertFalse(simpleStringSplitter.hasNext()); in testHasNext()
58 assertFalse(iterator.hasNext()); in testIterator()
63 assertTrue(iterator.hasNext()); in testIterator()
65 assertTrue(iterator.hasNext()); in testIterator()
67 assertFalse(iterator.hasNext()); in testIterator()
112 assertFalse(simpleStringSplitter.hasNext()); in testSetString()
[all …]
/cts/tests/tests/drm/src/android/drm/cts/
DDrmInfoRequestTest.java72 while (keys.hasNext()) { in testPutAndGetKeys()
79 while (keys.hasNext()) { in testPutAndGetKeys()
85 while (infoKeys.hasNext()) { in testPutAndGetKeys()
93 while (iterator.hasNext()) { in testPutAndGetKeys()
DDrmInfoTest.java82 while (keys.hasNext()) { in testPutAndGetKeys()
89 while (keys.hasNext()) { in testPutAndGetKeys()
95 while (infoKeys.hasNext()) { in testPutAndGetKeys()
103 while (iterator.hasNext()) { in testPutAndGetKeys()
DDrmSupportInfoTest.java122 assertTrue(suffixes.hasNext()); in checkAddValidFileSuffix()
140 assertTrue(mimes.hasNext()); in checkAddValidMimeType()
/cts/tools/cts-native-scanner/tests/src/com/android/cts/nativescanner/
DTestScannerTest.java44 assertFalse(it.hasNext()); in testSingleTestNamesCase()
63 assertFalse(it.hasNext()); in testMultipleTestNamesCase()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java126 while (infoIterator.hasNext()) { in checkActivityInfoName()
140 while (infoIterator.hasNext()) { in checkServiceInfoName()
163 while (infoIterator.hasNext()) { in checkProviderInfoName()
178 while (infoIterator.hasNext()) { in checkInstrumentationInfoName()
283 while (infoIterator.hasNext()) { in checkPermissionGroupInfoName()
350 while (nameIterator.hasNext()) { in checkComponentName()
365 while (filterIterator.hasNext()) { in checkIntentFilterAction()
DProviderInfoTest.java47 while (providerIterator.hasNext()) { in testProviderInfo()
/cts/libs/vogar-expect/src/vogar/
DExpectationStore.java179 while (jsonReader.hasNext()) { in parse()
200 while (reader.hasNext()) { in readExpectation()
255 while (reader.hasNext()) { in readStrings()
264 while (reader.hasNext()) { in readModes()
/cts/libs/vogar-expect/src/vogar/util/
DStrings.java77 if (!i.hasNext()) { in join()
83 while(i.hasNext()) { in join()
/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/tests/tests/location/src/android/location/cts/
DGpsStatusTest.java49 iterator.hasNext(); in testGetSatellites()
DGpsSatelliteTest.java39 if (iterator.hasNext()) { in setUp()
/cts/tests/tests/util/src/android/util/cts/
DArrayMapTest.java226 while (entryIt.hasNext()) { in validateArrayMap()
246 while (keyIt.hasNext()) { in validateArrayMap()
259 while (valueIt.hasNext()) { in validateArrayMap()
273 while (iterator1.hasNext()) { in compareBundles()
286 while (iterator2.hasNext()) { in compareBundles()
398 while (it.hasNext()) { in testBasicArrayMap()
DStrictJarFileTest.java73 while (it.hasNext()) { in testIteration()
131 while (entries.hasNext()) { in testJarSigning_wellFormed()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DApiPackage.java83 while (it.hasNext()) { in resolveSuperClasses()
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
DTestPackageXmlParserTest.java130 assertFalse(iterator.hasNext()); in testParse_hostTest()
150 assertFalse(iterator.hasNext()); in testParse_hostTest_noKnownFailures()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DTestPackageXmlParser.java139 for (Iterator<String> iter = mClassNameStack.iterator(); iter.hasNext(); ) { in startElement()
141 if (iter.hasNext()) { in startElement()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DGLESSurfaceView.java81 while (scanner.hasNext()) { in onSurfaceCreated()
DRootProcessScanner.java117 if (scanner.hasNext()) { in isKernelProcess()
/cts/tests/tests/media/src/android/media/cts/
DUtils.java44 return scanner.hasNext() ? scanner.next() : ""; in convertStreamToString()
DMediaDrmMockTest.java468 assertTrue(iter.hasNext()); in testGetSecureStops()
470 assertTrue(iter.hasNext()); in testGetSecureStops()
472 assertFalse(iter.hasNext()); in testGetSecureStops()
/cts/tests/tests/provider/src/android/provider/cts/
DSettings_SystemTest.java87 return scanner.hasNext() ? scanner.next() : ""; in convertStreamToString()
/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/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DGlesStubActivity.java195 while (scanner.hasNext()) { in onSurfaceCreated()
/cts/tests/tests/os/src/android/os/cts/
DBuildTest.java136 assertFalse(scanner.hasNext()); in assertProperty()

123