/cts/tests/tests/view/src/android/view/cts/util/ |
D | XmlUtils.java | 798 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 …]
|
D | EventUtils.java | 25 public static MotionEvent generateMouseEvent(int x, int y, int eventType, int buttonState) { in generateMouseEvent() argument 36 return MotionEvent.obtain(0, SystemClock.uptimeMillis(), eventType, 1, pp, in generateMouseEvent()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | XmlUtils.java | 799 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/content/src/android/content/cts/util/ |
D | XmlUtils.java | 826 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/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | VintfFilesCollector.java | 85 for (int eventType = parser.getEventType(); eventType != XmlPullParser.END_DOCUMENT; in guessFileName() 86 eventType = parser.next()) { in guessFileName() 88 if (eventType == XmlPullParser.START_TAG) { in guessFileName()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | ColorDrawableTest.java | 114 int eventType = -1; in testInflate() local 120 while (eventType != XmlResourceParser.START_TAG in testInflate() 121 && eventType != XmlResourceParser.END_DOCUMENT) { in testInflate() 123 eventType = parser.next(); in testInflate() 130 if (eventType == XmlResourceParser.START_TAG) { in testInflate()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | AccessibilityEventFilterUtils.java | 37 public static AccessibilityEventFilter filterForEventType(int eventType) { in filterForEventType() argument 38 return (new AccessibilityEventTypeMatcher(eventType))::matches; in filterForEventType() 46 public static AccessibilityEventFilter filterForEventTypeWithResource(int eventType, in filterForEventTypeWithResource() argument 52 return (both(new AccessibilityEventTypeMatcher(eventType)).and(matchResourceName))::matches; in filterForEventTypeWithResource()
|
/cts/tests/apppredictionservice/src/android/apppredictionservice/cts/ |
D | ServiceReporter.java | 206 final int eventType; field in ServiceReporter.Event 208 public Event(AppTarget target, int launchLocation, int eventType) { in Event() argument 211 this.eventType = eventType; in Event()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | XmlTest.java | 407 int eventType = -1; in testAsAttributeSet() local 409 eventType = xp.getEventType(); in testAsAttributeSet() 415 while (eventType != XmlResourceParser.START_TAG in testAsAttributeSet() 416 && eventType != XmlResourceParser.END_DOCUMENT) { in testAsAttributeSet() 418 eventType = xp.next(); in testAsAttributeSet() 425 if (eventType == XmlResourceParser.START_TAG) { in testAsAttributeSet()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | SignificantMotionTestActivity.java | 377 int eventType = event.sensor.getType(); 381 eventType); 382 Assert.assertEquals(eventTypeMessage, Sensor.TYPE_SIGNIFICANT_MOTION, eventType);
|
D | OffBodySensorTestActivity.java | 179 int eventType = registry.event.sensor.getType(); in verifyEvent() local 183 eventType); in verifyEvent() 186 eventType); in verifyEvent()
|
/cts/tests/tests/media/libmediandkjni/ |
D | native-mediadrm-jni.cpp | 529 AMediaDrmEventType eventType, in listener() argument 532 switch (eventType) { in listener() 740 std::string eventType(utf8_outValue); in Java_android_media_cts_NativeMediaDrmClearkeyTest_testClearKeyPlaybackNative() local 741 if (eventType.compare("true") == 0) { in Java_android_media_cts_NativeMediaDrmClearkeyTest_testClearKeyPlaybackNative()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | VirtualContainerView.java | 404 private void sendAccessibilityEvent(int eventType, int virtualId) { in sendAccessibilityEvent() argument 406 event.setEventType(eventType); in sendAccessibilityEvent() 410 Log.v(TAG, "sendAccessibilityEvent(" + eventType + ", " + virtualId + "): " + event); in sendAccessibilityEvent()
|
D | Helper.java | 1050 int eventType, @Nullable String datasetId, in assertFillEvent() argument 1054 assertWithMessage("Wrong type for %s", event).that(event.getType()).isEqualTo(eventType); in assertFillEvent()
|
/cts/hostsidetests/atrace/src/android/atrace/cts/ |
D | AtraceHostTest.java | 53 void onTraceEntry(String threadName, int pid, int tid, String eventType, String args); in onTraceEntry() argument
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioRecordTest.java | 756 final int eventType = MediaSyncEvent.SYNC_EVENT_PRESENTATION_COMPLETE; in testSynchronizedRecord() local 757 MediaSyncEvent event = MediaSyncEvent.createEvent(eventType) in testSynchronizedRecord() 760 assertEquals(TEST_NAME, eventType, event.getType()); in testSynchronizedRecord()
|