Home
last modified time | relevance | path

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

/system/bt/stack/gatt/
Dgatt_db.cc167 uint16_t mtu, uint16_t* p_len, in read_attr_value() argument
187 *p_len = gatt_build_uuid_to_stream_len(attr16.p_value->uuid); in read_attr_value()
188 if (mtu < *p_len) return GATT_NO_RESOURCES; in read_attr_value()
198 *p_len = (val_len == Uuid::kNumBytes16) ? 5 : 19; in read_attr_value()
200 if (mtu < *p_len) return GATT_NO_RESOURCES; in read_attr_value()
218 *p_len = 6; in read_attr_value()
220 *p_len = 4; in read_attr_value()
222 if (mtu < *p_len) return GATT_NO_RESOURCES; in read_attr_value()
239 *p_len = 2; in read_attr_value()
270 uint16_t* p_len, tGATT_SEC_FLAG sec_flag, uint8_t key_size, in gatts_db_read_attr_value_by_type() argument
[all …]
Dgatt_int.h644 const bluetooth::Uuid& type, uint16_t* p_len, tGATT_SEC_FLAG sec_flag,
648 uint16_t handle, uint16_t offset, uint8_t* p_value, uint16_t* p_len,
/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/test/mock/
Dmock_stack_rfcomm_port_api.cc70 uint16_t* p_len) { in PORT_ReadData() argument
92 uint16_t* p_len) { in PORT_WriteData() argument
96 int PORT_WriteDataCO(uint16_t handle, int* p_len) { in PORT_WriteDataCO() argument
Dmock_stack_gap_conn.cc71 uint16_t max_len, uint16_t* p_len) { in GAP_ConnReadData() argument
/system/bt/stack/rfcomm/
Dport_api.cc694 uint16_t* p_len) { in PORT_ReadData() argument
702 *p_len = 0; in PORT_ReadData()
732 *p_len += max_len; in PORT_ReadData()
744 *p_len += p_buf->len; in PORT_ReadData()
763 if (*p_len == 1) { in PORT_ReadData()
765 p_port->rx.queue_size, *p_len, (p_data[0])); in PORT_ReadData()
768 p_port->rx.queue_size, *p_len); in PORT_ReadData()
848 int PORT_WriteDataCO(uint16_t handle, int* p_len) { in PORT_WriteDataCO() argument
856 *p_len = 0; in PORT_WriteDataCO()
917 *p_len = available; in PORT_WriteDataCO()
[all …]
/system/bt/stack/include/
Dport_api.h370 uint16_t* p_len);
386 uint16_t* p_len);
398 extern int PORT_WriteDataCO(uint16_t handle, int* p_len);
Dgap_api.h152 uint16_t max_len, uint16_t* p_len);
/system/bt/stack/sdp/
Dsdp_utils.cc789 uint32_t* p_len) { in sdpu_get_len_from_type() argument
796 *p_len = 1; in sdpu_get_len_from_type()
799 *p_len = 2; in sdpu_get_len_from_type()
802 *p_len = 4; in sdpu_get_len_from_type()
805 *p_len = 8; in sdpu_get_len_from_type()
808 *p_len = 16; in sdpu_get_len_from_type()
812 *p_len = 0; in sdpu_get_len_from_type()
816 *p_len = u8; in sdpu_get_len_from_type()
820 *p_len = 0; in sdpu_get_len_from_type()
824 *p_len = u16; in sdpu_get_len_from_type()
[all …]
Dsdp_db.cc198 uint8_t* p_len; in sdp_compose_proto_list() local
208 p_len = p; in sdp_compose_proto_list()
224 *p_len -= 1; in sdp_compose_proto_list()
615 uint8_t* p_len; in SDP_AddAdditionProtoLists() local
626 p_len = p++; in SDP_AddAdditionProtoLists()
632 *p_len = (uint8_t)(p - p_len - 1); in SDP_AddAdditionProtoLists()
Dsdp_discovery.cc77 uint8_t* p_len; in sdpu_build_uuid_seq() local
83 p_len = p_out; in sdpu_build_uuid_seq()
105 xx = (uint16_t)(p_out - p_len - 1); in sdpu_build_uuid_seq()
106 UINT8_TO_BE_STREAM(p_len, xx); in sdpu_build_uuid_seq()
Dsdpint.h213 uint32_t* p_len);
/system/bt/stack/gap/
Dgap_conn.cc354 uint16_t max_len, uint16_t* p_len) { in GAP_ConnReadData() argument
360 *p_len = 0; in GAP_ConnReadData()
373 *p_len += copy_len; in GAP_ConnReadData()
387 p_ccb->rx_queue_size -= *p_len; in GAP_ConnReadData()
393 p_ccb->rx_queue_size, *p_len); in GAP_ConnReadData()
/system/nfc/src/nfc/nfc/
Dnfc_ncif.cc1644 uint8_t* p_len = p - 1; in nfc_ncif_proc_reset_rsp() local
1648 status = *p_len > 0 ? *p++ : NCI_STATUS_FAILED; in nfc_ncif_proc_reset_rsp()
1649 if (*p_len > 2 && is_ntf) { in nfc_ncif_proc_reset_rsp()
1679 << StringPrintf("CORE_RESET_RSP len :0x%x ", *p_len); in nfc_ncif_proc_reset_rsp()
1680 if ((*p_len) == NCI_CORE_RESET_RSP_LEN(NCI_VERSION_2_0)) { in nfc_ncif_proc_reset_rsp()
1682 } else if ((*p_len) == NCI_CORE_RESET_RSP_LEN(NCI_VERSION_1_0)) { in nfc_ncif_proc_reset_rsp()
/system/bt/stack/test/gatt/
Dgatt_sr_test.cc98 uint16_t* p_len, tGATT_SEC_FLAG sec_flag, uint8_t key_size, in gatts_db_read_attr_value_by_type() argument
116 uint16_t handle, uint16_t offset, uint8_t* p_value, uint16_t* p_len, in gatts_read_attr_value_by_handle() argument