Home
last modified time | relevance | path

Searched refs:eventType (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/util/
DXmlUtils.java799 int eventType = parser.getEventType(); in readThisMapXml() local
801 if (eventType == parser.START_TAG) { in readThisMapXml()
804 } else if (eventType == parser.END_TAG) { in readThisMapXml()
811 eventType = parser.next(); in readThisMapXml()
812 } while (eventType != parser.END_DOCUMENT); in readThisMapXml()
828 int eventType = parser.getEventType(); in readThisArrayMapXml() local
830 if (eventType == parser.START_TAG) { in readThisArrayMapXml()
833 } else if (eventType == parser.END_TAG) { in readThisArrayMapXml()
840 eventType = parser.next(); in readThisArrayMapXml()
841 } while (eventType != parser.END_DOCUMENT); in readThisArrayMapXml()
[all …]
/cts/tests/tests/view/src/android/view/cts/util/
DXmlUtils.java798 int eventType = parser.getEventType(); in readThisMapXml() local
800 if (eventType == parser.START_TAG) { in readThisMapXml()
803 } else if (eventType == parser.END_TAG) { in readThisMapXml()
810 eventType = parser.next(); in readThisMapXml()
811 } while (eventType != parser.END_DOCUMENT); in readThisMapXml()
827 int eventType = parser.getEventType(); in readThisArrayMapXml() local
829 if (eventType == parser.START_TAG) { in readThisArrayMapXml()
832 } else if (eventType == parser.END_TAG) { in readThisArrayMapXml()
839 eventType = parser.next(); in readThisArrayMapXml()
840 } while (eventType != parser.END_DOCUMENT); in readThisArrayMapXml()
[all …]
/cts/tests/tests/content/src/android/content/cts/util/
DXmlUtils.java826 int eventType = parser.getEventType(); in readThisMapXml() local
828 if (eventType == parser.START_TAG) { in readThisMapXml()
831 } else if (eventType == parser.END_TAG) { in readThisMapXml()
838 eventType = parser.next(); in readThisMapXml()
839 } while (eventType != parser.END_DOCUMENT); in readThisMapXml()
855 int eventType = parser.getEventType(); in readThisArrayMapXml() local
857 if (eventType == parser.START_TAG) { in readThisArrayMapXml()
860 } else if (eventType == parser.END_TAG) { in readThisArrayMapXml()
867 eventType = parser.next(); in readThisArrayMapXml()
868 } while (eventType != parser.END_DOCUMENT); in readThisArrayMapXml()
[all …]
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTestSummaryXml.java104 int eventType = parser.getEventType(); in parse() local
105 while (eventType != XmlPullParser.END_DOCUMENT) { in parse()
106 if (eventType == XmlPullParser.START_TAG && parser.getName().equals( in parse()
110 } else if (eventType == XmlPullParser.START_TAG && parser.getName().equals( in parse()
113 } else if (eventType == XmlPullParser.START_TAG && parser.getName().equals( in parse()
122 eventType = parser.next(); in parse()
DTestCase.java112 int eventType = parser.next(); in parse() local
113 while (eventType != XmlPullParser.END_DOCUMENT) { in parse()
114 if (eventType == XmlPullParser.START_TAG && parser.getName().equals(Test.TAG)) { in parse()
118 } else if (eventType == XmlPullParser.END_TAG && parser.getName().equals(TAG)) { in parse()
121 eventType = parser.next(); in parse()
DTestSuite.java167 int eventType = parser.next(); in parse() local
168 while (eventType != XmlPullParser.END_DOCUMENT) { in parse()
169 if (eventType == XmlPullParser.START_TAG && parser.getName().equals(TestSuite.TAG)) { in parse()
173 } else if (eventType == XmlPullParser.START_TAG && parser.getName().equals( in parse()
178 } else if (eventType == XmlPullParser.END_TAG && parser.getName().equals(TAG)) { in parse()
181 eventType = parser.next(); in parse()
DTestResults.java62 int eventType = parser.getEventType(); in parse() local
63 while (eventType != XmlPullParser.END_DOCUMENT) { in parse()
64 if (eventType == XmlPullParser.START_TAG && parser.getName().equals( in parse()
68 if (eventType == XmlPullParser.START_TAG && parser.getName().equals( in parse()
78 eventType = parser.next(); in parse()
DDeviceInfoResult.java232 int eventType = parser.getEventType(); in parse() local
233 while (eventType != XmlPullParser.END_DOCUMENT) { in parse()
234 if (eventType == XmlPullParser.START_TAG) { in parse()
249 } else if (eventType == XmlPullParser.END_TAG && parser.getName().equals(TAG)) { in parse()
252 eventType = parser.next(); in parse()
309 for (int eventType = parser.getEventType(); in parseTag()
310 eventType != XmlPullParser.END_DOCUMENT; in parseTag()
311 eventType = parser.next()) { in parseTag()
313 if (eventType == XmlPullParser.START_TAG && parser.getName().equals(subTag)) { in parseTag()
321 } else if (eventType == XmlPullParser.END_TAG && parser.getName().equals(tag)) { in parseTag()
DTest.java343 int eventType = parser.next(); in parse() local
344 while (eventType != XmlPullParser.END_DOCUMENT) { in parse()
345 if (eventType == XmlPullParser.START_TAG && parser.getName().equals(SCENE_TAG)) { in parse()
347 } else if (eventType == XmlPullParser.START_TAG && parser.getName().equals(STACK_TAG)) { in parse()
349 } else if (eventType == XmlPullParser.START_TAG && TestLog.isTag(parser.getName())) { in parse()
351 } else if (eventType == XmlPullParser.END_TAG && parser.getName().equals(TAG)) { in parse()
354 eventType = parser.next(); in parse()
DTestPackageResult.java203 int eventType = parser.getEventType(); in parse() local
204 while (eventType != XmlPullParser.END_DOCUMENT) { in parse()
205 if (eventType == XmlPullParser.START_TAG && parser.getName().equals(TestSuite.TAG)) { in parse()
210 if (eventType == XmlPullParser.END_TAG && parser.getName().equals(TAG)) { in parse()
213 eventType = parser.next(); in parse()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DColorDrawableTest.java96 int eventType = -1; in testInflate() local
101 while (eventType != XmlResourceParser.START_TAG in testInflate()
102 && eventType != XmlResourceParser.END_DOCUMENT) { in testInflate()
104 eventType = parser.next(); in testInflate()
111 if (eventType == XmlResourceParser.START_TAG) { in testInflate()
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/
DDeviceInfoResultTest.java47 int eventType = parser.getEventType(); in setUp()
48 while (eventType != XmlPullParser.END_DOCUMENT) { in setUp()
49 if (eventType == XmlPullParser.START_TAG && parser.getName().equals(TAG)) { in setUp()
53 eventType = parser.next(); in setUp()
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityActivityTestCase.java99 final int eventType = event.getEventType(); in startActivityAndWaitForFirstEvent()
105 return (eventType == AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED); in startActivityAndWaitForFirstEvent()
/cts/tests/tests/util/src/android/util/cts/
DXmlTest.java395 int eventType = -1; in testAsAttributeSet() local
397 eventType = xp.getEventType(); in testAsAttributeSet()
403 while (eventType != XmlResourceParser.START_TAG in testAsAttributeSet()
404 && eventType != XmlResourceParser.END_DOCUMENT) { in testAsAttributeSet()
406 eventType = xp.next(); in testAsAttributeSet()
413 if (eventType == XmlResourceParser.START_TAG) { in testAsAttributeSet()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DDeqpTestRunner.java518 String eventType = values.get("dEQP-EventType"); in handleStatus() local
520 if (eventType == null) { in handleStatus()
524 if (eventType.compareTo("BeginSession") == 0) { in handleStatus()
526 } else if (eventType.compareTo("EndSession") == 0) { in handleStatus()
528 } else if (eventType.compareTo("BeginTestCase") == 0) { in handleStatus()
530 } else if (eventType.compareTo("EndTestCase") == 0) { in handleStatus()
532 } else if (eventType.compareTo("TestCaseResult") == 0) { in handleStatus()
534 } else if (eventType.compareTo("TerminateTestCase") == 0) { in handleStatus()
536 } else if (eventType.compareTo("TestLogData") == 0) { in handleStatus()
/cts/hostsidetests/atrace/src/android/atrace/cts/
DAtraceHostTest.java45 void onTraceEntry(String threadName, int pid, int tid, String eventType, String args); in onTraceEntry() argument
/cts/tests/tests/media/src/android/media/cts/
DAudioRecordTest.java524 final int eventType = MediaSyncEvent.SYNC_EVENT_PRESENTATION_COMPLETE; in testSynchronizedRecord() local
525 MediaSyncEvent event = MediaSyncEvent.createEvent(eventType) in testSynchronizedRecord()
528 assertEquals(TEST_NAME, eventType, event.getType()); in testSynchronizedRecord()
/cts/suite/cts/deviceTests/browserbench/assets/octane/js/
Djquery.js2946 j, events, special, handle, eventType, handleObj;
2969 eventType = events[ type ] || [];
2970 origCount = eventType.length;
2974 for ( j = 0; j < eventType.length; j++ ) {
2975 handleObj = eventType[ j ];
2981 eventType.splice( j--, 1 );
2984 eventType.delegateCount--;
2994 if ( eventType.length === 0 && origCount !== eventType.length ) {