Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DVerifiedKeyEventTest.kt65 val unparceledKeyEvent = VerifiedKeyEvent.CREATOR.createFromParcel(parcel) in testParcelUnparcel()
85 assertTrue(unparceledEvent is VerifiedKeyEvent) in testParcelInputEvent()
86 compareVerifiedKeyEvents(keyEvent, unparceledEvent as VerifiedKeyEvent) in testParcelInputEvent()
102 assertTrue(unparceledEvent is VerifiedKeyEvent) in testParcelKeyEvent()
103 compareVerifiedKeyEvents(keyEvent, unparceledEvent as VerifiedKeyEvent) in testParcelKeyEvent()
117 val unparceledEvent = VerifiedKeyEvent.CREATOR.createFromParcel(parcel) in testParcelInputToKeyEvent()
144 private fun createVerifiedKeyEvent(): VerifiedKeyEvent { in createVerifiedKeyEvent()
145 return VerifiedKeyEvent(DEVICE_ID, EVENT_TIME_NANOS, SOURCE, DISPLAY_ID, ACTION, in createVerifiedKeyEvent()
149 private fun compareVerifiedKeyEvents(event1: VerifiedKeyEvent, event2: VerifiedKeyEvent) { in compareVerifiedKeyEvents()
/frameworks/base/core/java/android/view/
DVerifiedKeyEvent.java44 public final class VerifiedKeyEvent extends VerifiedInputEvent implements Parcelable { class
185 public VerifiedKeyEvent( in VerifiedKeyEvent() method in VerifiedKeyEvent
297 VerifiedKeyEvent that = (VerifiedKeyEvent) o; in equals()
351 /* package-private */ VerifiedKeyEvent(@android.annotation.NonNull Parcel in) { in VerifiedKeyEvent() method in VerifiedKeyEvent
378 public static final @android.annotation.NonNull Parcelable.Creator<VerifiedKeyEvent> CREATOR
379 = new Parcelable.Creator<VerifiedKeyEvent>() {
381 public VerifiedKeyEvent[] newArray(int size) {
382 return new VerifiedKeyEvent[size];
386 public VerifiedKeyEvent createFromParcel(@android.annotation.NonNull Parcel in) {
387 return new VerifiedKeyEvent(in);
DVerifiedKeyEvent.aidl19 parcelable VerifiedKeyEvent;
DVerifiedInputEvent.java154 return VerifiedKeyEvent.CREATOR.createFromParcel(in);
/frameworks/native/libs/input/tests/
DStructLayout_test.cpp181 sizeof(VerifiedKeyEvent::action) + sizeof(VerifiedKeyEvent::downTimeNanos) + in TestVerifiedEventSize()
182 sizeof(VerifiedKeyEvent::flags) + sizeof(VerifiedKeyEvent::keyCode) + in TestVerifiedEventSize()
183 sizeof(VerifiedKeyEvent::scanCode) + sizeof(VerifiedKeyEvent::metaState) + in TestVerifiedEventSize()
184 sizeof(VerifiedKeyEvent::repeatCount); in TestVerifiedEventSize()
185 static_assert(sizeof(VerifiedKeyEvent) == VERIFIED_KEY_EVENT_SIZE); in TestVerifiedEventSize()
DVerifiedInputEvent_test.cpp58 VerifiedKeyEvent verified = verifiedKeyEventFromKeyEvent(event); in TEST()
78 VerifiedKeyEvent verified = verifiedKeyEventFromKeyEvent(event); in TEST()
84 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.h262 VerifiedKeyEvent verifiedKeyEventFromKeyEntry(const KeyEntry& entry);
DEntry.cpp33 VerifiedKeyEvent verifiedKeyEventFromKeyEntry(const KeyEntry& entry) { in verifiedKeyEventFromKeyEntry()
DInputDispatcher.cpp3933 size = sizeof(VerifiedKeyEvent); in sign()
3963 VerifiedKeyEvent verifiedEvent = verifiedKeyEventFromKeyEntry(keyEntry); in getSignature()
5052 VerifiedKeyEvent verifiedKeyEvent = verifiedKeyEventFromKeyEvent(keyEvent); in verifyInputEvent()
5053 result = std::make_unique<VerifiedKeyEvent>(verifiedKeyEvent); in verifyInputEvent()
/frameworks/native/include/input/
DInput.h1094 struct __attribute__((__packed__)) VerifiedKeyEvent : public VerifiedInputEvent { struct
1118 VerifiedKeyEvent verifiedKeyEventFromKeyEvent(const KeyEvent& event); argument
/frameworks/native/libs/input/
DInput.cpp287 VerifiedKeyEvent verifiedKeyEventFromKeyEvent(const KeyEvent& event) { in verifiedKeyEventFromKeyEvent()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp2004 static_cast<const VerifiedKeyEvent&>(*verifiedEvent)); in nativeVerifyInputEvent()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp7292 const VerifiedKeyEvent& verifiedKey = static_cast<const VerifiedKeyEvent&>(*verified); in TEST_F()
7358 VerifiedKeyEvent verifiedEvent = verifiedKeyEventFromKeyEvent(event); in TEST_F()
7370 VerifiedKeyEvent verifiedEvent = verifiedKeyEventFromKeyEvent(event); in TEST_F()
/frameworks/base/boot/
Dpreloaded-classes8957 android.view.VerifiedKeyEvent$1
8958 android.view.VerifiedKeyEvent
Dboot-image-profile.txt31371 Landroid/view/VerifiedKeyEvent$1;
31372 Landroid/view/VerifiedKeyEvent;
/frameworks/base/config/
Dpreloaded-classes8988 android.view.VerifiedKeyEvent$1
8989 android.view.VerifiedKeyEvent
Dboot-image-profile.txt41532 Landroid/view/VerifiedKeyEvent$1;
41533 Landroid/view/VerifiedKeyEvent;
/frameworks/base/core/api/
Dcurrent.txt52470 …public final class VerifiedKeyEvent extends android.view.VerifiedInputEvent implements android.os.…
52478 …field @NonNull public static final android.os.Parcelable.Creator<android.view.VerifiedKeyEvent> CR…