Searched refs:newEvent (Results 1 – 6 of 6) sorted by relevance
/cts/tests/location/location_none/src/android/location/cts/none/ |
D | GnssMeasurementsEventTest.java | 67 GnssMeasurementsEvent newEvent = GnssMeasurementsEvent.CREATOR.createFromParcel(parcel); in testWriteToParcel() local 69 assertEquals(100, newEvent.getClock().getLeapSecond()); in testWriteToParcel() 70 Collection<GnssMeasurement> measurements = newEvent.getMeasurements(); in testWriteToParcel() 78 Collection<GnssAutomaticGainControl> agcs = newEvent.getGnssAutomaticGainControls(); in testWriteToParcel() 86 assertEquals(true, newEvent.hasIsFullTracking()); in testWriteToParcel() 87 assertEquals(true, newEvent.isFullTracking()); in testWriteToParcel()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | KeyEventTest.java | 715 KeyEvent newEvent = KeyEvent.changeAction(mKeyEvent, KeyEvent.ACTION_UP); in testChangeAction() local 716 assertEquals(KeyEvent.ACTION_UP, newEvent.getAction()); in testChangeAction() 717 assertEquals(mKeyEvent.getFlags(), newEvent.getFlags()); in testChangeAction() 718 assertEquals(mKeyEvent.getCharacters(), newEvent.getCharacters()); in testChangeAction() 719 assertEquals(mKeyEvent.getDisplayLabel(), newEvent.getDisplayLabel()); in testChangeAction() 720 assertEquals(mKeyEvent.getDeviceId(), newEvent.getDeviceId()); in testChangeAction() 721 assertEquals(mKeyEvent.getDownTime(), newEvent.getDownTime()); in testChangeAction() 722 assertEquals(mKeyEvent.getEventTime(), newEvent.getEventTime()); in testChangeAction() 723 assertEquals(mKeyEvent.getKeyCode(), newEvent.getKeyCode()); in testChangeAction() 724 assertEquals(mKeyEvent.getRepeatCount(), newEvent.getRepeatCount()); in testChangeAction() [all …]
|
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/cts/ |
D | WalletServiceEventTest.java | 43 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/ |
D | EventReceiver.java | 49 final DeviceEvent event = DeviceEvent.newEvent(intent); in onReceive()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsKeyEventUtil.java | 272 final KeyEvent newEvent = new KeyEvent(downTime, eventTime, action, code, repeatCount, in sendKey() local 275 instrumentation.sendKeySync(newEvent); in sendKey()
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ |
D | DeviceEvent.java | 78 public static DeviceEvent newEvent(Intent intent) { in newEvent() method in DeviceEvent
|