/system/bt/stack/include/ |
D | l2c_api.h | 126 uint16_t rtrans_tout; 127 uint16_t mon_tout; 128 uint16_t mps; 136 uint16_t result; /* Only used in confirm messages */ 138 uint16_t mtu; 142 uint16_t flush_to; 149 uint16_t flags; /* bit 0: 0-no continuation, 1-continuation */ 156 uint16_t mtu; 157 uint16_t mps; 158 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; 90 uint16_t u16; /* 16-bit integer */ 100 uint16_t attr_id; /* Attribute ID */ 101 uint16_t attr_len_type; /* Length and type fields */ 116 uint16_t num_uuid_filters; /* Number of UUIds to filter */ 118 uint16_t num_attr_filters; /* Number of attribute filters */ 119 uint16_t attr_filters[SDP_MAX_ATTR_FILTERS]; /* Attributes to filter */ [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 | port_api.h | 76 typedef int(tPORT_DATA_CALLBACK)(uint16_t port_handle, void* p_data, 77 uint16_t len); 82 typedef int(tPORT_DATA_CO_CALLBACK)(uint16_t port_handle, uint8_t* p_buf, 83 uint16_t len, int type); 85 typedef void(tPORT_CALLBACK)(uint32_t code, uint16_t port_handle); 184 extern int RFCOMM_CreateConnection(uint16_t uuid, uint8_t scn, bool is_server, 185 uint16_t mtu, const RawAddress& bd_addr, 186 uint16_t* p_handle, 198 extern int RFCOMM_RemoveConnection(uint16_t handle); 209 extern int RFCOMM_RemoveServer(uint16_t handle); [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/main/shim/ |
D | l2c_api.h | 42 uint16_t L2CA_Register(uint16_t psm, tL2CAP_APPL_INFO* p_cb_info, 55 void L2CA_Deregister(uint16_t psm); 67 uint16_t L2CA_AllocatePSM(void); 79 uint16_t L2CA_AllocateLePSM(void); 90 void L2CA_FreeLePSM(uint16_t psm); 105 uint16_t L2CA_ConnectReq(uint16_t psm, const RawAddress& p_bd_addr); 118 bool L2CA_ConnectRsp(const RawAddress& p_bd_addr, uint8_t id, uint16_t lcid, 119 uint16_t result, uint16_t status); 134 uint16_t L2CA_ErtmConnectReq(uint16_t psm, const RawAddress& p_bd_addr, 151 uint16_t L2CA_RegisterLECoc(uint16_t psm, tL2CAP_APPL_INFO* p_cb_info); [all …]
|
D | l2cap.h | 30 static constexpr uint16_t kInitialClassicDynamicPsm = 0x1001; 31 static constexpr uint16_t kFinalClassicDynamicPsm = 0xfeff; 32 static constexpr uint16_t kInitialClassicVirtualPsm = kInitialClassicDynamicPsm; 33 static constexpr uint16_t kFinalClassicVirtualPsm = 0x8000; 34 static constexpr uint16_t kInitialLeDynamicPsm = 0x0080; 35 static constexpr uint16_t kFinalLeDynamicPsm = 0x00ff; 39 bool IsPsmRegistered(uint16_t psm) const; 40 bool HasClient(uint16_t psm) const; 41 void RegisterPsm(uint16_t psm, const tL2CAP_APPL_INFO* callbacks); 42 void RegisterPsm(uint16_t psm); [all …]
|
D | l2c_api.cc | 29 uint16_t bluetooth::shim::L2CA_Register(uint16_t client_psm, in L2CA_Register() 53 uint16_t psm = shim_l2cap.ConvertClientToRealPsm(client_psm, in L2CA_Register() 67 void bluetooth::shim::L2CA_Deregister(uint16_t client_psm) { in L2CA_Deregister() 73 uint16_t psm = shim_l2cap.ConvertClientToRealPsm(client_psm); in L2CA_Deregister() 79 uint16_t bluetooth::shim::L2CA_AllocatePSM(void) { in L2CA_AllocatePSM() 83 uint16_t bluetooth::shim::L2CA_AllocateLePSM(void) { in L2CA_AllocateLePSM() 87 void bluetooth::shim::L2CA_FreeLePSM(uint16_t psm) { in L2CA_FreeLePSM() 99 uint16_t bluetooth::shim::L2CA_ErtmConnectReq(uint16_t psm, in L2CA_ErtmConnectReq() 105 uint16_t bluetooth::shim::L2CA_ConnectReq(uint16_t psm, in L2CA_ConnectReq() 111 uint8_t id, uint16_t lcid, in L2CA_ErtmConnectRsp() [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 | 26 constexpr uint16_t HEARINGAID_MAX_NUM_UUIDS = 1; 28 constexpr uint16_t HA_INTERVAL_10_MS = 10; 29 constexpr uint16_t HA_INTERVAL_20_MS = 20; 113 uint16_t requested_connection_interval; 121 uint16_t conn_id; 122 uint16_t gap_handle; 123 uint16_t audio_control_point_handle; 124 uint16_t audio_status_handle; 125 uint16_t audio_status_ccc_handle; 126 uint16_t service_changed_ccc_handle; [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, 32 virtual uint16_t ConnectRequest(uint16_t psm, const RawAddress& bd_addr) = 0; 34 uint16_t lcid, uint16_t result, 35 uint16_t status) = 0; 36 virtual bool DisconnectRequest(uint16_t cid) = 0; 37 virtual bool DisconnectResponse(uint16_t cid) = 0; 38 virtual bool ConfigRequest(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) = 0; 39 virtual bool ConfigResponse(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) = 0; 40 virtual uint8_t DataWrite(uint16_t cid, BT_HDR* p_data) = 0; 47 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 | 64 uint16_t len; 69 uint16_t num_uids; 75 uint16_t start; 76 uint16_t end; 80 uint16_t num_attr; 88 uint16_t id; 96 uint16_t num_attributes; 105 uint16_t num_records; 112 uint16_t next_attr_index; /* attr index for next continuation response */ 113 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 …]
|