/frameworks/base/core/jni/ |
D | android_view_KeyEvent.cpp | 97 ScopedLocalRef<jbyteArray> hmac = toJbyteArray(env, event->getHmac()); in android_view_KeyEvent_fromNative() local 107 event->getDisplayId(), hmac.get(), nullptr); in android_view_KeyEvent_fromNative() 124 std::optional<std::array<uint8_t, 32>> hmac = fromJobject<32>(env, hmacObj); in android_view_KeyEvent_toNative() local 125 if (!hmac) { in android_view_KeyEvent_toNative() 126 hmac = INVALID_HMAC; in android_view_KeyEvent_toNative() 137 event->initialize(id, deviceId, source, displayId, *hmac, action, flags, keyCode, scanCode, in android_view_KeyEvent_toNative()
|
/frameworks/native/libs/input/ |
D | Input.cpp | 114 std::array<uint8_t, 32> hmac) { in initialize() argument 119 mHmac = hmac; in initialize() 146 std::array<uint8_t, 32> hmac, int32_t action, int32_t flags, in initialize() argument 149 InputEvent::initialize(id, deviceId, source, displayId, hmac); in initialize() 321 std::array<uint8_t, 32> hmac, int32_t action, int32_t actionButton, in initialize() argument 329 InputEvent::initialize(id, deviceId, source, displayId, hmac); in initialize() 567 std::vector<uint8_t> hmac; in readFromParcel() local 568 status_t result = parcel->readByteVector(&hmac); in readFromParcel() 569 if (result != OK || hmac.size() != 32) { in readFromParcel() 572 std::move(hmac.begin(), hmac.begin() + hmac.size(), mHmac.begin()); in readFromParcel() [all …]
|
D | InputTransport.cpp | 153 msg->body.key.hmac = body.key.hmac; in getSanitizedCopy() 184 msg->body.motion.hmac = body.motion.hmac; in getSanitizedCopy() 442 std::array<uint8_t, 32> hmac, int32_t action, in publishKeyEvent() argument 471 msg.body.key.hmac = std::move(hmac); in publishKeyEvent() 485 std::array<uint8_t, 32> hmac, int32_t action, int32_t actionButton, int32_t flags, in publishMotionEvent() argument 529 msg.body.motion.hmac = std::move(hmac); in publishMotionEvent() 1166 msg->body.key.displayId, msg->body.key.hmac, msg->body.key.action, in initializeKeyEvent() 1187 msg->body.motion.displayId, msg->body.motion.hmac, msg->body.motion.action, in initializeMotionEvent()
|
/frameworks/native/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 80 constexpr std::array<uint8_t, 32> hmac = {31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, in PublishAndConsumeKeyEvent() local 92 status = mPublisher->publishKeyEvent(seq, eventId, deviceId, source, displayId, hmac, action, in PublishAndConsumeKeyEvent() 115 EXPECT_EQ(hmac, keyEvent->getHmac()); in PublishAndConsumeKeyEvent() 148 constexpr std::array<uint8_t, 32> hmac = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, in PublishAndConsumeMotionEvent() local 188 status = mPublisher->publishMotionEvent(seq, eventId, deviceId, source, displayId, hmac, action, in PublishAndConsumeMotionEvent() 214 EXPECT_EQ(hmac, motionEvent->getHmac()); in PublishAndConsumeMotionEvent()
|
D | StructLayout_test.cpp | 43 CHECK_OFFSET(InputMessage::Body::Key, hmac, 28); in TestInputMessageAlignment() 58 CHECK_OFFSET(InputMessage::Body::Motion, hmac, 28); in TestInputMessageAlignment()
|
/frameworks/native/include/input/ |
D | InputTransport.h | 90 std::array<uint8_t, 32> hmac; member 110 std::array<uint8_t, 32> hmac; member 282 int32_t displayId, std::array<uint8_t, 32> hmac, int32_t action, 295 int32_t displayId, std::array<uint8_t, 32> hmac, int32_t action,
|
D | Input.h | 418 std::array<uint8_t, 32> hmac); 460 std::array<uint8_t, 32> hmac, int32_t action, int32_t flags, int32_t keyCode, 686 std::array<uint8_t, 32> hmac, int32_t action, int32_t actionButton,
|
/frameworks/base/core/java/android/view/ |
D | KeyEvent.java | 1617 int deviceId, int scancode, int flags, int source, int displayId, @Nullable byte[] hmac, in obtain() argument 1632 ev.mHmac = hmac; in obtain()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.cpp | 2480 std::array<uint8_t, 32> hmac = getSignature(*keyEntry, *dispatchEntry); in startDispatchCycleLocked() local 2487 keyEntry->displayId, std::move(hmac), in startDispatchCycleLocked() 2533 std::array<uint8_t, 32> hmac = getSignature(*motionEntry, *dispatchEntry); in startDispatchCycleLocked() local 2540 motionEntry->displayId, std::move(hmac), in startDispatchCycleLocked()
|
/frameworks/base/api/ |
D | current.txt | 30052 field public static final String AUTH_HMAC_MD5 = "hmac(md5)"; 30053 field public static final String AUTH_HMAC_SHA1 = "hmac(sha1)"; 30054 field public static final String AUTH_HMAC_SHA256 = "hmac(sha256)"; 30055 field public static final String AUTH_HMAC_SHA384 = "hmac(sha384)"; 30056 field public static final String AUTH_HMAC_SHA512 = "hmac(sha512)";
|