Searched refs:verifiedEvent (Results 1 – 3 of 3) sorted by relevance
7358 VerifiedKeyEvent verifiedEvent = verifiedKeyEventFromKeyEvent(event); in TEST_F() local7360 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() local7371 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 …]
1997 std::unique_ptr<VerifiedInputEvent> verifiedEvent = in nativeVerifyInputEvent() local1999 if (verifiedEvent == nullptr) { in nativeVerifyInputEvent()2004 static_cast<const VerifiedKeyEvent&>(*verifiedEvent)); in nativeVerifyInputEvent()2012 std::unique_ptr<VerifiedInputEvent> verifiedEvent = in nativeVerifyInputEvent() local2015 if (verifiedEvent == nullptr) { in nativeVerifyInputEvent()2021 *verifiedEvent)); in nativeVerifyInputEvent()
3954 VerifiedMotionEvent verifiedEvent = in getSignature() local3956 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() local3964 verifiedEvent.flags = dispatchEntry.resolvedFlags & VERIFIED_KEY_EVENT_FLAGS; in getSignature()3965 return sign(verifiedEvent); in getSignature()