Home
last modified time | relevance | path

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

12345678910>>...55

/system/bt/stack/include/
Dl2c_api.h113 uint16_t rtrans_tout;
114 uint16_t mon_tout;
115 uint16_t mps;
147 uint16_t result; /* Only used in confirm messages */
149 uint16_t mtu;
153 uint16_t flush_to;
160 uint16_t flags; /* bit 0: 0-no continuation, 1-continuation */
164 constexpr uint16_t L2CAP_LE_MIN_MTU = 23; // Minimum SDU size
165 constexpr uint16_t L2CAP_LE_MIN_MPS = 23;
166 constexpr uint16_t L2CAP_LE_MAX_MPS = 65533;
[all …]
Dhcimsgs.h29 void bte_main_hci_send(BT_HDR* p_msg, uint16_t event);
37 extern void btsnd_hcic_per_inq_mode(uint16_t max_period, uint16_t min_period,
48 uint16_t packet_types,
51 uint16_t clock_offset, uint8_t allow_switch);
64 void (*StartPeriodicInquiryMode)(uint16_t max_period, uint16_t min_period,
68 void (*CreateConnection)(const RawAddress& dest, uint16_t packet_types,
70 uint16_t clock_offset, uint8_t allow_switch);
71 void (*Disconnect)(uint16_t handle, uint8_t reason);
82 void (*ChangeConnectionPacketType)(uint16_t handle, uint16_t packet_types);
83 void (*AuthenticationRequested)(uint16_t handle);
[all …]
Dgap_api.h67 uint16_t credits_received;
68 uint16_t credit_count;
81 typedef void(tGAP_CONN_CALLBACK)(uint16_t gap_handle, uint16_t event,
85 uint16_t int_min;
86 uint16_t int_max;
87 uint16_t latency;
88 uint16_t sp_tout;
94 uint16_t icon;
101 uint16_t length, char* p_name);
119 extern uint16_t GAP_ConnOpen(const char* p_serv_name, uint8_t service_id,
[all …]
Dl2cap_hci_link_interface.h25 extern bool l2c_link_hci_disc_comp(uint16_t handle, tHCI_REASON reason);
30 extern bool l2cble_conn_comp(uint16_t handle, uint8_t role,
32 uint16_t conn_interval, uint16_t conn_latency,
33 uint16_t conn_timeout);
36 uint16_t handle, uint8_t role, const tBLE_BD_ADDR& address_with_type,
37 uint16_t conn_interval, uint16_t conn_latency, uint16_t conn_timeout);
39 extern void l2cble_process_conn_update_evt(uint16_t handle, uint8_t status,
40 uint16_t interval, uint16_t latency,
41 uint16_t timeout);
43 extern void l2cble_process_data_length_change_event(uint16_t handle,
[all …]
/system/bt/test/mock/
Dmock_stack_l2cap_api.h63 std::function<tBT_TRANSPORT(uint16_t fixed_cid)> body{
64 [](uint16_t fixed_cid) { return 0; }};
65 tBT_TRANSPORT operator()(uint16_t fixed_cid) { return body(fixed_cid); }; in operator()
73 std::function<uint16_t(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info,
75 uint16_t my_mtu, uint16_t required_remote_mtu,
76 uint16_t sec_level)>
77 body{[](uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info,
78 bool enable_snoop, tL2CAP_ERTM_INFO* p_ertm_info, uint16_t my_mtu,
79 uint16_t required_remote_mtu, uint16_t sec_level) { return 0; }};
80 uint16_t operator()(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info, in operator()
[all …]
Dmock_stack_l2cap_ble.h58 std::function<bool(const RawAddress& rem_bda, uint16_t min_int,
59 uint16_t max_int, uint16_t latency, uint16_t timeout,
60 uint16_t min_ce_len, uint16_t max_ce_len)>
61 body{[](const RawAddress& rem_bda, uint16_t min_int, uint16_t max_int,
62 uint16_t latency, uint16_t timeout, uint16_t min_ce_len,
63 uint16_t max_ce_len) { return false; }};
64 bool operator()(const RawAddress& rem_bda, uint16_t min_int, uint16_t max_int, in operator()
65 uint16_t latency, uint16_t timeout, uint16_t min_ce_len, in operator()
66 uint16_t max_ce_len) { in operator()
105 std::function<bool(uint16_t handle, uint8_t role, const RawAddress& bda,
[all …]
Dmock_main_shim_link_policy.h80 std::function<tBTM_STATUS(tACL_CONN& p_acl, uint16_t max, uint16_t min)> body{
81 [](tACL_CONN& p_acl, uint16_t max, uint16_t min) { return 0; }};
82 tBTM_STATUS operator()(tACL_CONN& p_acl, uint16_t max, uint16_t min) { in operator()
91 std::function<tBTM_STATUS(tACL_CONN& p_acl, uint16_t max_interval,
92 uint16_t min_interval, uint16_t attempt,
93 uint16_t timeout)>
94 body{[](tACL_CONN& p_acl, uint16_t max_interval, uint16_t min_interval,
95 uint16_t attempt, uint16_t timeout) { return 0; }};
96 tBTM_STATUS operator()(tACL_CONN& p_acl, uint16_t max_interval, in operator()
97 uint16_t min_interval, uint16_t attempt, in operator()
[all …]
Dmock_main_shim_l2cap_api.h78 uint16_t* manufacturer, uint16_t* lmp_sub_version)>
80 uint16_t* manufacturer,
81 uint16_t* lmp_sub_version) { return false; }};
83 uint16_t* manufacturer, uint16_t* lmp_sub_version) { in operator()
110 std::function<uint16_t(uint16_t client_psm, const tL2CAP_APPL_INFO& callbacks,
112 uint16_t my_mtu, uint16_t required_remote_mtu,
113 uint16_t sec_level)>
114 body{[](uint16_t client_psm, const tL2CAP_APPL_INFO& callbacks,
115 bool enable_snoop, tL2CAP_ERTM_INFO* p_ertm_info, uint16_t my_mtu,
116 uint16_t required_remote_mtu, uint16_t sec_level) { return 0; }};
[all …]
Dmock_hcic_hciblecmds.cc37 base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in btsnd_hci_ble_add_device_to_periodic_advertiser_list()
41 base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in btsnd_hci_ble_clear_periodic_advertiser_list()
45 base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in btsnd_hci_ble_read_periodic_advertiser_list_size()
50 base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in btsnd_hci_ble_remove_device_from_periodic_advertiser_list()
53 void btsnd_hcic_accept_cis_req(uint16_t conn_handle) { in btsnd_hcic_accept_cis_req()
56 void btsnd_hcic_big_create_sync(uint8_t big_handle, uint16_t sync_handle, in btsnd_hcic_big_create_sync()
58 uint8_t mse, uint16_t big_sync_timeout, in btsnd_hcic_big_create_sync()
63 base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in btsnd_hcic_big_term_sync()
68 base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in btsnd_hcic_ble_add_acceptlist()
78 base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in btsnd_hcic_ble_clear_acceptlist()
[all …]
Dmock_hcic_hcicmds.cc43 uint16_t handle{0};
44 uint16_t packet_types{0};
60 uint16_t max_latency, uint16_t content_fmt, in btsnd_hcic_accept_esco_conn()
62 uint16_t packet_types) { in btsnd_hcic_accept_esco_conn()
65 void btsnd_hcic_add_SCO_conn(uint16_t handle, uint16_t packet_types) { in btsnd_hcic_add_SCO_conn()
68 void btsnd_hcic_auth_request(uint16_t handle) { in btsnd_hcic_auth_request()
71 void btsnd_hcic_change_conn_type(uint16_t handle, uint16_t packet_types) { in btsnd_hcic_change_conn_type()
79 void btsnd_hcic_create_conn(const RawAddress& dest, uint16_t packet_types, in btsnd_hcic_create_conn()
81 uint16_t clock_offset, uint8_t allow_switch) { in btsnd_hcic_create_conn()
91 static void btsnd_hcic_disconnect(uint16_t handle, uint8_t reason) { in btsnd_hcic_disconnect()
[all …]
Dmock_stack_gap_conn.cc42 const RawAddress* GAP_ConnGetRemoteAddr(uint16_t gap_handle) { in GAP_ConnGetRemoteAddr()
46 int GAP_GetRxQueueCnt(uint16_t handle, uint32_t* p_rx_queue_count) { in GAP_GetRxQueueCnt()
50 uint16_t GAP_ConnClose(uint16_t gap_handle) { in GAP_ConnClose()
54 uint16_t GAP_ConnGetL2CAPCid(uint16_t gap_handle) { in GAP_ConnGetL2CAPCid()
58 uint16_t GAP_ConnGetRemMtuSize(uint16_t gap_handle) { in GAP_ConnGetRemMtuSize()
62 uint16_t GAP_ConnOpen(const char* p_serv_name, uint8_t service_id, in GAP_ConnOpen()
63 bool is_server, const RawAddress* p_rem_bda, uint16_t psm, in GAP_ConnOpen()
64 uint16_t le_mps, tL2CAP_CFG_INFO* p_cfg, in GAP_ConnOpen()
65 tL2CAP_ERTM_INFO* ertm_info, uint16_t security, in GAP_ConnOpen()
70 uint16_t GAP_ConnReadData(uint16_t gap_handle, uint8_t* p_data, in GAP_ConnReadData()
[all …]
Dmock_bta_gattc_api.cc44 const gatt::Characteristic* BTA_GATTC_GetCharacteristic(uint16_t conn_id, in BTA_GATTC_GetCharacteristic()
45 uint16_t handle) { in BTA_GATTC_GetCharacteristic()
49 const gatt::Characteristic* BTA_GATTC_GetOwningCharacteristic(uint16_t conn_id, in BTA_GATTC_GetOwningCharacteristic()
50 uint16_t handle) { in BTA_GATTC_GetOwningCharacteristic()
54 const gatt::Descriptor* BTA_GATTC_GetDescriptor(uint16_t conn_id, in BTA_GATTC_GetDescriptor()
55 uint16_t handle) { in BTA_GATTC_GetDescriptor()
59 const gatt::Service* BTA_GATTC_GetOwningService(uint16_t conn_id, in BTA_GATTC_GetOwningService()
60 uint16_t handle) { in BTA_GATTC_GetOwningService()
64 const std::list<gatt::Service>* BTA_GATTC_GetServices(uint16_t conn_id) { in BTA_GATTC_GetServices()
70 uint16_t handle) { in BTA_GATTC_DeregisterForNotifications()
[all …]
Dmock_stack_acl_ble.cc45 uint16_t handle, tHCI_ROLE role, bool match, in acl_ble_connection_complete()
46 uint16_t conn_interval, uint16_t conn_latency, in acl_ble_connection_complete()
47 uint16_t conn_timeout) { in acl_ble_connection_complete()
51 uint16_t handle, bool enhanced, in acl_ble_connection_fail()
56 const tBLE_BD_ADDR& address_with_type, uint16_t handle, tHCI_ROLE role, in acl_ble_enhanced_connection_complete()
57 bool match, uint16_t conn_interval, uint16_t conn_latency, in acl_ble_enhanced_connection_complete()
58 uint16_t conn_timeout, const RawAddress& local_rpa, in acl_ble_enhanced_connection_complete()
63 const tBLE_BD_ADDR& address_with_type, uint16_t handle, tHCI_ROLE role, in acl_ble_enhanced_connection_complete_from_shim()
64 uint16_t conn_interval, uint16_t conn_latency, uint16_t conn_timeout, in acl_ble_enhanced_connection_complete_from_shim()
69 void gatt_notify_conn_update(const RawAddress& remote, uint16_t interval,
[all …]
Dmock_stack_rfcomm_port_api.cc52 int PORT_CheckConnection(uint16_t handle, RawAddress* bd_addr, in PORT_CheckConnection()
53 uint16_t* p_lcid) { in PORT_CheckConnection()
57 int PORT_ClearKeepHandleFlag(uint16_t port_handle) { in PORT_ClearKeepHandleFlag()
61 int PORT_FlowControl_MaxCredit(uint16_t handle, bool enable) { in PORT_FlowControl_MaxCredit()
65 int PORT_GetState(uint16_t handle, tPORT_STATE* p_settings) { in PORT_GetState()
69 int PORT_ReadData(uint16_t handle, char* p_data, uint16_t max_len, in PORT_ReadData()
70 uint16_t* p_len) { in PORT_ReadData()
74 int PORT_SetDataCOCallback(uint16_t port_handle, in PORT_SetDataCOCallback()
79 int PORT_SetEventCallback(uint16_t port_handle, tPORT_CALLBACK* p_port_cb) { in PORT_SetEventCallback()
83 int PORT_SetEventMask(uint16_t port_handle, uint32_t mask) { in PORT_SetEventMask()
[all …]
/system/bt/main/shim/
Dl2c_api.h43 uint16_t L2CA_Register(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info,
45 uint16_t my_mtu, uint16_t required_remote_mtu,
46 uint16_t sec_level);
58 void L2CA_Deregister(uint16_t psm);
70 uint16_t L2CA_AllocateLePSM(void);
81 void L2CA_FreeLePSM(uint16_t psm);
96 uint16_t L2CA_ConnectReq(uint16_t psm, const RawAddress& p_bd_addr);
112 uint16_t L2CA_RegisterLECoc(uint16_t psm, const tL2CAP_APPL_INFO& p_cb_info,
113 uint16_t sec_level, tL2CAP_LE_CFG_INFO cfg);
125 void L2CA_DeregisterLECoc(uint16_t psm);
[all …]
Dlink_policy.h30 bool SetHoldMode(uint16_t handle, uint16_t max_interval, uint16_t min_interval);
31 bool SetSniffMode(uint16_t handle, uint16_t max_interval, uint16_t min_interval,
32 uint16_t attempt, uint16_t timeout);
33 bool ExitSniffMode(uint16_t handle);
34 bool SetSniffSubrating(uint16_t handle, uint16_t maximum_latency,
35 uint16_t minimum_remote_timeout,
36 uint16_t minimum_local_timeout);
38 tBTM_STATUS BTM_SetPowerMode(uint16_t handle, const tBTM_PM_PWR_MD& mode);
39 void btm_pm_on_mode_change(tHCI_STATUS status, uint16_t handle,
40 tHCI_MODE current_mode, uint16_t interval);
[all …]
Dacl_legacy_interface.h33 void (*on_connected)(const RawAddress& bda, uint16_t handle,
36 void (*on_disconnected)(tHCI_STATUS status, uint16_t handle,
41 void (*on_connected)(const tBLE_BD_ADDR& address_with_type, uint16_t handle,
42 tHCI_ROLE role, uint16_t conn_interval,
43 uint16_t conn_latency, uint16_t conn_timeout,
46 void (*on_failed)(const tBLE_BD_ADDR& address_with_type, uint16_t handle,
48 void (*on_disconnected)(tHCI_STATUS status, uint16_t handle,
57 void (*on_disconnected)(uint16_t handle, tHCI_REASON reason);
61 void (*on_authentication_complete)(uint16_t handle, tHCI_STATUS status);
64 void (*on_flow_specification_complete)(uint16_t flow_direction,
[all …]
/system/bt/stack/test/common/
Dmock_l2cap_layer.h29 virtual uint16_t Register(uint16_t psm, const 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;
41 …virtual uint16_t RegisterLECoc(uint16_t psm, const tL2CAP_APPL_INFO &cb_info, uint16_t sec_level) …
[all …]
Dmock_main_shim_l2c_api.cc33 bool bluetooth::shim::L2CA_RegisterFixedChannel(uint16_t cid, in L2CA_RegisterFixedChannel()
40 std::vector<uint16_t>& accepted_lcids, uint16_t result, in L2CA_ConnectCreditBasedRsp()
45 bool bluetooth::shim::L2CA_ConnectFixedChnl(uint16_t cid, in L2CA_ConnectFixedChnl()
51 bool bluetooth::shim::L2CA_DisconnectLECocReq(uint16_t cid) { in L2CA_DisconnectLECocReq()
55 bool bluetooth::shim::L2CA_DisconnectReq(uint16_t cid) { in L2CA_DisconnectReq()
65 bool bluetooth::shim::L2CA_GetPeerLECocConfig(uint16_t cid, in L2CA_GetPeerLECocConfig()
70 bool bluetooth::shim::L2CA_GetRemoteCid(uint16_t lcid, uint16_t* rcid) { in L2CA_GetRemoteCid()
79 uint16_t bluetooth::shim::L2CA_GetLeHandle(const RawAddress& bd_addr) { in L2CA_GetLeHandle()
83 bool bluetooth::shim::L2CA_IsLeLink(uint16_t) { in L2CA_IsLeLink() argument
99 const RawAddress& bd_addr, std::vector<uint16_t>& lcids, in L2CA_ReconfigCreditBasedConnsReq()
[all …]
/system/bt/bta/include/
Dbta_gatt_api.h102 uint16_t unit; /* as UUIUD defined by SIG */
103 uint16_t descr; /* as UUID as defined by SIG */
114 uint16_t handle_list[BTA_GATT_AGGR_HANDLE_NUM_MAX];
118 uint16_t len;
124 uint16_t handles[GATT_MAX_READ_MULTI_HANDLES];
134 uint16_t conn_id;
136 uint16_t handle;
137 uint16_t len;
142 uint16_t conn_id;
144 uint16_t handle;
[all …]
Dbta_gatt_queue.h38 static void Clean(uint16_t conn_id);
39 static void ReadCharacteristic(uint16_t conn_id, uint16_t handle,
41 static void ReadDescriptor(uint16_t conn_id, uint16_t handle,
43 static void WriteCharacteristic(uint16_t conn_id, uint16_t handle,
47 static void WriteDescriptor(uint16_t conn_id, uint16_t handle,
51 static void ConfigureMtu(uint16_t conn_id, uint16_t mtu);
56 uint16_t handle;
70 static void mark_as_not_executing(uint16_t conn_id);
71 static void gatt_execute_next_op(uint16_t conn_id);
72 static void gatt_read_op_finished(uint16_t conn_id, tGATT_STATUS status,
[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();
55 std::vector<uint16_t> DescriptorHandlesToRead() { in DescriptorHandlesToRead()
62 bool SetValueOfDescriptors(const std::vector<uint16_t>& values);
[all …]
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dacl_connection_handler.h30 static constexpr uint16_t kReservedHandle = 0xF00;
48 uint16_t CreateConnection(bluetooth::hci::Address addr,
50 uint16_t CreateLeConnection(bluetooth::hci::AddressWithType addr,
52 bool Disconnect(uint16_t handle);
53 bool HasHandle(uint16_t handle) const;
55 uint16_t GetHandle(bluetooth::hci::AddressWithType addr) const;
56 uint16_t GetHandleOnlyAddress(bluetooth::hci::Address addr) const;
57 bluetooth::hci::AddressWithType GetAddress(uint16_t handle) const;
58 bluetooth::hci::AddressWithType GetOwnAddress(uint16_t handle) const;
60 void Encrypt(uint16_t handle);
[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;
81 uint16_t version_made_by;
83 uint16_t version_needed;
87 uint16_t gpb_flags;
90 uint16_t compression_method;
92 uint16_t last_mod_time;
[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))
103 uint16_t s_handle; /* starting handle */
104 uint16_t e_handle; /* ending handle */
105 uint16_t value_len; /* length of the attribute value */
120 uint16_t handle; /* read, handle value confirmation */
121 uint16_t mtu;
127 uint16_t handle;
139 uint16_t handle; /* WRITE, WRITE_BLOB */
140 uint16_t mtu; /* exchange MTU request */
[all …]

12345678910>>...55