Home
last modified time | relevance | path

Searched refs:p_out (Results 1 – 12 of 12) sorted by relevance

/system/bt/stack/sdp/
Dsdp_utils.cc155 uint8_t* sdpu_build_attrib_seq(uint8_t* p_out, uint16_t* p_attr, in sdpu_build_attrib_seq() argument
167 UINT8_TO_BE_STREAM(p_out, in sdpu_build_attrib_seq()
169 UINT16_TO_BE_STREAM(p_out, xx); in sdpu_build_attrib_seq()
171 UINT8_TO_BE_STREAM(p_out, in sdpu_build_attrib_seq()
173 UINT8_TO_BE_STREAM(p_out, xx); in sdpu_build_attrib_seq()
178 UINT8_TO_BE_STREAM(p_out, (UINT_DESC_TYPE << 3) | SIZE_FOUR_BYTES); in sdpu_build_attrib_seq()
179 UINT16_TO_BE_STREAM(p_out, 0); in sdpu_build_attrib_seq()
180 UINT16_TO_BE_STREAM(p_out, 0xFFFF); in sdpu_build_attrib_seq()
184 UINT8_TO_BE_STREAM(p_out, (UINT_DESC_TYPE << 3) | SIZE_TWO_BYTES); in sdpu_build_attrib_seq()
185 UINT16_TO_BE_STREAM(p_out, *p_attr); in sdpu_build_attrib_seq()
[all …]
Dsdp_discovery.cc71 static uint8_t* sdpu_build_uuid_seq(uint8_t* p_out, uint16_t num_uuids, in sdpu_build_uuid_seq() argument
77 UINT8_TO_BE_STREAM(p_out, (DATA_ELE_SEQ_DESC_TYPE << 3) | SIZE_IN_NEXT_BYTE); in sdpu_build_uuid_seq()
80 p_len = p_out; in sdpu_build_uuid_seq()
81 p_out += 1; in sdpu_build_uuid_seq()
86 UINT8_TO_BE_STREAM(p_out, (UUID_DESC_TYPE << 3) | SIZE_TWO_BYTES); in sdpu_build_uuid_seq()
87 UINT16_TO_BE_STREAM(p_out, p_uuid_list->uu.uuid16); in sdpu_build_uuid_seq()
89 UINT8_TO_BE_STREAM(p_out, (UUID_DESC_TYPE << 3) | SIZE_FOUR_BYTES); in sdpu_build_uuid_seq()
90 UINT32_TO_BE_STREAM(p_out, p_uuid_list->uu.uuid32); in sdpu_build_uuid_seq()
92 UINT8_TO_BE_STREAM(p_out, (UUID_DESC_TYPE << 3) | SIZE_SIXTEEN_BYTES); in sdpu_build_uuid_seq()
93 ARRAY_TO_BE_STREAM(p_out, p_uuid_list->uu.uuid128, p_uuid_list->len); in sdpu_build_uuid_seq()
[all …]
Dsdpint.h253 extern uint8_t* sdpu_build_attrib_seq(uint8_t* p_out, uint16_t* p_attr,
255 extern uint8_t* sdpu_build_attrib_entry(uint8_t* p_out, tSDP_ATTRIBUTE* p_attr);
279 extern uint8_t* sdpu_build_partial_attrib_entry(uint8_t* p_out,
/system/nfc/src/gki/ulinux/
Dgki_ulinux.c995 int8_t* p_out = tbuf; in GKI_get_time_stamp() local
1007 *p_out++ = (int8_t)((h_time / 10) + '0'); in GKI_get_time_stamp()
1008 *p_out++ = (int8_t)((h_time % 10) + '0'); in GKI_get_time_stamp()
1009 *p_out++ = ':'; in GKI_get_time_stamp()
1010 *p_out++ = (int8_t)((m_time / 10) + '0'); in GKI_get_time_stamp()
1011 *p_out++ = (int8_t)((m_time % 10) + '0'); in GKI_get_time_stamp()
1012 *p_out++ = ':'; in GKI_get_time_stamp()
1013 *p_out++ = (int8_t)((s_time / 10) + '0'); in GKI_get_time_stamp()
1014 *p_out++ = (int8_t)((s_time % 10) + '0'); in GKI_get_time_stamp()
1015 *p_out++ = ':'; in GKI_get_time_stamp()
[all …]
/system/nfc/halimpl/bcm2079x/gki/ulinux/
Dgki_ulinux.c1016 int8_t* p_out = tbuf; in GKI_get_time_stamp() local
1028 *p_out++ = (int8_t)((h_time / 10) + '0'); in GKI_get_time_stamp()
1029 *p_out++ = (int8_t)((h_time % 10) + '0'); in GKI_get_time_stamp()
1030 *p_out++ = ':'; in GKI_get_time_stamp()
1031 *p_out++ = (int8_t)((m_time / 10) + '0'); in GKI_get_time_stamp()
1032 *p_out++ = (int8_t)((m_time % 10) + '0'); in GKI_get_time_stamp()
1033 *p_out++ = ':'; in GKI_get_time_stamp()
1034 *p_out++ = (int8_t)((s_time / 10) + '0'); in GKI_get_time_stamp()
1035 *p_out++ = (int8_t)((s_time % 10) + '0'); in GKI_get_time_stamp()
1036 *p_out++ = ':'; in GKI_get_time_stamp()
[all …]
/system/bt/stack/hid/
Dhidh_conn.cc869 uint8_t* p_out; in hidh_conn_snd_data() local
937 p_out = (uint8_t*)(p_buf + 1) + p_buf->offset; in hidh_conn_snd_data()
938 *p_out++ = HID_BUILD_HDR(trans_type, param); in hidh_conn_snd_data()
942 *p_out = report_id; in hidh_conn_snd_data()
947 memcpy(p_out, (((uint8_t*)(buf + 1)) + buf->offset), bytes_copied); in hidh_conn_snd_data()
951 *(p_out + bytes_copied) = data & 0xff; in hidh_conn_snd_data()
953 *(p_out + bytes_copied) = data & 0xff; in hidh_conn_snd_data()
954 *(p_out + bytes_copied + 1) = (data >> 8) & 0xff; in hidh_conn_snd_data()
Dhidd_conn.cc893 uint8_t* p_out; in hidd_conn_send_data() local
930 p_out = (uint8_t*)(p_buf + 1) + p_buf->offset; in hidd_conn_send_data()
932 *p_out = HID_BUILD_HDR(msg_type, param); in hidd_conn_send_data()
933 p_out++; in hidd_conn_send_data()
939 *p_out = data; // report_id in hidd_conn_send_data()
940 p_out++; in hidd_conn_send_data()
945 memcpy(p_out, p_data, len); in hidd_conn_send_data()
/system/bt/stack/include/
Dsmp_api.h192 uint8_t pt_len, tSMP_ENC* p_out);
/system/bt/stack/smp/
Dsmp_api.cc484 uint8_t pt_len, tSMP_ENC* p_out) in SMP_Encrypt() argument
488 status = smp_encrypt_data(key, key_len, plain_text, pt_len, p_out); in SMP_Encrypt()
Dsmp_keys.cc113 uint8_t pt_len, tSMP_ENC* p_out) { in smp_encrypt_data() argument
122 if ((p_out == NULL) || (key_len != SMP_ENCRYT_KEY_SIZE)) { in smp_encrypt_data()
148 p = p_out->param_buf; in smp_encrypt_data()
151 smp_debug_print_nbyte_little_endian(p_out->param_buf, "Encrypted text", in smp_encrypt_data()
155 p_out->param_len = SMP_ENCRYT_KEY_SIZE; in smp_encrypt_data()
156 p_out->status = HCI_SUCCESS; in smp_encrypt_data()
157 p_out->opcode = HCI_BLE_ENCRYPT; in smp_encrypt_data()
Dsmp_int.h480 uint8_t pt_len, tSMP_ENC* p_out);
/system/bt/stack/test/
Dble_advertiser_test.cc46 uint8_t pt_len, tSMP_ENC* p_out) { in SMP_Encrypt() argument