Home
last modified time | relevance | path

Searched refs:VerifiedInputEvent (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/java/android/view/
DVerifiedInputEvent.java39 public abstract class VerifiedInputEvent implements Parcelable { class
61 protected VerifiedInputEvent(int type, int deviceId, long eventTimeNanos, int source, in VerifiedInputEvent() method in VerifiedInputEvent
70 protected VerifiedInputEvent(@NonNull Parcel in, int expectedType) { in VerifiedInputEvent() method in VerifiedInputEvent
142 public static final @NonNull Parcelable.Creator<VerifiedInputEvent> CREATOR =
143 new Parcelable.Creator<VerifiedInputEvent>() {
145 public VerifiedInputEvent[] newArray(int size) {
146 return new VerifiedInputEvent[size];
150 public VerifiedInputEvent createFromParcel(@NonNull Parcel in) {
DVerifiedInputEvent.aidl19 parcelable VerifiedInputEvent;
DVerifiedKeyEvent.java43 public final class VerifiedKeyEvent extends VerifiedInputEvent implements Parcelable {
DVerifiedMotionEvent.java44 public final class VerifiedMotionEvent extends VerifiedInputEvent implements Parcelable {
/frameworks/native/libs/input/tests/
DStructLayout_test.cpp112 constexpr size_t VERIFIED_INPUT_EVENT_SIZE = sizeof(VerifiedInputEvent::type) + in TestVerifiedEventSize()
113 sizeof(VerifiedInputEvent::deviceId) + sizeof(VerifiedInputEvent::eventTimeNanos) + in TestVerifiedEventSize()
114 sizeof(VerifiedInputEvent::source) + sizeof(VerifiedInputEvent::displayId); in TestVerifiedEventSize()
115 static_assert(sizeof(VerifiedInputEvent) == VERIFIED_INPUT_EVENT_SIZE); in TestVerifiedEventSize()
DVerifiedInputEvent_test.cpp56 ASSERT_EQ(VerifiedInputEvent::Type::KEY, verified.type); in TEST()
88 ASSERT_EQ(VerifiedInputEvent::Type::MOTION, verified.type); in TEST()
/frameworks/base/core/tests/coretests/src/android/view/
DVerifiedKeyEventTest.kt75 val inputEvent: VerifiedInputEvent = keyEvent in testParcelInputEvent()
80 val unparceledEvent = VerifiedInputEvent.CREATOR.createFromParcel(parcel) in testParcelInputEvent()
97 val unparceledEvent = VerifiedInputEvent.CREATOR.createFromParcel(parcel) in testParcelKeyEvent()
110 val inputEvent: VerifiedInputEvent = keyEvent in testParcelInputToKeyEvent()
/frameworks/base/core/java/android/hardware/input/
DIInputManager.aidl30 import android.view.VerifiedInputEvent;
54 VerifiedInputEvent verifyInputEvent(in InputEvent ev); in verifyInputEvent()
DInputManager.java50 import android.view.VerifiedInputEvent;
926 public @Nullable VerifiedInputEvent verifyInputEvent(@NonNull InputEvent event) { in verifyInputEvent()
/frameworks/native/services/inputflinger/dispatcher/include/
DInputDispatcherInterface.h101 virtual std::unique_ptr<VerifiedInputEvent> verifyInputEvent(const InputEvent& event) = 0;
/frameworks/native/services/inputflinger/dispatcher/
DEntry.cpp32 return {{VerifiedInputEvent::Type::KEY, entry.deviceId, entry.eventTime, entry.source, in verifiedKeyEventFromKeyEntry()
47 return {{VerifiedInputEvent::Type::MOTION, entry.deviceId, entry.eventTime, entry.source, in verifiedMotionEventFromMotionEntry()
DInputDispatcher.h63 std::array<uint8_t, 32> sign(const VerifiedInputEvent& event) const;
111 virtual std::unique_ptr<VerifiedInputEvent> verifyInputEvent(const InputEvent& event) override;
DInputDispatcher.cpp354 std::array<uint8_t, 32> HmacKeyManager::sign(const VerifiedInputEvent& event) const { in sign()
357 case VerifiedInputEvent::Type::KEY: { in sign()
361 case VerifiedInputEvent::Type::MOTION: { in sign()
3477 std::unique_ptr<VerifiedInputEvent> InputDispatcher::verifyInputEvent(const InputEvent& event) { in verifyInputEvent()
3479 std::unique_ptr<VerifiedInputEvent> result; in verifyInputEvent()
/frameworks/native/include/input/
DInput.h781 struct __attribute__((__packed__)) VerifiedInputEvent { struct
798 struct __attribute__((__packed__)) VerifiedKeyEvent : public VerifiedInputEvent { argument
812 struct __attribute__((__packed__)) VerifiedMotionEvent : public VerifiedInputEvent {
/frameworks/native/libs/input/
DInput.cpp90 return {{VerifiedInputEvent::Type::KEY, event.getDeviceId(), event.getEventTime(), in verifiedKeyEventFromKeyEvent()
102 return {{VerifiedInputEvent::Type::MOTION, event.getDeviceId(), event.getEventTime(), in verifiedMotionEventFromMotionEvent()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java82 import android.view.VerifiedInputEvent;
221 private static native VerifiedInputEvent nativeVerifyInputEvent(long ptr, InputEvent event); in nativeVerifyInputEvent()
684 public VerifiedInputEvent verifyInputEvent(InputEvent event) { in verifyInputEvent()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp1668 std::unique_ptr<VerifiedInputEvent> verified = mDispatcher->verifyInputEvent(*event); in TEST_F()
1670 ASSERT_EQ(verified->type, VerifiedInputEvent::Type::KEY); in TEST_F()
1705 std::unique_ptr<VerifiedInputEvent> verified = mDispatcher->verifyInputEvent(*event); in TEST_F()
1707 ASSERT_EQ(verified->type, VerifiedInputEvent::Type::MOTION); in TEST_F()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1496 std::unique_ptr<VerifiedInputEvent> verifiedEvent = in nativeVerifyInputEvent()
1511 std::unique_ptr<VerifiedInputEvent> verifiedEvent = in nativeVerifyInputEvent()
/frameworks/base/config/
Dpreloaded-classes6955 android.view.VerifiedInputEvent$1
6956 android.view.VerifiedInputEvent
Dboot-image-profile.txt47274 Landroid/view/VerifiedInputEvent$1;
47275 Landroid/view/VerifiedInputEvent;
/frameworks/base/api/
Dcurrent.txt18133 …method @Nullable public android.view.VerifiedInputEvent verifyInputEvent(@NonNull android.view.Inp…
53699 public abstract class VerifiedInputEvent implements android.os.Parcelable {
53706 …NonNull public static final android.os.Parcelable.Creator<android.view.VerifiedInputEvent> CREATOR;
53709 …public final class VerifiedKeyEvent extends android.view.VerifiedInputEvent implements android.os.…
53720 …public final class VerifiedMotionEvent extends android.view.VerifiedInputEvent implements android.…