Home
last modified time | relevance | path

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

/system/core/trusty/gatekeeper/
Dtrusty_gatekeeper_ipc.c52 size_t msg_size = in_size + sizeof(struct gatekeeper_message); in trusty_gatekeeper_call() local
53 struct gatekeeper_message *msg = malloc(msg_size); in trusty_gatekeeper_call()
57 ssize_t rc = write(handle_, msg, msg_size); in trusty_gatekeeper_call()
/system/core/trusty/keymaster/ipc/
Dtrusty_keymaster_ipc.cpp56 size_t msg_size = in_size + sizeof(struct keymaster_message); in trusty_keymaster_call() local
57 struct keymaster_message* msg = reinterpret_cast<struct keymaster_message*>(malloc(msg_size)); in trusty_keymaster_call()
66 ssize_t rc = write(handle_, msg, msg_size); in trusty_keymaster_call()
/system/core/adb/pairing_auth/tests/
Dpairing_auth_test.cpp84 size_t msg_size = pairing_auth_msg_size(client.get()); in TEST_F() local
85 std::vector<uint8_t> buf(msg_size); in TEST_F()
86 ASSERT_GT(msg_size, 0); in TEST_F()
90 size_t msg_size = pairing_auth_msg_size(server.get()); in TEST_F() local
91 std::vector<uint8_t> buf(msg_size); in TEST_F()
92 ASSERT_GT(msg_size, 0); in TEST_F()