Home
last modified time | relevance | path

Searched refs:verifiedEvent (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp7358 VerifiedKeyEvent verifiedEvent = verifiedKeyEventFromKeyEvent(event); in TEST_F() local
7360 std::array<uint8_t, 32> hmac1 = mDispatcher->sign(verifiedEvent); in TEST_F()
7361 std::array<uint8_t, 32> hmac2 = mDispatcher->sign(verifiedEvent); in TEST_F()
7370 VerifiedKeyEvent verifiedEvent = verifiedKeyEventFromKeyEvent(event); in TEST_F() local
7371 std::array<uint8_t, 32> initialHmac = mDispatcher->sign(verifiedEvent); in TEST_F()
7373 verifiedEvent.deviceId += 1; in TEST_F()
7374 ASSERT_NE(initialHmac, mDispatcher->sign(verifiedEvent)); in TEST_F()
7376 verifiedEvent.source += 1; in TEST_F()
7377 ASSERT_NE(initialHmac, mDispatcher->sign(verifiedEvent)); in TEST_F()
7379 verifiedEvent.eventTimeNanos += 1; in TEST_F()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1997 std::unique_ptr<VerifiedInputEvent> verifiedEvent = in nativeVerifyInputEvent() local
1999 if (verifiedEvent == nullptr) { in nativeVerifyInputEvent()
2004 static_cast<const VerifiedKeyEvent&>(*verifiedEvent)); in nativeVerifyInputEvent()
2012 std::unique_ptr<VerifiedInputEvent> verifiedEvent = in nativeVerifyInputEvent() local
2015 if (verifiedEvent == nullptr) { in nativeVerifyInputEvent()
2021 *verifiedEvent)); in nativeVerifyInputEvent()
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp3954 VerifiedMotionEvent verifiedEvent = in getSignature() local
3956 verifiedEvent.actionMasked = actionMasked; in getSignature()
3957 verifiedEvent.flags = dispatchEntry.resolvedFlags & VERIFIED_MOTION_EVENT_FLAGS; in getSignature()
3958 return sign(verifiedEvent); in getSignature()
3963 VerifiedKeyEvent verifiedEvent = verifiedKeyEventFromKeyEntry(keyEntry); in getSignature() local
3964 verifiedEvent.flags = dispatchEntry.resolvedFlags & VERIFIED_KEY_EVENT_FLAGS; in getSignature()
3965 return sign(verifiedEvent); in getSignature()