Home
last modified time | relevance | path

Searched refs:next (Results 1 – 25 of 119) sorted by relevance

12345

/cts/tests/tests/text/src/android/text/cts/
DTextUtils_SimpleStringSplitterTest.java43 simpleStringSplitter.next(); in testHasNext()
46 simpleStringSplitter.next(); in testHasNext()
64 assertEquals("hello", iterator.next()); in testIterator()
66 assertEquals("world", iterator.next()); in testIterator()
74 assertEquals("first", simpleStringSplitter.next()); in testNext1()
75 assertEquals(" second", simpleStringSplitter.next()); in testNext1()
77 simpleStringSplitter.next(); in testNext1()
87 assertEquals(" ", simpleStringSplitter.next()); in testNext2()
89 assertEquals("", simpleStringSplitter.next()); in testNext2()
92 assertEquals("", simpleStringSplitter.next()); in testNext2()
[all …]
/cts/tools/cts-native-scanner/tests/src/com/android/cts/nativescanner/
DTestScannerTest.java41 assertEquals("suite:TestSuite", it.next()); in testSingleTestNamesCase()
42 assertEquals("case:FakeTestCase", it.next()); in testSingleTestNamesCase()
43 assertEquals("test:FakeTestName", it.next()); in testSingleTestNamesCase()
56 assertEquals("suite:TestSuite", it.next()); in testMultipleTestNamesCase()
57 assertEquals("case:Case1", it.next()); in testMultipleTestNamesCase()
58 assertEquals("test:Test1", it.next()); in testMultipleTestNamesCase()
59 assertEquals("test:Test2", it.next()); in testMultipleTestNamesCase()
60 assertEquals("case:Case2", it.next()); in testMultipleTestNamesCase()
61 assertEquals("test:Test3", it.next()); in testMultipleTestNamesCase()
62 assertEquals("test:Test4", it.next()); in testMultipleTestNamesCase()
/cts/tests/tests/graphics/src/android/graphics/cts/
DRegionIteratorTest.java37 regionIterator.next(null); in testNext()
41 assertTrue(regionIterator.next(rect)); in testNext()
47 assertFalse(regionIterator.next(rect)); in testNext()
58 assertTrue(regionIterator.next(rect)); in testNext()
63 assertTrue(regionIterator.next(rect)); in testNext()
68 assertTrue(regionIterator.next(rect)); in testNext()
74 assertFalse(regionIterator.next(rect)); in testNext()
85 assertTrue(regionIterator.next(rect)); in testNext()
90 assertTrue(regionIterator.next(rect)); in testNext()
96 assertFalse(regionIterator.next(rect)); in testNext()
[all …]
DDashPathEffectTest.java66 if (iterator.next()) { in testDashPathEffect()
93 next(); in PatternIterator()
100 boolean next() { in next() method in DashPathEffectTest.PatternIterator
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
DTestFilterTest.java63 assertEquals(TEST2, iter.next()); in testFilter_excludeTest()
64 assertEquals(TEST3, iter.next()); in testFilter_excludeTest()
74 assertEquals(TEST3, filteredList.iterator().next()); in testFilter_excludeClass()
85 assertEquals(TEST1, iter.next()); in testFilter_includeClass()
86 assertEquals(TEST2, iter.next()); in testFilter_includeClass()
97 assertEquals(TEST1, iter.next()); in testFilter_includeTest()
107 assertEquals(TEST3, filteredList.iterator().next()); in testFilter_includeClasses()
119 assertEquals(TEST1, iter.next()); in testFilter_includeTests()
120 assertEquals(TEST3, iter.next()); in testFilter_includeTests()
164 assertEquals(TEST2, iter.next()); in testFilter_includeClassAndExcludeTest()
DTestPackageXmlParserTest.java118 TestIdentifier firstTest = iterator.next(); in testParse_hostTest()
122 TestIdentifier secondTest = iterator.next(); in testParse_hostTest()
126 TestIdentifier thirdTest = iterator.next(); in testParse_hostTest()
142 TestIdentifier firstTest = iterator.next(); in testParse_hostTest_noKnownFailures()
146 TestIdentifier thirdTest = iterator.next(); in testParse_hostTest_noKnownFailures()
205 final Map<String, String> firstInstance = iterator.next(); in testParse_instancedMultiple()
206 final Map<String, String> secondInstance = iterator.next(); in testParse_instancedMultiple()
229 final Map<String, String> firstInstance = iterator.next(); in testParse_instancedSingle()
250 final Map<String, String> firstInstance = iterator.next(); in testParse_instancedEmptys()
251 final Map<String, String> secondInstance = iterator.next(); in testParse_instancedEmptys()
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/
DTestResultsTest.java67 TestPackageResult pkg = parser.getPackages().iterator().next(); in testParse_package()
94 TestPackageResult pkg = parser.getPackages().iterator().next(); in testParse_test()
95 TestSuite comSuite = pkg.getTestSuites().iterator().next(); in testParse_test()
97 TestSuite exampleSuite = comSuite.getTestSuites().iterator().next(); in testParse_test()
99 TestCase exampleCase = exampleSuite.getTestCases().iterator().next(); in testParse_test()
101 Test exampleTest = exampleCase.getTests().iterator().next(); in testParse_test()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/
DLocationModeTestActivity.java92 next(); in onResume()
197 protected void next() { in next() method in LocationModeTestActivity
223 next(); in testIsOn()
231 next(); in testIsExpectedMode()
242 next(); in testSecureProviderIsEnabled()
249 next(); in testSecureProviderIsDisabled()
256 next(); in testManagerProviderIsEnabled()
263 next(); in testManagerProviderIsDisabled()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DConditionProviderVerifierActivity.java98 next(); in test()
127 next(); in test()
161 next(); in test()
213 next(); in test()
261 next(); in test()
301 next(); in test()
313 next(); in test()
356 next(); in test()
420 next(); in test()
426 next(); in test()
[all …]
DInteractiveVerifierActivity.java110 void setUp() { status = READY; next(); }; in setUp()
113 void test() { status = FAIL; next(); }; in test()
116 void tearDown() { next(); }; in tearDown()
151 mCurrentTest = mTestOrder.next(); in onCreate()
154 mCurrentTest = mTestOrder.next(); in onCreate()
180 next(); in onResume()
277 mCurrentTest = mTestOrder.next(); in run()
293 protected void next() { in next() method in InteractiveVerifierActivity
328 next(); in actionPressed()
402 next(); in test()
[all …]
DPackagePriorityVerifierActivity.java90 next(); in test()
110 next(); in test()
136 next(); in test()
178 next(); in test()
223 next(); in test()
DAttentionManagementVerifierActivity.java146 next(); in test()
173 next(); in test()
191 next(); in test()
231 next(); in test()
261 next(); in test()
290 next(); in test()
352 next(); in test()
380 next(); in test()
442 next(); in test()
486 next(); in test()
[all …]
DNotificationListenerVerifierActivity.java176 next(); in test()
250 next(); in test()
296 next(); in test()
343 next(); in test()
378 next(); in test()
406 next(); in test()
445 next(); in test()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DRootProcessScanner.java154 String name = scanner.next(); in isRootProcess()
192 String next = scanner.next(); in findToken() local
193 if (next.equals(token)) { in findToken()
221 return scanner.next(); in getProcessName()
/cts/tests/tests/drm/src/android/drm/cts/
DDrmInfoRequestTest.java73 final String key = (String) keys.next(); in testPutAndGetKeys()
80 final String key = (String) keys.next(); in testPutAndGetKeys()
86 final String key = (String) infoKeys.next(); in testPutAndGetKeys()
94 Object o = iterator.next(); in testPutAndGetKeys()
DDrmInfoTest.java83 final String key = (String) keys.next(); in testPutAndGetKeys()
90 final String key = (String) keys.next(); in testPutAndGetKeys()
96 final String key = (String) infoKeys.next(); in testPutAndGetKeys()
104 Object o = iterator.next(); in testPutAndGetKeys()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DCAInstallNotificationVerifierActivity.java109 next(); in onResume()
199 private void next() { in next() method in CAInstallNotificationVerifierActivity
287 next(); in testInstalledCert()
296 next(); in testCheckedSettings()
305 next(); in testRemovedScreenLock()
314 next(); in testCheckedNotification()
323 next(); in testNotificationDismissed()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableTestUtils.java45 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT in skipCurrentTag()
64 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT in getAttributeSet()
72 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT in getAttributeSet()
80 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT in getAttributeSet()
101 while ((type = parser.next()) != XmlPullParser.START_TAG in getResourceParser()
/cts/tests/tests/content/src/android/content/cts/util/
DXmlUtils.java54 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT in skipCurrentTag()
298 Map.Entry e = (Map.Entry)i.next(); in writeMapXml()
838 eventType = parser.next(); in readThisMapXml()
867 eventType = parser.next(); in readThisArrayMapXml()
925 eventType = parser.next(); in readThisListXml()
990 eventType = parser.next(); in readThisSetXml()
1025 parser.next(); in readThisIntArrayXml()
1059 eventType = parser.next(); in readThisIntArrayXml()
1092 parser.next(); in readThisLongArrayXml()
1121 eventType = parser.next(); in readThisLongArrayXml()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/util/
DXmlUtils.java52 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT in skipCurrentTag()
271 Map.Entry e = (Map.Entry)i.next(); in writeMapXml()
811 eventType = parser.next(); in readThisMapXml()
840 eventType = parser.next(); in readThisArrayMapXml()
898 eventType = parser.next(); in readThisListXml()
963 eventType = parser.next(); in readThisSetXml()
998 parser.next(); in readThisIntArrayXml()
1032 eventType = parser.next(); in readThisIntArrayXml()
1065 parser.next(); in readThisLongArrayXml()
1094 eventType = parser.next(); in readThisLongArrayXml()
[all …]
/cts/tests/tests/view/src/android/view/cts/util/
DXmlUtils.java51 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT in skipCurrentTag()
270 Map.Entry e = (Map.Entry)i.next(); in writeMapXml()
810 eventType = parser.next(); in readThisMapXml()
839 eventType = parser.next(); in readThisArrayMapXml()
897 eventType = parser.next(); in readThisListXml()
962 eventType = parser.next(); in readThisSetXml()
997 parser.next(); in readThisIntArrayXml()
1031 eventType = parser.next(); in readThisIntArrayXml()
1064 parser.next(); in readThisLongArrayXml()
1093 eventType = parser.next(); in readThisLongArrayXml()
[all …]
/cts/tests/tests/os/jni/seccomp-tests/tests/
Dtest_harness.h395 struct __test_metadata *prev, *next; member
421 t->next = NULL; in __register_test()
426 t->next = NULL; in __register_test()
428 t->prev->next = t; in __register_test()
431 t->next = __test_list; in __register_test()
432 t->next->prev = t; in __register_test()
502 for (t = __test_list; t; t = t->next) { in test_harness_run()
/cts/tests/tests/location/src/android/location/cts/
DGnssMeasurementsEventTest.java55 GnssMeasurement newM1 = iterator.next(); in testWriteToParcel()
57 GnssMeasurement newM2 = iterator.next(); in testWriteToParcel()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java127 current = infoIterator.next().activityInfo.name; in checkActivityInfoName()
141 current = infoIterator.next().serviceInfo.name; in checkServiceInfoName()
164 current = infoIterator.next().name; in checkProviderInfoName()
179 current = infoIterator.next().name; in checkInstrumentationInfoName()
284 current = infoIterator.next().name; in checkPermissionGroupInfoName()
351 current = nameIterator.next().getClassName(); in checkComponentName()
366 currentFilter = filterIterator.next(); in checkIntentFilterAction()
/cts/tests/tests/widget/src/android/widget/cts/
DMediaControllerTest.java239 final MockOnClickListener next = new MockOnClickListener(); in testSetEnabled() local
241 mMediaController.setPrevNextListeners(next, prev); in testSetEnabled()
261 final MockOnClickListener next = new MockOnClickListener(); in testSetPrevNextListeners() local
263 mMediaController.setPrevNextListeners(next, prev); in testSetPrevNextListeners()

12345