Home
last modified time | relevance | path

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

/aosp12/frameworks/base/cmds/incidentd/tests/
H A DProtoFileReader_test.cpp80 size_t msg_size[2]; in TEST() local
88 msg_size[i] = sectionSize; in TEST()
97 ASSERT_EQ(msg1Size, msg_size[0]); in TEST()
98 ASSERT_EQ(msg2Size, msg_size[1]); in TEST()
/aosp12/system/core/trusty/gatekeeper/
H A 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()
/aosp12/packages/modules/adb/pairing_auth/tests/
H A 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()
/aosp12/system/core/trusty/keymaster/ipc/
H A Dtrusty_keymaster_ipc.cpp77 size_t msg_size = in_size + sizeof(struct keymaster_message); in trusty_keymaster_call_2() local
78 struct keymaster_message* msg = reinterpret_cast<struct keymaster_message*>(malloc(msg_size)); in trusty_keymaster_call_2()
87 ssize_t rc = write(handle_, msg, msg_size); in trusty_keymaster_call_2()
/aosp12/hardware/qcom/media/msm8974/mm-video-legacy/vidc/common/src/
H A Dextra_data_handler.cpp460 OMX_U32 msg_size; in create_extra_data() local
469 msg_size = create_sei(buffer); in create_extra_data()
470 if( msg_size > 0) in create_extra_data()
471 buf_hdr->nFilledLen += msg_size; in create_extra_data()
/aosp12/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/common/src/
H A Dextra_data_handler.cpp535 OMX_U32 msg_size; in create_extra_data() local
542 msg_size = create_sei(buffer); in create_extra_data()
544 if ( msg_size > 0) in create_extra_data()
545 buf_hdr->nFilledLen += msg_size; in create_extra_data()
/aosp12/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/common/src/
H A Dextra_data_handler.cpp539 OMX_U32 msg_size; in create_extra_data() local
546 msg_size = create_sei(buffer); in create_extra_data()
548 if ( msg_size > 0) in create_extra_data()
549 buf_hdr->nFilledLen += msg_size; in create_extra_data()
/aosp12/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/common/src/
H A Dextra_data_handler.cpp535 OMX_U32 msg_size; in create_extra_data() local
542 msg_size = create_sei(buffer); in create_extra_data()
544 if ( msg_size > 0) in create_extra_data()
545 buf_hdr->nFilledLen += msg_size; in create_extra_data()
/aosp12/system/nfc/src/nfc/tags/
H A Drw_i93.cc660 uint16_t msg_size = sizeof(NFC_HDR) + p_msg->offset + p_msg->len; in rw_i93_send_to_lower() local
665 GKI_get_pool_bufsize(NFC_RW_POOL_ID) >= msg_size) { in rw_i93_send_to_lower()
666 memcpy(rw_cb.tcb.i93.p_retry_cmd, p_msg, msg_size); in rw_i93_send_to_lower()
/aosp12/hardware/interfaces/keymaster/4.0/vts/functional/
H A Dkeymaster_hidl_hal_test.cpp4790 for (int msg_size = 8 /* 256 bytes */; msg_size <= 11 /* 2 KiB */; msg_size++) { in TEST_P() local
4797 string plain_message = std::string(1 << msg_size, 'x'); in TEST_P()
/aosp12/hardware/interfaces/security/keymint/aidl/vts/functional/
H A DKeyMintTest.cpp6392 for (int msg_size = 8 /* 256 bytes */; msg_size <= 11 /* 2 KiB */; msg_size++) { in TEST_P() local
6399 string plain_message = std::string(1 << msg_size, 'x'); in TEST_P()