Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/sdp/
Dsdp_utils.cc568 uint8_t* sdpu_build_attrib_seq(uint8_t* p_out, uint16_t* p_attr, in sdpu_build_attrib_seq() argument
580 UINT8_TO_BE_STREAM(p_out, in sdpu_build_attrib_seq()
582 UINT16_TO_BE_STREAM(p_out, xx); in sdpu_build_attrib_seq()
584 UINT8_TO_BE_STREAM(p_out, in sdpu_build_attrib_seq()
586 UINT8_TO_BE_STREAM(p_out, xx); in sdpu_build_attrib_seq()
591 UINT8_TO_BE_STREAM(p_out, (UINT_DESC_TYPE << 3) | SIZE_FOUR_BYTES); in sdpu_build_attrib_seq()
592 UINT16_TO_BE_STREAM(p_out, 0); in sdpu_build_attrib_seq()
593 UINT16_TO_BE_STREAM(p_out, 0xFFFF); in sdpu_build_attrib_seq()
597 UINT8_TO_BE_STREAM(p_out, (UINT_DESC_TYPE << 3) | SIZE_TWO_BYTES); in sdpu_build_attrib_seq()
598 UINT16_TO_BE_STREAM(p_out, *p_attr); in sdpu_build_attrib_seq()
[all …]
Dsdp_discovery.cc72 static uint8_t* sdpu_build_uuid_seq(uint8_t* p_out, uint16_t num_uuids, in sdpu_build_uuid_seq() argument
79 return (p_out); in sdpu_build_uuid_seq()
83 UINT8_TO_BE_STREAM(p_out, (DATA_ELE_SEQ_DESC_TYPE << 3) | SIZE_IN_NEXT_BYTE); in sdpu_build_uuid_seq()
86 p_len = p_out; in sdpu_build_uuid_seq()
87 p_out += 1; in sdpu_build_uuid_seq()
104 UINT8_TO_BE_STREAM(p_out, (UUID_DESC_TYPE << 3) | SIZE_TWO_BYTES); in sdpu_build_uuid_seq()
105 UINT16_TO_BE_STREAM(p_out, p_uuid_list->As16Bit()); in sdpu_build_uuid_seq()
107 UINT8_TO_BE_STREAM(p_out, (UUID_DESC_TYPE << 3) | SIZE_FOUR_BYTES); in sdpu_build_uuid_seq()
108 UINT32_TO_BE_STREAM(p_out, p_uuid_list->As32Bit()); in sdpu_build_uuid_seq()
110 UINT8_TO_BE_STREAM(p_out, (UUID_DESC_TYPE << 3) | SIZE_SIXTEEN_BYTES); in sdpu_build_uuid_seq()
[all …]
Dsdpint.h208 extern uint8_t* sdpu_build_attrib_seq(uint8_t* p_out, uint16_t* p_attr,
210 extern uint8_t* sdpu_build_attrib_entry(uint8_t* p_out,
234 extern uint8_t* sdpu_build_partial_attrib_entry(uint8_t* p_out,
/packages/modules/Bluetooth/system/bta/has/
Dhas_preset.cc52 uint8_t* HasPreset::Serialize(uint8_t* p_out, size_t buffer_size) const { in Serialize() argument
55 return p_out; in Serialize()
62 return p_out; in Serialize()
66 UINT8_TO_STREAM(p_out, name_len + 2); in Serialize()
68 UINT8_TO_STREAM(p_out, index_); in Serialize()
69 UINT8_TO_STREAM(p_out, properties_); in Serialize()
70 ARRAY_TO_STREAM(p_out, name_.c_str(), (int)name_.size()); in Serialize()
71 return p_out; in Serialize()
Dhas_types.h308 auto p_out = out.data() + buffer_offset; in SerializePresets() local
310 UINT8_TO_STREAM(p_out, kHasDeviceBinaryBlobHdr); in SerializePresets()
311 UINT8_TO_STREAM(p_out, has_presets.size()); in SerializePresets()
313 auto* const p_end = p_out + buffer_size; in SerializePresets()
315 if (p_out + preset.SerializedSize() >= p_end) { in SerializePresets()
319 p_out = preset.Serialize(p_out, p_end - p_out); in SerializePresets()
Dhas_preset.h107 uint8_t* Serialize(uint8_t* p_out, size_t buffer_size) const;
/packages/modules/Bluetooth/system/stack/hid/
Dhidh_conn.cc729 uint8_t* p_out; in hidh_conn_snd_data() local
797 p_out = (uint8_t*)(p_buf + 1) + p_buf->offset; in hidh_conn_snd_data()
798 *p_out++ = HID_BUILD_HDR(trans_type, param); in hidh_conn_snd_data()
802 *p_out = report_id; in hidh_conn_snd_data()
807 memcpy(p_out, (((uint8_t*)(buf + 1)) + buf->offset), bytes_copied); in hidh_conn_snd_data()
811 *(p_out + bytes_copied) = data & 0xff; in hidh_conn_snd_data()
813 *(p_out + bytes_copied) = data & 0xff; in hidh_conn_snd_data()
814 *(p_out + bytes_copied + 1) = (data >> 8) & 0xff; in hidh_conn_snd_data()
Dhidd_conn.cc710 uint8_t* p_out; in hidd_conn_send_data() local
747 p_out = (uint8_t*)(p_buf + 1) + p_buf->offset; in hidd_conn_send_data()
749 *p_out = HID_BUILD_HDR(msg_type, param); in hidd_conn_send_data()
750 p_out++; in hidd_conn_send_data()
756 *p_out = data; // report_id in hidd_conn_send_data()
757 p_out++; in hidd_conn_send_data()
762 memcpy(p_out, p_data, len); in hidd_conn_send_data()
/packages/modules/Bluetooth/system/bta/test/common/
Dmock_device_groups.h36 (const RawAddress& addr, uint8_t* p_out, size_t buffer_size),