Home
last modified time | relevance | path

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

/system/bt/stack/sdp/
Dsdp_utils.cc156 uint8_t* sdpu_build_attrib_seq(uint8_t* p_out, uint16_t* p_attr, in sdpu_build_attrib_seq() argument
168 UINT8_TO_BE_STREAM(p_out, in sdpu_build_attrib_seq()
170 UINT16_TO_BE_STREAM(p_out, xx); in sdpu_build_attrib_seq()
172 UINT8_TO_BE_STREAM(p_out, in sdpu_build_attrib_seq()
174 UINT8_TO_BE_STREAM(p_out, xx); in sdpu_build_attrib_seq()
179 UINT8_TO_BE_STREAM(p_out, (UINT_DESC_TYPE << 3) | SIZE_FOUR_BYTES); in sdpu_build_attrib_seq()
180 UINT16_TO_BE_STREAM(p_out, 0); in sdpu_build_attrib_seq()
181 UINT16_TO_BE_STREAM(p_out, 0xFFFF); in sdpu_build_attrib_seq()
185 UINT8_TO_BE_STREAM(p_out, (UINT_DESC_TYPE << 3) | SIZE_TWO_BYTES); in sdpu_build_attrib_seq()
186 UINT16_TO_BE_STREAM(p_out, *p_attr); in sdpu_build_attrib_seq()
[all …]
Dsdp_discovery.cc76 static uint8_t* sdpu_build_uuid_seq(uint8_t* p_out, uint16_t num_uuids, in sdpu_build_uuid_seq() argument
82 UINT8_TO_BE_STREAM(p_out, (DATA_ELE_SEQ_DESC_TYPE << 3) | SIZE_IN_NEXT_BYTE); in sdpu_build_uuid_seq()
85 p_len = p_out; in sdpu_build_uuid_seq()
86 p_out += 1; in sdpu_build_uuid_seq()
92 UINT8_TO_BE_STREAM(p_out, (UUID_DESC_TYPE << 3) | SIZE_TWO_BYTES); in sdpu_build_uuid_seq()
93 UINT16_TO_BE_STREAM(p_out, p_uuid_list->As16Bit()); in sdpu_build_uuid_seq()
95 UINT8_TO_BE_STREAM(p_out, (UUID_DESC_TYPE << 3) | SIZE_FOUR_BYTES); in sdpu_build_uuid_seq()
96 UINT32_TO_BE_STREAM(p_out, p_uuid_list->As32Bit()); in sdpu_build_uuid_seq()
98 UINT8_TO_BE_STREAM(p_out, (UUID_DESC_TYPE << 3) | SIZE_SIXTEEN_BYTES); in sdpu_build_uuid_seq()
99 ARRAY_TO_BE_STREAM(p_out, p_uuid_list->To128BitBE(), in sdpu_build_uuid_seq()
[all …]
Dsdpint.h255 extern uint8_t* sdpu_build_attrib_seq(uint8_t* p_out, uint16_t* p_attr,
257 extern uint8_t* sdpu_build_attrib_entry(uint8_t* p_out, tSDP_ATTRIBUTE* p_attr);
280 extern uint8_t* sdpu_build_partial_attrib_entry(uint8_t* p_out,
/system/nfc/src/gki/ulinux/
Dgki_ulinux.cc948 int8_t* p_out = tbuf; in GKI_get_time_stamp() local
960 *p_out++ = (int8_t)((h_time / 10) + '0'); in GKI_get_time_stamp()
961 *p_out++ = (int8_t)((h_time % 10) + '0'); in GKI_get_time_stamp()
962 *p_out++ = ':'; in GKI_get_time_stamp()
963 *p_out++ = (int8_t)((m_time / 10) + '0'); in GKI_get_time_stamp()
964 *p_out++ = (int8_t)((m_time % 10) + '0'); in GKI_get_time_stamp()
965 *p_out++ = ':'; in GKI_get_time_stamp()
966 *p_out++ = (int8_t)((s_time / 10) + '0'); in GKI_get_time_stamp()
967 *p_out++ = (int8_t)((s_time % 10) + '0'); in GKI_get_time_stamp()
968 *p_out++ = ':'; in GKI_get_time_stamp()
[all …]
/system/bt/stack/hid/
Dhidh_conn.cc878 uint8_t* p_out; in hidh_conn_snd_data() local
946 p_out = (uint8_t*)(p_buf + 1) + p_buf->offset; in hidh_conn_snd_data()
947 *p_out++ = HID_BUILD_HDR(trans_type, param); in hidh_conn_snd_data()
951 *p_out = report_id; in hidh_conn_snd_data()
956 memcpy(p_out, (((uint8_t*)(buf + 1)) + buf->offset), bytes_copied); in hidh_conn_snd_data()
960 *(p_out + bytes_copied) = data & 0xff; in hidh_conn_snd_data()
962 *(p_out + bytes_copied) = data & 0xff; in hidh_conn_snd_data()
963 *(p_out + bytes_copied + 1) = (data >> 8) & 0xff; in hidh_conn_snd_data()
Dhidd_conn.cc890 uint8_t* p_out; in hidd_conn_send_data() local
927 p_out = (uint8_t*)(p_buf + 1) + p_buf->offset; in hidd_conn_send_data()
929 *p_out = HID_BUILD_HDR(msg_type, param); in hidd_conn_send_data()
930 p_out++; in hidd_conn_send_data()
936 *p_out = data; // report_id in hidd_conn_send_data()
937 p_out++; in hidd_conn_send_data()
942 memcpy(p_out, p_data, len); in hidd_conn_send_data()
/system/bt/stack/include/
Dsmp_api.h193 uint8_t pt_len, tSMP_ENC* p_out);
/system/bt/stack/smp/
Dsmp_api.cc502 uint8_t pt_len, tSMP_ENC* p_out) in SMP_Encrypt() argument
506 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.cc51 uint8_t pt_len, tSMP_ENC* p_out) { in SMP_Encrypt() argument