/system/bt/stack/gatt/ |
D | gatt_db.cc | 167 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 …]
|
D | gatt_int.h | 644 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/ |
D | avrc_bld_tg.cc | 53 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/ |
D | mock_stack_rfcomm_port_api.cc | 70 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
|
D | mock_stack_gap_conn.cc | 71 uint16_t max_len, uint16_t* p_len) { in GAP_ConnReadData() argument
|
/system/bt/stack/rfcomm/ |
D | port_api.cc | 694 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/ |
D | port_api.h | 370 uint16_t* p_len); 386 uint16_t* p_len); 398 extern int PORT_WriteDataCO(uint16_t handle, int* p_len);
|
D | gap_api.h | 152 uint16_t max_len, uint16_t* p_len);
|
/system/bt/stack/sdp/ |
D | sdp_utils.cc | 789 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 …]
|
D | sdp_db.cc | 198 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()
|
D | sdp_discovery.cc | 77 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()
|
D | sdpint.h | 213 uint32_t* p_len);
|
/system/bt/stack/gap/ |
D | gap_conn.cc | 354 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/ |
D | nfc_ncif.cc | 1644 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/ |
D | gatt_sr_test.cc | 98 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
|