Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/view/
DVerifiedInputEvent.java40 public abstract class VerifiedInputEvent implements Parcelable { class
62 protected VerifiedInputEvent(int type, int deviceId, long eventTimeNanos, int source, in VerifiedInputEvent() method in VerifiedInputEvent
71 protected VerifiedInputEvent(@NonNull Parcel in, int expectedType) { in VerifiedInputEvent() method in VerifiedInputEvent
143 public static final @NonNull Parcelable.Creator<VerifiedInputEvent> CREATOR =
144 new Parcelable.Creator<VerifiedInputEvent>() {
146 public VerifiedInputEvent[] newArray(int size) {
147 return new VerifiedInputEvent[size];
151 public VerifiedInputEvent createFromParcel(@NonNull Parcel in) {
167 VerifiedInputEvent that = (VerifiedInputEvent) o; in equals()
DVerifiedInputEvent.aidl19 parcelable VerifiedInputEvent;
DVerifiedKeyEvent.java44 public final class VerifiedKeyEvent extends VerifiedInputEvent implements Parcelable {
DVerifiedMotionEvent.java45 public final class VerifiedMotionEvent extends VerifiedInputEvent implements Parcelable {
DOWNERS49 per-file VerifiedInputEvent.java = file:/services/core/java/com/android/server/input/OWNERS
50 per-file VerifiedInputEvent.aidl = file:/services/core/java/com/android/server/input/OWNERS
/frameworks/native/libs/input/tests/
DStructLayout_test.cpp174 constexpr size_t VERIFIED_INPUT_EVENT_SIZE = sizeof(VerifiedInputEvent::type) + in TestVerifiedEventSize()
175 sizeof(VerifiedInputEvent::deviceId) + sizeof(VerifiedInputEvent::eventTimeNanos) + in TestVerifiedEventSize()
176 sizeof(VerifiedInputEvent::source) + sizeof(VerifiedInputEvent::displayId); in TestVerifiedEventSize()
177 static_assert(sizeof(VerifiedInputEvent) == VERIFIED_INPUT_EVENT_SIZE); in TestVerifiedEventSize()
DVerifiedInputEvent_test.cpp60 ASSERT_EQ(VerifiedInputEvent::Type::KEY, verified.type); in TEST()
92 ASSERT_EQ(VerifiedInputEvent::Type::MOTION, verified.type); in TEST()
/frameworks/base/core/tests/coretests/src/android/view/
DVerifiedKeyEventTest.kt77 val inputEvent: VerifiedInputEvent = keyEvent in testParcelInputEvent()
82 val unparceledEvent = VerifiedInputEvent.CREATOR.createFromParcel(parcel) in testParcelInputEvent()
99 val unparceledEvent = VerifiedInputEvent.CREATOR.createFromParcel(parcel) in testParcelKeyEvent()
112 val inputEvent: VerifiedInputEvent = keyEvent in testParcelInputToKeyEvent()
DVerifiedMotionEventTest.kt82 val inputEvent: VerifiedInputEvent = motionEvent in testParcelInputEvent()
87 val unparceledEvent = VerifiedInputEvent.CREATOR.createFromParcel(parcel) in testParcelInputEvent()
104 val unparceledEvent = VerifiedInputEvent.CREATOR.createFromParcel(parcel) in testParcelMotionEvent()
117 val inputEvent: VerifiedInputEvent = motionEvent in testParcelInputToMotionEvent()
/frameworks/base/services/core/java/com/android/server/input/
DNativeInputManagerService.java31 import android.view.VerifiedInputEvent;
97 VerifiedInputEvent verifyInputEvent(InputEvent event); in verifyInputEvent()
345 public native VerifiedInputEvent verifyInputEvent(InputEvent event); in verifyInputEvent()
DInputManagerService.java103 import android.view.VerifiedInputEvent;
934 public VerifiedInputEvent verifyInputEvent(InputEvent event) { in verifyInputEvent()
/frameworks/base/core/java/android/hardware/input/
DIInputManager.aidl47 import android.view.VerifiedInputEvent;
86 VerifiedInputEvent verifyInputEvent(in InputEvent ev); in verifyInputEvent()
DInputManager.java57 import android.view.VerifiedInputEvent;
972 public VerifiedInputEvent verifyInputEvent(@NonNull InputEvent event) { in verifyInputEvent()
/frameworks/native/services/inputflinger/dispatcher/include/
DInputDispatcherInterface.h88 virtual std::unique_ptr<VerifiedInputEvent> verifyInputEvent(const InputEvent& event) = 0;
/frameworks/native/services/inputflinger/dispatcher/
DEntry.cpp34 return {{VerifiedInputEvent::Type::KEY, entry.deviceId, entry.eventTime, entry.source, in verifiedKeyEventFromKeyEntry()
50 return {{VerifiedInputEvent::Type::MOTION, entry.deviceId, entry.eventTime, entry.source, in verifiedMotionEventFromMotionEntry()
DInputDispatcher.h114 std::unique_ptr<VerifiedInputEvent> verifyInputEvent(const InputEvent& event) override;
145 std::array<uint8_t, 32> sign(const VerifiedInputEvent& event) const;
DInputDispatcher.cpp3929 std::array<uint8_t, 32> InputDispatcher::sign(const VerifiedInputEvent& event) const { in sign()
3932 case VerifiedInputEvent::Type::KEY: { in sign()
3936 case VerifiedInputEvent::Type::MOTION: { in sign()
5046 std::unique_ptr<VerifiedInputEvent> InputDispatcher::verifyInputEvent(const InputEvent& event) { in verifyInputEvent()
5048 std::unique_ptr<VerifiedInputEvent> result; in verifyInputEvent()
/frameworks/native/include/input/
DInput.h1077 struct __attribute__((__packed__)) VerifiedInputEvent { struct
1094 struct __attribute__((__packed__)) VerifiedKeyEvent : public VerifiedInputEvent { argument
1108 struct __attribute__((__packed__)) VerifiedMotionEvent : public VerifiedInputEvent {
/frameworks/native/libs/input/
DInput.cpp288 return {{VerifiedInputEvent::Type::KEY, event.getDeviceId(), event.getEventTime(), in verifiedKeyEventFromKeyEvent()
300 return {{VerifiedInputEvent::Type::MOTION, event.getDeviceId(), event.getEventTime(), in verifiedMotionEventFromMotionEvent()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1997 std::unique_ptr<VerifiedInputEvent> verifiedEvent = in nativeVerifyInputEvent()
2012 std::unique_ptr<VerifiedInputEvent> verifiedEvent = in nativeVerifyInputEvent()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp7283 std::unique_ptr<VerifiedInputEvent> verified = mDispatcher->verifyInputEvent(*event); in TEST_F()
7285 ASSERT_EQ(verified->type, VerifiedInputEvent::Type::KEY); in TEST_F()
7327 std::unique_ptr<VerifiedInputEvent> verified = mDispatcher->verifyInputEvent(*event); in TEST_F()
7329 ASSERT_EQ(verified->type, VerifiedInputEvent::Type::MOTION); in TEST_F()
/frameworks/base/boot/
Dpreloaded-classes8955 android.view.VerifiedInputEvent$1
8956 android.view.VerifiedInputEvent
Dboot-image-profile.txt31369 Landroid/view/VerifiedInputEvent$1;
31370 Landroid/view/VerifiedInputEvent;
/frameworks/base/config/
Dpreloaded-classes8986 android.view.VerifiedInputEvent$1
8987 android.view.VerifiedInputEvent
/frameworks/base/core/api/
Dcurrent.txt20458 …method @Nullable public android.view.VerifiedInputEvent verifyInputEvent(@NonNull android.view.Inp…
52460 public abstract class VerifiedInputEvent implements android.os.Parcelable {
52467 …NonNull public static final android.os.Parcelable.Creator<android.view.VerifiedInputEvent> CREATOR;
52470 …public final class VerifiedKeyEvent extends android.view.VerifiedInputEvent implements android.os.…
52481 …public final class VerifiedMotionEvent extends android.view.VerifiedInputEvent implements android.…

12