Home
last modified time | relevance | path

Searched refs:uint16_t (Results 1 – 25 of 1082) sorted by relevance

12345678910>>...44

/system/bt/main/shim/
Dl2cap.h30 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 …]
Dl2c_api.h42 uint16_t L2CA_Register(uint16_t psm, tL2CAP_APPL_INFO* p_cb_info,
44 uint16_t required_mtu);
56 void L2CA_Deregister(uint16_t psm);
68 uint16_t L2CA_AllocatePSM(void);
80 uint16_t L2CA_AllocateLePSM(void);
91 void L2CA_FreeLePSM(uint16_t psm);
106 uint16_t L2CA_ConnectReq(uint16_t psm, const RawAddress& p_bd_addr);
119 bool L2CA_ConnectRsp(const RawAddress& p_bd_addr, uint8_t id, uint16_t lcid,
120 uint16_t result, uint16_t status);
135 uint16_t L2CA_ErtmConnectReq(uint16_t psm, const RawAddress& p_bd_addr,
[all …]
/system/bt/stack/include/
Dl2c_api.h124 uint16_t rtrans_tout;
125 uint16_t mon_tout;
126 uint16_t mps;
134 uint16_t result; /* Only used in confirm messages */
136 uint16_t mtu;
140 uint16_t flush_to;
147 uint16_t flags; /* bit 0: 0-no continuation, 1-continuation */
154 uint16_t mtu;
155 uint16_t mps;
156 uint16_t credits;
[all …]
Dgap_api.h109 uint16_t gap_handle;
110 uint16_t credits_received;
111 uint16_t credit_count;
124 typedef void(tGAP_CONN_CALLBACK)(uint16_t gap_handle, uint16_t event,
131 typedef void(tGAP_CALLBACK)(uint16_t event, void* p_data);
135 uint16_t status;
141 uint16_t int_min;
142 uint16_t int_max;
143 uint16_t latency;
144 uint16_t sp_tout;
[all …]
Dhcimsgs.h29 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 …]
Dbnep_api.h84 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 …]
Dsdp_api.h68 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 …]
Dgatt_api.h130 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 …]
Dport_api.h76 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 …]
Dpan_api.h99 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/
Dbta_gatt_api.h72 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 …]
Dbta_gatt_queue.h37 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 …]
Dbta_pan_ci.h46 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 …]
Dbta_hearing_aid_api.h26 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/
Dmock_l2cap_layer.h29 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 …]
Dmock_btsnoop_module.cc24 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/
Dl2c_int.h41 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;
203 uint16_t rx_sdu_len; /* Length of the SDU being received */
244 uint16_t psm;
245 uint16_t real_psm; /* This may be a dummy RCB for an o/b connection but */
259 uint16_t psm;
[all …]
/system/bt/bta/gatt/
Ddatabase_builder.h29 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/libziparchive/
Dzip_archive_common.h42 uint16_t disk_num;
47 uint16_t cd_start_disk;
52 uint16_t num_records_on_disk;
54 uint16_t num_records;
61 uint16_t comment_length;
80 uint16_t version_made_by;
82 uint16_t version_needed;
86 uint16_t gpb_flags;
89 uint16_t compression_method;
91 uint16_t last_mod_time;
[all …]
/system/bt/stack/sdp/
Dsdpint.h64 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/
Davrcp_internal.h33 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/
Dpan_int.h53 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/
Dgatt_int.h37 ((uint16_t)((((uint8_t)(tcb_idx)) << 8) | ((uint8_t)(gatt_if))))
38 #define GATT_GET_TCB_IDX(conn_id) ((uint8_t)(((uint16_t)(conn_id)) >> 8))
106 uint16_t s_handle; /* starting handle */
107 uint16_t e_handle; /* ending handle */
108 uint16_t value_len; /* length of the attribute value */
123 uint16_t handle; /* read, handle value confirmation */
124 uint16_t mtu;
130 uint16_t handle;
142 uint16_t handle; /* WRITE, WRITE_BLOB */
143 uint16_t mtu; /* exchange MTU request */
[all …]
/system/bt/bta/pan/
Dbta_pan_ci.cc54 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/gd/l2cap/le/internal/
Dsignalling_manager.h50 uint16_t mps_;
51 uint16_t credits_;
52 uint16_t interval_min_;
53 uint16_t interval_max_;
54 uint16_t slave_latency_;
55 uint16_t timeout_multiplier_;
57 …gCommand CreditBasedConnectionRequest(SignalId signal_id, Psm psm, Cid scid, Mtu mtu, uint16_t mps, in CreditBasedConnectionRequest()
58 uint16_t initial_credits) { in CreditBasedConnectionRequest()
79 …PendingCommand ConnectionParameterUpdate(SignalId signal_id, uint16_t interval_min, uint16_t inter… in ConnectionParameterUpdate()
80uint16_t slave_latency, uint16_t timeout_multiplier) { in ConnectionParameterUpdate()
[all …]

12345678910>>...44