/system/bt/stack/include/ |
D | l2c_api.h | 148 uint16_t rtrans_tout; 149 uint16_t mon_tout; 150 uint16_t mps; 158 uint16_t result; /* Only used in confirm messages */ 160 uint16_t mtu; 164 uint16_t flush_to; 171 uint16_t flags; /* bit 0: 0-no continuation, 1-continuation */ 178 uint16_t mtu; 179 uint16_t mps; 180 uint16_t credits; [all …]
|
D | gap_api.h | 110 uint16_t gap_handle; 111 uint16_t credits_received; 112 uint16_t credit_count; 125 typedef void(tGAP_CONN_CALLBACK)(uint16_t gap_handle, uint16_t event, 132 typedef void(tGAP_CALLBACK)(uint16_t event, void* p_data); 136 uint16_t status; 142 uint16_t int_min; 143 uint16_t int_max; 144 uint16_t latency; 145 uint16_t sp_tout; [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); 93 extern void btsnd_hcic_add_SCO_conn(uint16_t handle, uint16_t packet_types); 166 extern void btsnd_hcic_change_conn_type(uint16_t handle, uint16_t packet_types); 179 uint16_t handle); /* Authentication Request */ 182 extern void btsnd_hcic_set_conn_encrypt(uint16_t handle, bool enable); 193 uint16_t clock_offset); [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, 107 typedef void(tBNEP_DATA_BUF_CB)(uint16_t handle, const RawAddress& src, 108 const RawAddress& dst, uint16_t protocol, 121 typedef void(tBNEP_DATA_IND_CB)(uint16_t handle, const RawAddress& src, 122 const RawAddress& dst, uint16_t protocol, 123 uint8_t* p_data, uint16_t len, 130 typedef void(tBNEP_TX_DATA_FLOW_CB)(uint16_t handle, tBNEP_RESULT event); 145 typedef void(tBNEP_FILTER_IND_CB)(uint16_t handle, bool indication, 146 tBNEP_RESULT result, uint16_t num_filters, [all …]
|
D | sdp_api.h | 68 typedef void(tSDP_DISC_CMPL_CB)(uint16_t result); 69 typedef void(tSDP_DISC_CMPL_CB2)(uint16_t result, void* user_data); 73 uint16_t peer_mtu; 78 uint16_t data_len; 87 typedef void(tSDP_DISC_RES_CB)(uint16_t event, tSDP_DATA* p_data); 93 uint16_t u16; /* 16-bit integer */ 103 uint16_t attr_id; /* Attribute ID */ 104 uint16_t attr_len_type; /* Length and type fields */ 119 uint16_t num_uuid_filters; /* Number of UUIds to filter */ 121 uint16_t num_attr_filters; /* Number of attribute 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 | 130 typedef uint16_t tGATT_DISCONN_REASON; 176 typedef uint16_t tGATT_PERM; 254 uint16_t unit; /* as UUIUD defined by SIG */ 255 uint16_t descr; /* as UUID as defined by SIG */ 271 uint16_t len; 281 uint16_t handle_list[GATT_AGGR_HANDLE_NUM_MAX]; 301 typedef uint16_t tGATT_SVR_CHAR_CONFIG; 322 uint16_t conn_id; 323 uint16_t handle; /* attribute handle */ 324 uint16_t offset; /* attribute value offset, if no offfset is needed for the [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 | 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 …]
|
/system/bt/bta/include/ |
D | bta_gatt_api.h | 72 uint16_t unit; /* as UUIUD defined by SIG */ 73 uint16_t descr; /* as UUID as defined by SIG */ 84 uint16_t handle_list[BTA_GATT_AGGR_HANDLE_NUM_MAX]; 88 uint16_t len; 93 typedef uint16_t tBTA_GATT_REASON; 99 uint16_t handles[BTA_GATTC_MULTI_MAX]; 109 uint16_t conn_id; 111 uint16_t handle; 112 uint16_t len; 117 uint16_t conn_id; [all …]
|
D | bta_gatt_queue.h | 37 static void Clean(uint16_t conn_id); 38 static void ReadCharacteristic(uint16_t conn_id, uint16_t handle, 40 static void ReadDescriptor(uint16_t conn_id, uint16_t handle, 42 static void WriteCharacteristic(uint16_t conn_id, uint16_t handle, 46 static void WriteDescriptor(uint16_t conn_id, uint16_t handle, 54 uint16_t handle; 66 static void mark_as_not_executing(uint16_t conn_id); 67 static void gatt_execute_next_op(uint16_t conn_id); 68 static void gatt_read_op_finished(uint16_t conn_id, tGATT_STATUS status, 69 uint16_t handle, uint16_t len, [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_hearing_aid_api.h | 27 constexpr uint16_t HEARINGAID_MAX_NUM_UUIDS = 1; 29 constexpr uint16_t HA_INTERVAL_10_MS = 10; 30 constexpr uint16_t HA_INTERVAL_20_MS = 20; 100 uint16_t requested_connection_interval; 108 uint16_t conn_id; 109 uint16_t gap_handle; 110 uint16_t audio_control_point_handle; 111 uint16_t audio_status_handle; 112 uint16_t audio_status_ccc_handle; 113 uint16_t service_changed_ccc_handle; [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/test/common/ |
D | mock_l2cap_layer.h | 29 virtual uint16_t Register(uint16_t psm, tL2CAP_APPL_INFO* p_cb_info, 31 virtual uint16_t ConnectRequest(uint16_t psm, const RawAddress& bd_addr) = 0; 33 uint16_t lcid, uint16_t result, 34 uint16_t status) = 0; 35 virtual bool DisconnectRequest(uint16_t cid) = 0; 36 virtual bool DisconnectResponse(uint16_t cid) = 0; 37 virtual bool ConfigRequest(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) = 0; 38 virtual bool ConfigResponse(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) = 0; 39 virtual uint8_t DataWrite(uint16_t cid, BT_HDR* p_data) = 0; 45 MOCK_METHOD3(Register, uint16_t(uint16_t psm, tL2CAP_APPL_INFO* p_cb_info, [all …]
|
D | mock_btsnoop_module.cc | 24 static void whitelist_l2c_channel(uint16_t, uint16_t, in whitelist_l2c_channel() argument 25 uint16_t) { /* do nothing */ in whitelist_l2c_channel() 28 static void whitelist_rfc_dlci(uint16_t, uint8_t) { /* do nothing */ in whitelist_rfc_dlci() argument 31 static void add_rfc_l2c_channel(uint16_t, uint16_t, uint16_t) { /* do nothing */ in add_rfc_l2c_channel() argument 34 static void clear_l2cap_whitelist(uint16_t, uint16_t, in clear_l2cap_whitelist() argument 35 uint16_t) { /* do nothing */ in clear_l2cap_whitelist()
|
/system/bt/stack/l2cap/ |
D | l2c_int.h | 41 constexpr uint16_t L2CAP_LE_MIN_MTU = 23; // Minimum SDU size 42 constexpr uint16_t L2CAP_LE_MIN_MPS = 23; 43 constexpr uint16_t L2CAP_LE_MAX_MPS = 65533; 44 constexpr uint16_t L2CAP_LE_CREDIT_MAX = 65535; 48 constexpr uint16_t L2CAP_LE_CREDIT_DEFAULT = 0xffff; 52 constexpr uint16_t L2CAP_LE_CREDIT_THRESHOLD = 0x0040; 204 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 */ 260 uint16_t psm; [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/bta/gatt/ |
D | database_builder.h | 29 constexpr static std::pair<uint16_t, uint16_t> EXPLORE_END = 32 void AddService(uint16_t handle, uint16_t end_handle, 34 void AddIncludedService(uint16_t handle, const bluetooth::Uuid& uuid, 35 uint16_t start_handle, uint16_t end_handle); 36 void AddCharacteristic(uint16_t handle, uint16_t value_handle, 38 void AddDescriptor(uint16_t handle, const bluetooth::Uuid& uuid); 46 const std::pair<uint16_t, uint16_t>& CurrentlyExploredService(); 51 std::pair<uint16_t, uint16_t> NextDescriptorRangeToExplore(); 74 std::pair<uint16_t, uint16_t> pending_service; 76 uint16_t pending_characteristic; [all …]
|
/system/bt/stack/sdp/ |
D | sdpint.h | 91 uint16_t len; 96 uint16_t num_uids; 102 uint16_t start; 103 uint16_t end; 107 uint16_t num_attr; 115 uint16_t id; 123 uint16_t num_attributes; 132 uint16_t num_records; 144 uint16_t next_attr_index; /* attr index for next continuation response */ 145 uint16_t next_attr_start_id; /* attr id to start with for the attr index in [all …]
|
/system/bt/profile/avrcp/ |
D | avrcp_internal.h | 33 virtual uint16_t AddRecord(uint16_t service_uuid, const char* p_service_name, 34 const char* p_provider_name, uint16_t categories, 36 uint16_t profile_version) = 0; 38 virtual uint16_t FindService(uint16_t service_uuid, const RawAddress& bd_addr, 42 virtual uint16_t Open(uint8_t* p_handle, tAVRC_CONN_CB* p_ccb, 45 virtual uint16_t OpenBrowse(uint8_t handle, uint8_t conn_role) = 0; 47 virtual uint16_t GetPeerMtu(uint8_t handle) = 0; 49 virtual uint16_t GetBrowseMtu(uint8_t handle) = 0; 51 virtual uint16_t Close(uint8_t handle) = 0; 53 virtual uint16_t CloseBrowse(uint8_t handle) = 0; [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, 104 extern void pan_connect_state_cb(uint16_t handle, const RawAddress& rem_bda, 106 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/test/rfcomm/ |
D | stack_rfcomm_test_utils.h | 31 virtual void PortManagementCallback(uint32_t code, uint16_t port_handle, 32 uint16_t callback_index) = 0; 33 virtual void PortEventCallback(uint32_t code, uint16_t port_handle, 34 uint16_t callback_index) = 0; 40 MOCK_METHOD3(PortManagementCallback, void(uint32_t code, uint16_t port_handle, 41 uint16_t callback_index)); 42 MOCK_METHOD3(PortEventCallback, void(uint32_t code, uint16_t port_handle, 43 uint16_t callback_index)); 90 uint8_t timer_value, uint16_t rfcomm_mtu, 144 std::vector<uint8_t> CreateQuickSabmPacket(uint8_t dlci, uint16_t l2cap_lcid, [all …]
|