Home
last modified time | relevance | path

Searched refs:p_len (Results 1 – 14 of 14) sorted by relevance

/system/bt/stack/avrc/
Davrc_bld_tg.cc53 uint8_t *p_data, *p_start, *p_len, *p_count; in avrc_bld_get_capability_rsp() local
69 p_data = p_len = p_start + 2; /* pdu + rsvd */ in avrc_bld_get_capability_rsp()
101 UINT16_TO_BE_STREAM(p_len, len); in avrc_bld_get_capability_rsp()
121 uint8_t *p_data, *p_start, *p_len, *p_num; in avrc_bld_list_app_settings_attr_rsp() local
128 p_data = p_len = p_start + 2; /* pdu + rsvd */ in avrc_bld_list_app_settings_attr_rsp()
148 UINT16_TO_BE_STREAM(p_len, len); in avrc_bld_list_app_settings_attr_rsp()
167 uint8_t *p_data, *p_start, *p_len, *p_num; in avrc_bld_list_app_settings_values_rsp() local
174 p_data = p_len = p_start + 2; /* pdu + rsvd */ in avrc_bld_list_app_settings_values_rsp()
193 UINT16_TO_BE_STREAM(p_len, len); in avrc_bld_list_app_settings_values_rsp()
211 uint8_t *p_data, *p_start, *p_len, *p_count; in avrc_bld_get_cur_app_setting_value_rsp() local
[all …]
/system/bt/stack/gatt/
Dgatt_db.cc165 uint16_t mtu, uint16_t* p_len, in read_attr_value() argument
185 *p_len = gatt_build_uuid_to_stream_len(attr16.p_value->uuid); in read_attr_value()
186 if (mtu < *p_len) return GATT_NO_RESOURCES; in read_attr_value()
196 *p_len = (val_len == Uuid::kNumBytes16) ? 5 : 19; in read_attr_value()
198 if (mtu < *p_len) return GATT_NO_RESOURCES; in read_attr_value()
216 *p_len = 6; in read_attr_value()
218 *p_len = 4; in read_attr_value()
220 if (mtu < *p_len) return GATT_NO_RESOURCES; in read_attr_value()
256 uint16_t s_handle, uint16_t e_handle, const Uuid& type, uint16_t* p_len, in gatts_db_read_attr_value_by_type() argument
266 if (*p_len <= 2) { in gatts_db_read_attr_value_by_type()
[all …]
Dgatt_int.h560 uint16_t* p_len, tGATT_SEC_FLAG sec_flag, uint8_t key_size,
564 uint16_t offset, uint8_t* p_value, uint16_t* p_len, uint16_t mtu,
/system/bt/stack/sdp/
Dsdp_utils.cc788 uint32_t* p_len) { in sdpu_get_len_from_type() argument
795 *p_len = 1; in sdpu_get_len_from_type()
798 *p_len = 2; in sdpu_get_len_from_type()
801 *p_len = 4; in sdpu_get_len_from_type()
804 *p_len = 8; in sdpu_get_len_from_type()
807 *p_len = 16; in sdpu_get_len_from_type()
811 *p_len = 0; in sdpu_get_len_from_type()
815 *p_len = u8; in sdpu_get_len_from_type()
819 *p_len = 0; in sdpu_get_len_from_type()
823 *p_len = u16; in sdpu_get_len_from_type()
[all …]
Dsdp_db.cc204 uint8_t* p_len; in sdp_compose_proto_list() local
214 p_len = p; in sdp_compose_proto_list()
230 *p_len -= 1; in sdp_compose_proto_list()
631 uint8_t* p_len; in SDP_AddAdditionProtoLists() local
642 p_len = p++; in SDP_AddAdditionProtoLists()
648 *p_len = (uint8_t)(p - p_len - 1); in SDP_AddAdditionProtoLists()
Dsdp_discovery.cc75 uint8_t* p_len; in sdpu_build_uuid_seq() local
81 p_len = p_out; in sdpu_build_uuid_seq()
103 xx = (uint16_t)(p_out - p_len - 1); in sdpu_build_uuid_seq()
104 UINT8_TO_BE_STREAM(p_len, xx); in sdpu_build_uuid_seq()
Dsdpint.h269 uint32_t* p_len);
/system/bt/stack/rfcomm/
Dport_api.cc1131 uint16_t* p_len) { in PORT_ReadData() argument
1139 *p_len = 0; in PORT_ReadData()
1169 *p_len += max_len; in PORT_ReadData()
1181 *p_len += p_buf->len; in PORT_ReadData()
1200 if (*p_len == 1) { in PORT_ReadData()
1202 p_port->rx.queue_size, *p_len, (p_data[0])); in PORT_ReadData()
1205 p_port->rx.queue_size, *p_len); in PORT_ReadData()
1393 int PORT_WriteDataCO(uint16_t handle, int* p_len) { in PORT_WriteDataCO() argument
1401 *p_len = 0; in PORT_WriteDataCO()
1462 *p_len = available; in PORT_WriteDataCO()
[all …]
/system/bt/stack/include/
Dport_api.h562 uint16_t* p_len);
591 uint16_t* p_len);
603 extern int PORT_WriteDataCO(uint16_t handle, int* p_len);
Dgap_api.h210 uint16_t max_len, uint16_t* p_len);
Dbtm_api.h1737 uint8_t* p_len);
/system/bt/stack/gap/
Dgap_conn.cc373 uint16_t max_len, uint16_t* p_len) { in GAP_ConnReadData() argument
379 *p_len = 0; in GAP_ConnReadData()
392 *p_len += copy_len; in GAP_ConnReadData()
406 p_ccb->rx_queue_size -= *p_len; in GAP_ConnReadData()
412 p_ccb->rx_queue_size, *p_len); in GAP_ConnReadData()
/system/nfc/src/nfc/nfc/
Dnfc_ncif.cc1398 uint8_t* p_len = p - 1; in nfc_ncif_proc_reset_rsp() local
1431 << StringPrintf("CORE_RESET_RSP len :0x%x ", *p_len); in nfc_ncif_proc_reset_rsp()
1432 if ((*p_len) == NCI_CORE_RESET_RSP_LEN(NCI_VERSION_2_0)) { in nfc_ncif_proc_reset_rsp()
1434 } else if ((*p_len) == NCI_CORE_RESET_RSP_LEN(NCI_VERSION_1_0)) { in nfc_ncif_proc_reset_rsp()
/system/bt/stack/btm/
Dbtm_sec.cc1733 uint8_t* BTM_ReadOobData(uint8_t* p_data, uint8_t eir_tag, uint8_t* p_len) { in BTM_ReadOobData() argument
1771 if (p_len) *p_len = ret_len; in BTM_ReadOobData()