Home
last modified time | relevance | path

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

123456

/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/common/host-side/native-scanner/tests/src/com/android/compatibility/common/scanner/
DNativeScannerTest.java37 assertEquals("suite:TestSuite", it.next()); in testSingleTestNamesCase()
38 assertEquals("case:FakeTestCase", it.next()); in testSingleTestNamesCase()
39 assertEquals("test:FakeTestName", it.next()); in testSingleTestNamesCase()
51 assertEquals("suite:TestSuite", it.next()); in testMultipleTestNamesCase()
52 assertEquals("case:Case1", it.next()); in testMultipleTestNamesCase()
53 assertEquals("test:Test1", it.next()); in testMultipleTestNamesCase()
54 assertEquals("test:Test2", it.next()); in testMultipleTestNamesCase()
55 assertEquals("case:Case2", it.next()); in testMultipleTestNamesCase()
56 assertEquals("test:Test3", it.next()); in testMultipleTestNamesCase()
57 assertEquals("test:Test4", it.next()); in testMultipleTestNamesCase()
/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/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableTestUtils.java37 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT in skipCurrentTag()
56 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT in getAttributeSet()
64 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT in getAttributeSet()
72 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT in getAttributeSet()
/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/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/tools/signature-tools/test/signature/comparator/
DMethodCompareTests.java64 …onDelta classDelta = delta.getPackageDeltas().iterator().next().getClassDeltas().iterator().next(); in compareMissingMethod()
66 assertEquals(DeltaType.REMOVED, classDelta.getMethodDeltas().iterator().next().getType()); in compareMissingMethod()
84 …onDelta classDelta = delta.getPackageDeltas().iterator().next().getClassDeltas().iterator().next(); in compareAddedMethod()
86 assertEquals(DeltaType.ADDED, classDelta.getMethodDeltas().iterator().next().getType()); in compareAddedMethod()
105 …onDelta classDelta = delta.getPackageDeltas().iterator().next().getClassDeltas().iterator().next(); in compareChangedMethod()
107 assertEquals(DeltaType.CHANGED, classDelta.getMethodDeltas().iterator().next().getType()); in compareChangedMethod()
126 …onDelta classDelta = delta.getPackageDeltas().iterator().next().getClassDeltas().iterator().next(); in compareAddedParameterMethod()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
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
327 next(); in actionPressed()
400 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.java132 next(); in test()
158 next(); in test()
176 next(); in test()
216 next(); in test()
246 next(); in test()
275 next(); in test()
337 next(); in test()
365 next(); in test()
427 next(); in test()
471 next(); in test()
[all …]
/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/tools/signature-tools/test/signature/converter/
DConvertAnnotationTest.java66 IAnnotationField field = annotationFields.iterator().next(); in convertAnnotationDefinition1()
72 IAnnotation annotation = annotations.iterator().next(); in convertAnnotationDefinition1()
96 IAnnotation annotation = annotations.iterator().next(); in convertAnnotationDefinition2()
143 IAnnotationField annotationField = annotationFields.iterator().next(); in testAnnotationDefaultsInt1()
168 IAnnotationField field = annotationFields.iterator().next(); in testAnnotationDefaultsInt2()
192 IAnnotationField field = annotationFields.iterator().next(); in testAnnotationDefaultsInt3()
227 IAnnotationField annotationField = annotationFields.iterator().next(); in testAnnotationDefaultsDouble1()
253 IAnnotationField field = annotationFields.iterator().next(); in testAnnotationDefaultsDouble2()
277 IAnnotationField field = annotationFields.iterator().next(); in testAnnotationDefaultsDouble3()
317 IAnnotationField field = annotationFields.iterator().next(); in testAnnotationDefaultsEnum1()
[all …]
DConvertClassTest.java120 IAnnotation annotation = sigClass.getAnnotations().iterator().next(); in convertAnnotationTest()
139 IField field = sigClass.getFields().iterator().next(); in convertAnnotationOnFieldTest()
142 IAnnotation annotation = field.getAnnotations().iterator().next(); in convertAnnotationOnFieldTest()
247 …IClassDefinition clonable = ((IClassReference) sigClass.getInterfaces().iterator().next()).getClas… in convertClassImplementsInterface0()
271 IClassReference interfaze = (IClassReference) sigClass.getInterfaces().iterator().next(); in convertClassImplementsInterface1()
295 … IParameterizedType interfaze = (IParameterizedType) sigClass.getInterfaces().iterator().next(); in convertClassImplementsGenericInterface0()
335 … IParameterizedType interfaze = (IParameterizedType) sigClass.getInterfaces().iterator().next(); in convertGenericClassImplementsGenericInterface()
359 IConstructor constructor = sigClass.getConstructors().iterator().next(); in convertConstructor0()
370 IConstructor constructor = sigClass.getConstructors().iterator().next(); in convertConstructor1a()
381 IConstructor constructor = sigClass.getConstructors().iterator().next(); in convertConstructor1b()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DCAInstallNotificationVerifierActivity.java107 next(); in onResume()
193 private void next() { in next() method in CAInstallNotificationVerifierActivity
269 next(); in testInstalledCert()
278 next(); in testCheckedSettings()
287 next(); in testCheckedNotification()
296 next(); in testNotificationDismissed()
/cts/tools/signature-tools/test/signature/comparator/util/
DAbstractComparatorTest.java47 return apiDelta.getPackageDeltas().iterator().next(); in getSinglePackageDelta()
53 return packageDelta.getClassDeltas().iterator().next(); in getSingleClassDelta()
/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/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/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()

123456