Searched refs:event2 (Results 1 – 6 of 6) sorted by relevance
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | NetworkLoggingTest.java | 234 private void verifyDnsEventsEqual(DnsEvent event1, DnsEvent event2) { in verifyDnsEventsEqual() argument 235 assertThat(event1.getHostname()).isEqualTo(event2.getHostname()); in verifyDnsEventsEqual() 237 new HashSet<InetAddress>(event2.getInetAddresses())); in verifyDnsEventsEqual() 239 event2.getTotalResolvedAddressCount()); in verifyDnsEventsEqual() 240 assertThat(event1.getPackageName()).isEqualTo(event2.getPackageName()); in verifyDnsEventsEqual() 241 assertThat(event1.getTimestamp()).isEqualTo(event2.getTimestamp()); in verifyDnsEventsEqual() 242 assertThat(event1.getId()).isEqualTo(event2.getId()); in verifyDnsEventsEqual() 267 private void verifyConnectEventsEqual(ConnectEvent event1, ConnectEvent event2) { in verifyConnectEventsEqual() argument 268 assertThat(event1.getInetAddress()).isEqualTo(event2.getInetAddress()); in verifyConnectEventsEqual() 269 assertThat(event1.getPort()).isEqualTo(event2.getPort()); in verifyConnectEventsEqual() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | FillEventHistoryTest.java | 636 FillEventHistory.Event event2 = events.get(1); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored() local 637 assertThat(event2.getType()).isEqualTo(TYPE_CONTEXT_COMMITTED); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored() 638 assertThat(event2.getDatasetId()).isNull(); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored() 639 assertThat(event2.getClientState()).isNull(); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored() 640 assertThat(event2.getSelectedDatasetIds()).isEmpty(); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored() 641 assertThat(event2.getIgnoredDatasetIds()).containsExactly("id2"); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored() 644 final Map<AutofillId, String> changedFields = event2.getChangedFields(); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored() 646 assertThat(event2.getManuallyEnteredField()).isEmpty(); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored() 698 final FillEventHistory.Event event2 = events.get(1); in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected() local 699 assertThat(event2.getType()).isEqualTo(TYPE_CONTEXT_COMMITTED); in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected() [all …]
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | NumberKeyListenerTest.java | 107 KeyEvent event2 = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_A); in testLookup() local 109 assertEquals('\0', mMockNumberKeyListener.lookup(event2, str)); in testLookup()
|
D | TouchTest.java | 143 final MotionEvent event2 = MotionEvent.obtain(downTime, eventTime, in testOnTouchEvent() local 162 () -> mReturnFromTouchEvent = Touch.onTouchEvent(mTextView, spannable, event2)); in testOnTouchEvent()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 1830 MotionEvent event2 = in testSetOnGenericMotionListener() local 1833 assertTrue(view.dispatchGenericMotionEvent(event2)); in testSetOnGenericMotionListener() 1834 event2.recycle(); in testSetOnGenericMotionListener() 3120 private static void compareAndRecycleMotionEvents(MotionEvent event1, MotionEvent event2) { in compareAndRecycleMotionEvents() argument 3121 if (event1 == null && event2 == null) { in compareAndRecycleMotionEvents() 3126 event2.recycle(); in compareAndRecycleMotionEvents() 3129 if (event2 == null) { in compareAndRecycleMotionEvents() 3134 assertEquals(event1.getAction(), event2.getAction()); in compareAndRecycleMotionEvents() 3135 assertEquals(event1.getPointerCount(), event2.getPointerCount()); in compareAndRecycleMotionEvents() 3136 assertEquals(event1.getSource(), event2.getSource()); in compareAndRecycleMotionEvents() [all …]
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | LoginActivityTest.java | 273 final ContentCaptureEvent event2 = assertContextUpdated(events, in testSimpleLifecycle_changeContextAfterCreate() local 275 assertThat(event2.getContentCaptureContext()).isNull(); in testSimpleLifecycle_changeContextAfterCreate()
|