Home
last modified time | relevance | path

Searched refs:newEvent (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DKeyEventTest.java698 KeyEvent newEvent = KeyEvent.changeAction(mKeyEvent, KeyEvent.ACTION_UP); in testChangeAction() local
699 assertEquals(KeyEvent.ACTION_UP, newEvent.getAction()); in testChangeAction()
700 assertEquals(mKeyEvent.getFlags(), newEvent.getFlags()); in testChangeAction()
701 assertEquals(mKeyEvent.getCharacters(), newEvent.getCharacters()); in testChangeAction()
702 assertEquals(mKeyEvent.getDisplayLabel(), newEvent.getDisplayLabel()); in testChangeAction()
703 assertEquals(mKeyEvent.getDeviceId(), newEvent.getDeviceId()); in testChangeAction()
704 assertEquals(mKeyEvent.getDownTime(), newEvent.getDownTime()); in testChangeAction()
705 assertEquals(mKeyEvent.getEventTime(), newEvent.getEventTime()); in testChangeAction()
706 assertEquals(mKeyEvent.getKeyCode(), newEvent.getKeyCode()); in testChangeAction()
707 assertEquals(mKeyEvent.getRepeatCount(), newEvent.getRepeatCount()); in testChangeAction()
[all …]
/cts/tests/location/location_none/src/android/location/cts/none/
DGnssMeasurementsEventTest.java61 GnssMeasurementsEvent newEvent = GnssMeasurementsEvent.CREATOR.createFromParcel(parcel); in testWriteToParcel() local
62 assertEquals(100, newEvent.getClock().getLeapSecond()); in testWriteToParcel()
63 Collection<GnssMeasurement> measurements = newEvent.getMeasurements(); in testWriteToParcel()
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/cts/
DWalletServiceEventTest.java43 WalletServiceEvent newEvent = WalletServiceEvent.CREATOR.createFromParcel(p); in testParcel_toParcel() local
44 assertThat(event.getEventType()).isEqualTo(newEvent.getEventType()); in testParcel_toParcel()
/cts/hostsidetests/inputmethodservice/deviceside/provider/src/android/inputmethodservice/cts/receiver/
DEventReceiver.java49 final DeviceEvent event = DeviceEvent.newEvent(intent); in onReceive()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsKeyEventUtil.java196 final KeyEvent newEvent = new KeyEvent(downTime, eventTime, action, code, repeatCount, in sendKey() local
200 imm.dispatchKeyEventFromInputMethod(imm.isActive() ? null : targetView, newEvent); in sendKey()
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/
DDeviceEvent.java78 public static DeviceEvent newEvent(Intent intent) { in newEvent() method in DeviceEvent