/system/bt/stack/include/ |
D | l2c_api.h | 146 uint16_t rtrans_tout; 147 uint16_t mon_tout; 148 uint16_t mps; 156 uint16_t result; /* Only used in confirm messages */ 158 uint16_t mtu; 162 uint16_t flush_to; 169 uint16_t flags; /* bit 0: 0-no continuation, 1-continuation */ 176 uint16_t mtu; 177 uint16_t mps; 178 uint16_t credits; [all …]
|
D | gap_api.h | 114 typedef void(tGAP_CONN_CALLBACK)(uint16_t gap_handle, uint16_t event); 120 typedef void(tGAP_CALLBACK)(uint16_t event, void* p_data); 124 uint16_t status; 130 uint16_t int_min; 131 uint16_t int_max; 132 uint16_t latency; 133 uint16_t sp_tout; 139 uint16_t icon; 146 uint16_t length, char* p_name); 164 extern uint16_t GAP_ConnOpen(const char* p_serv_name, uint8_t service_id, [all …]
|
D | hcimsgs.h | 29 void bte_main_hci_send(BT_HDR* p_msg, uint16_t event); 49 extern void btsnd_hcic_per_inq_mode(uint16_t max_period, uint16_t min_period, 68 uint16_t packet_types, 71 uint16_t clock_offset, uint8_t allow_switch); 84 extern void btsnd_hcic_disconnect(uint16_t handle, uint8_t reason); 94 extern void btsnd_hcic_add_SCO_conn(uint16_t handle, uint16_t packet_types); 168 extern void btsnd_hcic_change_conn_type(uint16_t handle, uint16_t packet_types); 181 uint16_t handle); /* Authentication Request */ 184 extern void btsnd_hcic_set_conn_encrypt(uint16_t handle, bool enable); 195 uint16_t clock_offset); [all …]
|
D | sdp_api.h | 71 typedef void(tSDP_DISC_CMPL_CB)(uint16_t result); 72 typedef void(tSDP_DISC_CMPL_CB2)(uint16_t result, void* user_data); 76 uint16_t peer_mtu; 81 uint16_t data_len; 90 typedef void(tSDP_DISC_RES_CB)(uint16_t event, tSDP_DATA* p_data); 96 uint16_t u16; /* 16-bit integer */ 106 uint16_t attr_id; /* Attribute ID */ 107 uint16_t attr_len_type; /* Length and type fields */ 122 uint16_t num_uuid_filters; /* Number of UUIds to filter */ 124 uint16_t num_attr_filters; /* Number of attribute filters */ [all …]
|
D | bnep_api.h | 84 typedef void(tBNEP_CONN_STATE_CB)(uint16_t handle, const RawAddress& rem_bda, 93 typedef void(tBNEP_CONNECT_IND_CB)(uint16_t handle, const RawAddress& bd_addr, 106 typedef void(tBNEP_DATA_BUF_CB)(uint16_t handle, const RawAddress& src, 107 const RawAddress& dst, uint16_t protocol, 120 typedef void(tBNEP_DATA_IND_CB)(uint16_t handle, const RawAddress& src, 121 const RawAddress& dst, uint16_t protocol, 122 uint8_t* p_data, uint16_t len, 129 typedef void(tBNEP_TX_DATA_FLOW_CB)(uint16_t handle, tBNEP_RESULT event); 144 typedef void(tBNEP_FILTER_IND_CB)(uint16_t handle, bool indication, 145 tBNEP_RESULT result, uint16_t num_filters, [all …]
|
D | port_api.h | 96 typedef int(tPORT_DATA_CALLBACK)(uint16_t port_handle, void* p_data, 97 uint16_t len); 102 typedef int(tPORT_DATA_CO_CALLBACK)(uint16_t port_handle, uint8_t* p_buf, 103 uint16_t len, int type); 105 typedef void(tPORT_CALLBACK)(uint32_t code, uint16_t port_handle); 216 extern int RFCOMM_CreateConnection(uint16_t uuid, uint8_t scn, bool is_server, 217 uint16_t mtu, const RawAddress& bd_addr, 218 uint16_t* p_handle, 230 extern int RFCOMM_RemoveConnection(uint16_t handle); 241 extern int RFCOMM_RemoveServer(uint16_t handle); [all …]
|
D | gatt_api.h | 127 typedef uint16_t tGATT_DISCONN_REASON; 173 typedef uint16_t tGATT_PERM; 251 uint16_t unit; /* as UUIUD defined by SIG */ 252 uint16_t descr; /* as UUID as defined by SIG */ 268 uint16_t len; 278 uint16_t handle_list[GATT_AGGR_HANDLE_NUM_MAX]; 293 typedef uint16_t tGATT_CLT_CHAR_CONFIG; 299 typedef uint16_t tGATT_SVR_CHAR_CONFIG; 320 uint16_t conn_id; 321 uint16_t handle; /* attribute handle */ [all …]
|
D | btm_api.h | 184 extern void BTM_VendorSpecificCommand(uint16_t opcode, uint8_t param_len, 241 extern void BTM_WritePageTimeout(uint16_t timeout); 251 extern void BTM_WriteVoiceSettings(uint16_t settings); 290 extern tBTM_STATUS BTM_SetDiscoverability(uint16_t inq_mode, uint16_t window, 291 uint16_t interval); 307 extern uint16_t BTM_ReadDiscoverability(uint16_t* p_window, 308 uint16_t* p_interval); 346 tBTM_INQ_PARMS* p_inqparms, uint16_t max_delay, uint16_t min_delay, 401 extern uint16_t BTM_IsInquiryActive(void); 444 extern tBTM_STATUS BTM_SetConnectability(uint16_t page_mode, uint16_t window, [all …]
|
D | mca_api.h | 94 typedef uint16_t tMCA_DL; /* the handle for the data channel. This is reported 105 uint16_t ctrl_psm; /* L2CAP PSM for the MCAP control channel */ 106 uint16_t data_psm; /* L2CAP PSM for the MCAP data channel */ 107 uint16_t sec_mask; /* Security mask for BTM_SetSecurityLevel() */ 129 uint16_t user_rx_buf_size; 130 uint16_t user_tx_buf_size; 131 uint16_t fcr_rx_buf_size; 132 uint16_t fcr_tx_buf_size; 134 uint16_t data_mtu; /* L2CAP MTU of the MCAP data channel */ 139 uint16_t mdl_id; /* The associated MDL ID */ [all …]
|
D | pan_api.h | 99 typedef void(tPAN_CONN_STATE_CB)(uint16_t handle, const RawAddress& bd_addr, 121 typedef void(tPAN_DATA_IND_CB)(uint16_t handle, const RawAddress& src, 122 const RawAddress& dst, uint16_t protocol, 123 uint8_t* p_data, uint16_t len, bool ext, 136 typedef void(tPAN_DATA_BUF_IND_CB)(uint16_t handle, const RawAddress& src, 137 const RawAddress& dst, uint16_t protocol, 144 typedef void(tPAN_TX_DATA_FLOW_CB)(uint16_t handle, tPAN_RESULT event); 159 typedef void(tPAN_FILTER_IND_CB)(uint16_t handle, bool indication, 160 tBNEP_RESULT result, uint16_t num_filters, 175 typedef void(tPAN_MFILTER_IND_CB)(uint16_t handle, bool indication, [all …]
|
D | avrc_api.h | 149 uint16_t num_attr; /* The number of attributes in p_attrs */ 150 uint16_t* p_attrs; /* The attributes filter. If NULL, AVRCP API sets the 164 typedef void(tAVRC_FIND_CBACK)(uint16_t status); 168 typedef void(tAVRC_CTRL_CBACK)(uint8_t handle, uint8_t event, uint16_t result, 229 extern uint16_t AVRC_AddRecord(uint16_t service_uuid, 231 const char* p_provider_name, uint16_t categories, 233 uint16_t profile_version); 274 extern uint16_t AVRC_FindService(uint16_t service_uuid, 327 extern uint16_t AVRC_Open(uint8_t* p_handle, tAVRC_CONN_CB* p_ccb, 348 extern uint16_t AVRC_Close(uint8_t handle); [all …]
|
/system/bt/bta/include/ |
D | bta_gatt_api.h | 130 uint16_t unit; /* as UUIUD defined by SIG */ 131 uint16_t descr; /* as UUID as defined by SIG */ 141 typedef uint16_t tBTA_GATT_CLT_CHAR_CONFIG; 147 typedef uint16_t tBTA_GATT_SVR_CHAR_CONFIG; 154 uint16_t handle_list[BTA_GATT_AGGR_HANDLE_NUM_MAX]; 159 uint16_t len; 184 typedef uint16_t tBTA_GATT_REASON; 190 uint16_t handles[BTA_GATTC_MULTI_MAX]; 214 uint16_t s_handle; 215 uint16_t e_handle; /* used for service only */ [all …]
|
D | bta_pan_ci.h | 46 extern void bta_pan_ci_tx_ready(uint16_t handle); 61 extern void bta_pan_ci_rx_ready(uint16_t handle); 78 extern void bta_pan_ci_tx_flow(uint16_t handle, bool enable); 94 extern void bta_pan_ci_rx_writebuf(uint16_t handle, const RawAddress& src, 95 const RawAddress& dst, uint16_t protocol, 111 extern BT_HDR* bta_pan_ci_readbuf(uint16_t handle, RawAddress& src, 112 RawAddress& dst, uint16_t* p_protocol, 125 extern void bta_pan_ci_set_pfilters(uint16_t handle, uint16_t num_filters, 126 uint16_t* p_start_array, 127 uint16_t* p_end_array); [all …]
|
D | bta_pan_co.h | 76 extern void bta_pan_co_open(uint16_t handle, uint8_t app_id, 91 extern void bta_pan_co_close(uint16_t handle, uint8_t app_id); 106 extern void bta_pan_co_tx_path(uint16_t handle, uint8_t app_id); 121 extern void bta_pan_co_rx_path(uint16_t handle, uint8_t app_id); 136 extern void bta_pan_co_tx_write(uint16_t handle, uint8_t app_id, 138 uint16_t protocol, uint8_t* p_data, 139 uint16_t len, bool ext, bool forward); 154 extern void bta_pan_co_tx_writebuf(uint16_t handle, uint8_t app_id, 156 uint16_t protocol, BT_HDR* p_buf, bool ext, 173 extern void bta_pan_co_rx_flow(uint16_t handle, uint8_t app_id, bool enable); [all …]
|
/system/bt/stack/l2cap/ |
D | l2c_int.h | 189 uint16_t rx_sdu_len; /* Length of the SDU being received */ 245 uint16_t psm; 246 uint16_t real_psm; /* This may be a dummy RCB for an o/b connection but */ 264 uint16_t psm; 286 uint16_t ble_sdu_length; /* Length of unassembled sdu length*/ 291 uint16_t local_cid; /* Local CID */ 292 uint16_t remote_cid; /* Remote CID */ 318 uint16_t buff_quota; /* Buffer quota before sending congestion */ 327 uint16_t tx_mps; /* TX MPS adjusted based on current controller */ 328 uint16_t max_rx_mtu; [all …]
|
/system/core/libziparchive/ |
D | zip_archive_common.h | 40 uint16_t disk_num; 45 uint16_t cd_start_disk; 50 uint16_t num_records_on_disk; 52 uint16_t num_records; 59 uint16_t comment_length; 78 uint16_t version_made_by; 80 uint16_t version_needed; 84 uint16_t gpb_flags; 87 uint16_t compression_method; 89 uint16_t last_mod_time; [all …]
|
/system/bt/stack/sdp/ |
D | sdpint.h | 90 uint16_t len; 95 uint16_t num_uids; 101 uint16_t start; 102 uint16_t end; 106 uint16_t num_attr; 114 uint16_t id; 122 uint16_t num_attributes; 131 uint16_t num_records; 143 uint16_t next_attr_index; /* attr index for next continuation response */ 144 uint16_t next_attr_start_id; /* attr id to start with for the attr index in [all …]
|
/system/bt/stack/pan/ |
D | pan_int.h | 53 uint16_t handle; 56 uint16_t bad_pkts_rcvd; 57 uint16_t src_uuid; 58 uint16_t dst_uuid; 59 uint16_t prv_src_uuid; 60 uint16_t prv_dst_uuid; 61 uint16_t ip_addr_known; 100 extern void pan_conn_ind_cb(uint16_t handle, const RawAddress& p_bda, 103 extern void pan_connect_state_cb(uint16_t handle, const RawAddress& rem_bda, 105 extern void pan_data_ind_cb(uint16_t handle, const RawAddress& src, [all …]
|
/system/bt/stack/gatt/ |
D | gatt_int.h | 36 ((uint16_t)((((uint8_t)(tcb_idx)) << 8) | ((uint8_t)(gatt_if)))) 37 #define GATT_GET_TCB_IDX(conn_id) ((uint8_t)(((uint16_t)(conn_id)) >> 8)) 105 uint16_t s_handle; /* starting handle */ 106 uint16_t e_handle; /* ending handle */ 107 uint16_t value_len; /* length of the attribute value */ 122 uint16_t handle; /* read, handle value confirmation */ 123 uint16_t mtu; 129 uint16_t handle; 141 uint16_t handle; /* WRITE, WRITE_BLOB */ 142 uint16_t mtu; /* exchange MTU request */ [all …]
|
/system/bt/bta/pan/ |
D | bta_pan_ci.cc | 54 void bta_pan_ci_tx_ready(uint16_t handle) { in bta_pan_ci_tx_ready() 76 void bta_pan_ci_rx_ready(uint16_t handle) { in bta_pan_ci_rx_ready() 100 void bta_pan_ci_tx_flow(uint16_t handle, bool enable) { in bta_pan_ci_tx_flow() 123 void bta_pan_ci_rx_write(uint16_t handle, const RawAddress& dst, in bta_pan_ci_rx_write() 124 const RawAddress& src, uint16_t protocol, in bta_pan_ci_rx_write() 125 uint8_t* p_data, uint16_t len, bool ext) { in bta_pan_ci_rx_write() 160 void bta_pan_ci_rx_writebuf(uint16_t handle, const RawAddress& dst, in bta_pan_ci_rx_writebuf() 161 const RawAddress& src, uint16_t protocol, in bta_pan_ci_rx_writebuf() 184 BT_HDR* bta_pan_ci_readbuf(uint16_t handle, RawAddress& src, RawAddress& dst, in bta_pan_ci_readbuf() 185 uint16_t* p_protocol, bool* p_ext, bool* p_forward) { in bta_pan_ci_readbuf() [all …]
|
/system/bt/stack/btm/ |
D | btm_int.h | 59 uint16_t evt_len, uint8_t hci_status); 80 uint16_t hci_handle, uint8_t link_role, 89 extern uint8_t btm_handle_to_acl_index(uint16_t hci_handle); 107 extern tBTM_STATUS btm_set_packet_types(tACL_CONN* p, uint16_t pkt_types); 108 extern void btm_process_clk_off_comp_evt(uint16_t hci_handle, 109 uint16_t clock_offset); 114 extern void btm_acl_encrypt_change(uint16_t handle, uint8_t status, 116 extern uint16_t btm_get_acl_disc_reason_code(void); 122 uint16_t handle); 127 uint16_t* p_pkt_type); [all …]
|
/system/bt/bta/ag/ |
D | bta_ag_rfc.cc | 44 void bta_ag_port_cback_1(uint32_t code, uint16_t port_handle); 45 void bta_ag_port_cback_2(uint32_t code, uint16_t port_handle); 46 void bta_ag_port_cback_3(uint32_t code, uint16_t port_handle); 48 void bta_ag_mgmt_cback_1(uint32_t code, uint16_t port_handle); 49 void bta_ag_mgmt_cback_2(uint32_t code, uint16_t port_handle); 50 void bta_ag_mgmt_cback_3(uint32_t code, uint16_t port_handle); 52 int bta_ag_data_cback_1(uint16_t port_handle, void* p_data, uint16_t len); 53 int bta_ag_data_cback_2(uint16_t port_handle, void* p_data, uint16_t len); 54 int bta_ag_data_cback_3(uint16_t port_handle, void* p_data, uint16_t len); 78 static void bta_ag_port_cback(UNUSED_ATTR uint32_t code, uint16_t port_handle, in bta_ag_port_cback() [all …]
|
/system/nfc/src/nfa/include/ |
D | nfa_p2p_api.h | 111 uint16_t local_link_miu; 112 uint16_t remote_link_miu; 123 uint16_t remote_miu; 132 uint16_t remote_miu; 159 uint16_t wks; /* well-known service */ 160 uint16_t local_link_miu; 161 uint16_t remote_link_miu; 276 extern tNFA_STATUS NFA_P2pAcceptConn(tNFA_HANDLE conn_handle, uint16_t miu, 329 char* p_service_name, uint16_t miu, 347 uint16_t miu, uint8_t rw); [all …]
|
/system/bt/stack/mcap/ |
D | mca_int.h | 47 uint16_t mdl_id; /* the MDL ID associated with this request/response */ 58 uint16_t peer_mtu; /* Transport channel L2CAP MTU of the peer */ 59 uint16_t lcid; /* L2CAP LCID */ 64 uint16_t reason; /* disconnect reason from L2CAP */ 66 uint16_t lcid; /* L2CAP LCID */ 120 uint16_t mdl_id; /* the MDL ID associated with this request/response */ 175 uint16_t peer_mtu; /* L2CAP mtu of the peer device */ 176 uint16_t my_mtu; /* Our MTU for this channel */ 177 uint16_t lcid; /* L2CAP LCID */ 222 uint16_t sec_mask; /* Security mask for connections as initiator */ [all …]
|
/system/bt/tools/mcap_tool/ |
D | mcap_test_mcl.h | 41 bool Connect(uint16_t ctrl_psm, uint16_t sec_mask); 60 McapMdl* AllocateMdl(tMCA_DEP mdep_handle, uint16_t mdl_id, uint8_t dep_id, 73 bool CreateMdl(tMCA_DEP mdep_handle, uint16_t data_psm, uint16_t mdl_id, 89 bool CreateMdlResponse(tMCA_DEP mdep_handle, uint16_t mdl_id, 101 bool DeleteMdl(uint16_t mdl_id); 106 void SetMtu(uint16_t mtu); 107 uint16_t GetMtu(); 108 McapMdl* FindMdlById(uint16_t mdl_id); 111 void RemoveMdl(uint16_t mdl_id); 113 void ResetMdl(uint16_t mdl_id); [all …]
|