Home
last modified time | relevance | path

Searched refs:VerifiedKeyEvent (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DVerifiedKeyEventTest.kt63 val unparceledKeyEvent = VerifiedKeyEvent.CREATOR.createFromParcel(parcel) in testParcelUnparcel()
83 assertTrue(unparceledEvent is VerifiedKeyEvent) in testParcelInputEvent()
84 compareVerifiedKeyEvents(keyEvent, unparceledEvent as VerifiedKeyEvent) in testParcelInputEvent()
100 assertTrue(unparceledEvent is VerifiedKeyEvent) in testParcelKeyEvent()
101 compareVerifiedKeyEvents(keyEvent, unparceledEvent as VerifiedKeyEvent) in testParcelKeyEvent()
115 val unparceledEvent = VerifiedKeyEvent.CREATOR.createFromParcel(parcel) in testParcelInputToKeyEvent()
142 private fun createVerifiedKeyEvent(): VerifiedKeyEvent { in createVerifiedKeyEvent()
143 return VerifiedKeyEvent(DEVICE_ID, EVENT_TIME_NANOS, SOURCE, DISPLAY_ID, ACTION, in createVerifiedKeyEvent()
147 private fun compareVerifiedKeyEvents(event1: VerifiedKeyEvent, event2: VerifiedKeyEvent) { in compareVerifiedKeyEvents()
/frameworks/base/core/java/android/view/
DVerifiedKeyEvent.java43 public final class VerifiedKeyEvent extends VerifiedInputEvent implements Parcelable { class
184 public VerifiedKeyEvent( in VerifiedKeyEvent() method in VerifiedKeyEvent
301 VerifiedKeyEvent that = (VerifiedKeyEvent) o; in equals()
360 /* package-private */ VerifiedKeyEvent(@android.annotation.NonNull Parcel in) { in VerifiedKeyEvent() method in VerifiedKeyEvent
389 public static final @android.annotation.NonNull Parcelable.Creator<VerifiedKeyEvent> CREATOR
390 = new Parcelable.Creator<VerifiedKeyEvent>() {
392 public VerifiedKeyEvent[] newArray(int size) {
393 return new VerifiedKeyEvent[size];
397 public VerifiedKeyEvent createFromParcel(@android.annotation.NonNull Parcel in) {
398 return new VerifiedKeyEvent(in);
DVerifiedKeyEvent.aidl19 parcelable VerifiedKeyEvent;
DVerifiedInputEvent.java153 return VerifiedKeyEvent.CREATOR.createFromParcel(in);
/frameworks/native/libs/input/tests/
DStructLayout_test.cpp119 sizeof(VerifiedKeyEvent::action) + sizeof(VerifiedKeyEvent::downTimeNanos) + in TestVerifiedEventSize()
120 sizeof(VerifiedKeyEvent::flags) + sizeof(VerifiedKeyEvent::keyCode) + in TestVerifiedEventSize()
121 sizeof(VerifiedKeyEvent::scanCode) + sizeof(VerifiedKeyEvent::metaState) + in TestVerifiedEventSize()
122 sizeof(VerifiedKeyEvent::repeatCount); in TestVerifiedEventSize()
123 static_assert(sizeof(VerifiedKeyEvent) == VERIFIED_KEY_EVENT_SIZE); in TestVerifiedEventSize()
DVerifiedInputEvent_test.cpp54 VerifiedKeyEvent verified = verifiedKeyEventFromKeyEvent(event); in TEST()
74 VerifiedKeyEvent verified = verifiedKeyEventFromKeyEvent(event); in TEST()
80 VerifiedKeyEvent verified = verifiedKeyEventFromKeyEvent(event); in TEST()
/frameworks/base/core/jni/
Dandroid_view_VerifiedKeyEvent.h24 class VerifiedKeyEvent; variable
28 extern jobject android_view_VerifiedKeyEvent(JNIEnv* env, const VerifiedKeyEvent& event);
Dandroid_view_VerifiedKeyEvent.cpp33 jobject android_view_VerifiedKeyEvent(JNIEnv* env, const VerifiedKeyEvent& event) { in android_view_VerifiedKeyEvent()
/frameworks/native/services/inputflinger/dispatcher/
DEntry.h226 VerifiedKeyEvent verifiedKeyEventFromKeyEntry(const KeyEntry& entry);
DEntry.cpp31 VerifiedKeyEvent verifiedKeyEventFromKeyEntry(const KeyEntry& entry) { in verifiedKeyEventFromKeyEntry()
DInputDispatcher.cpp358 size = sizeof(VerifiedKeyEvent); in sign()
2632 VerifiedKeyEvent verifiedEvent = verifiedKeyEventFromKeyEntry(keyEntry); in getSignature()
3483 VerifiedKeyEvent verifiedKeyEvent = verifiedKeyEventFromKeyEvent(keyEvent); in verifyInputEvent()
3484 result = std::make_unique<VerifiedKeyEvent>(verifiedKeyEvent); in verifyInputEvent()
/frameworks/native/include/input/
DInput.h798 struct __attribute__((__packed__)) VerifiedKeyEvent : public VerifiedInputEvent { struct
822 VerifiedKeyEvent verifiedKeyEventFromKeyEvent(const KeyEvent& event); argument
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp309 VerifiedKeyEvent verifiedEvent = verifiedKeyEventFromKeyEvent(event); in TEST_F()
321 VerifiedKeyEvent verifiedEvent = verifiedKeyEventFromKeyEvent(event); in TEST_F()
1677 const VerifiedKeyEvent& verifiedKey = static_cast<const VerifiedKeyEvent&>(*verified); in TEST_F()
/frameworks/native/libs/input/
DInput.cpp89 VerifiedKeyEvent verifiedKeyEventFromKeyEvent(const KeyEvent& event) { in verifiedKeyEventFromKeyEvent()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1503 static_cast<const VerifiedKeyEvent&>(*verifiedEvent)); in nativeVerifyInputEvent()
/frameworks/base/config/
Dpreloaded-classes6957 android.view.VerifiedKeyEvent$1
6958 android.view.VerifiedKeyEvent
Dboot-image-profile.txt47276 Landroid/view/VerifiedKeyEvent$1;
47277 Landroid/view/VerifiedKeyEvent;
/frameworks/base/api/
Dcurrent.txt53709 …public final class VerifiedKeyEvent extends android.view.VerifiedInputEvent implements android.os.…
53717 …field @NonNull public static final android.os.Parcelable.Creator<android.view.VerifiedKeyEvent> CR…