Home
last modified time | relevance | path

Searched refs:p_len (Results 1 – 12 of 12) 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.h577 uint16_t* p_len, tGATT_SEC_FLAG sec_flag, uint8_t key_size,
581 uint16_t offset, uint8_t* p_value, uint16_t* p_len, uint16_t mtu,
/system/bt/stack/rfcomm/
Dport_api.cc676 uint16_t* p_len) { in PORT_ReadData() argument
684 *p_len = 0; in PORT_ReadData()
714 *p_len += max_len; in PORT_ReadData()
726 *p_len += p_buf->len; in PORT_ReadData()
745 if (*p_len == 1) { in PORT_ReadData()
747 p_port->rx.queue_size, *p_len, (p_data[0])); in PORT_ReadData()
750 p_port->rx.queue_size, *p_len); in PORT_ReadData()
830 int PORT_WriteDataCO(uint16_t handle, int* p_len) { in PORT_WriteDataCO() argument
838 *p_len = 0; in PORT_WriteDataCO()
899 *p_len = available; in PORT_WriteDataCO()
[all …]
/system/bt/stack/include/
Dport_api.h361 uint16_t* p_len);
377 uint16_t* p_len);
389 extern int PORT_WriteDataCO(uint16_t handle, int* p_len);
Dgap_api.h209 uint16_t max_len, uint16_t* p_len);
/system/bt/stack/sdp/
Dsdp_utils.cc793 uint32_t* p_len) { in sdpu_get_len_from_type() argument
800 *p_len = 1; in sdpu_get_len_from_type()
803 *p_len = 2; in sdpu_get_len_from_type()
806 *p_len = 4; in sdpu_get_len_from_type()
809 *p_len = 8; in sdpu_get_len_from_type()
812 *p_len = 16; in sdpu_get_len_from_type()
816 *p_len = 0; in sdpu_get_len_from_type()
820 *p_len = u8; in sdpu_get_len_from_type()
824 *p_len = 0; in sdpu_get_len_from_type()
828 *p_len = u16; in sdpu_get_len_from_type()
[all …]
Dsdp_db.cc199 uint8_t* p_len; in sdp_compose_proto_list() local
209 p_len = p; in sdp_compose_proto_list()
225 *p_len -= 1; in sdp_compose_proto_list()
626 uint8_t* p_len; in SDP_AddAdditionProtoLists() local
637 p_len = p++; in SDP_AddAdditionProtoLists()
643 *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.h222 uint32_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.cc1397 uint8_t* p_len = p - 1; in nfc_ncif_proc_reset_rsp() local
1430 << StringPrintf("CORE_RESET_RSP len :0x%x ", *p_len); in nfc_ncif_proc_reset_rsp()
1431 if ((*p_len) == NCI_CORE_RESET_RSP_LEN(NCI_VERSION_2_0)) { in nfc_ncif_proc_reset_rsp()
1433 } else if ((*p_len) == NCI_CORE_RESET_RSP_LEN(NCI_VERSION_1_0)) { in nfc_ncif_proc_reset_rsp()