Searched refs:keyEvent (Results 1 – 4 of 4) sorted by relevance
62 const keyEvent = assertDefined(entry.getChildByName('keyEvent')); constant64 expect(keyEvent?.getChildByName('eventId')?.getValue()).toEqual(263024268);65 expect(keyEvent?.getChildByName('action')?.formattedValue()).toEqual(68 expect(keyEvent?.getChildByName('source')?.formattedValue()).toEqual(71 expect(keyEvent?.getChildByName('flags')?.formattedValue()).toEqual(74 expect(keyEvent?.getChildByName('deviceId')?.getValue()).toEqual(2);75 expect(keyEvent?.getChildByName('displayId')?.getValue()).toEqual(-1);76 expect(keyEvent?.getChildByName('metaState')?.formattedValue()).toEqual(79 expect(keyEvent?.getChildByName('keyCode')?.getValue()).toEqual(24);80 expect(keyEvent?.getChildByName('scanCode')?.getValue()).toEqual(115);
59 const keyEvent = await this.getKeyEventProto(index); constant61 keyEvent,62 windowDispatchEvents: await this.getDispatchEvents(keyEvent.eventId),
120 KeyEvent keyEvent = mKeyEvent; in injectEvent() local121 if (keyEvent == null) { in injectEvent()130 keyEvent = new KeyEvent(downTime, eventTime, mAction, mKeyCode, in injectEvent()134 if (!InputManagerGlobal.getInstance().injectInputEvent(keyEvent, in injectEvent()
446 RemoteKeyEvent keyEvent = event.getKeyEvent();449 .setKeyCode(keyEvent.getKeyCode())450 .setAction(keyEvent.getAction())454 private static VirtualKeyEvent keyEventToVirtualKeyEvent(KeyEvent keyEvent) {456 .setEventTimeNanos((long) (keyEvent.getEventTime() * 1e6))457 .setKeyCode(keyEvent.getKeyCode())458 .setAction(keyEvent.getAction())