Home
last modified time | relevance | path

Searched refs:tHID_STATUS (Results 1 – 14 of 14) sorted by relevance

/system/bt/stack/include/
Dhidd_api.h80 extern tHID_STATUS HID_DevRegister(tHID_DEV_HOST_CALLBACK* host_cback);
91 extern tHID_STATUS HID_DevDeregister(void);
102 extern tHID_STATUS HID_DevAddRecord(uint32_t handle, char* p_name,
116 extern tHID_STATUS HID_DevSendReport(uint8_t channel, uint8_t type, uint8_t id,
128 extern tHID_STATUS HID_DevVirtualCableUnplug(void);
139 extern tHID_STATUS HID_DevPlugDevice(const RawAddress& addr);
150 extern tHID_STATUS HID_DevUnplugDevice(const RawAddress& addr);
161 extern tHID_STATUS HID_DevConnect(void);
172 extern tHID_STATUS HID_DevDisconnect(void);
183 extern tHID_STATUS HID_DevSetIncomingPolicy(bool allow);
[all …]
Dhidh_api.h97 extern tHID_STATUS HID_HostGetSDPRecord(const RawAddress& addr,
111 extern tHID_STATUS HID_HostRegister(tHID_HOST_DEV_CALLBACK* dev_cback);
122 extern tHID_STATUS HID_HostDeregister(void);
133 extern tHID_STATUS HID_HostAddDev(const RawAddress& addr, uint16_t attr_mask,
146 extern tHID_STATUS HID_HostRemoveDev(uint8_t dev_handle);
158 extern tHID_STATUS HID_HostOpenDev(uint8_t dev_handle);
169 extern tHID_STATUS HID_HostWriteDev(uint8_t dev_handle, uint8_t t_type,
182 extern tHID_STATUS HID_HostCloseDev(uint8_t dev_handle);
Dhiddefs.h56 } tHID_STATUS; typedef
62 inline std::string hid_status_text(const tHID_STATUS& status) { in hid_status_text()
/system/bt/test/mock/
Dmock_stack_hidd_api.cc42 tHID_STATUS HID_DevAddRecord(uint32_t handle, char* p_name, char* p_description, in HID_DevAddRecord()
48 tHID_STATUS HID_DevConnect(void) { in HID_DevConnect()
52 tHID_STATUS HID_DevDeregister(void) { in HID_DevDeregister()
56 tHID_STATUS HID_DevDisconnect(void) { in HID_DevDisconnect()
60 tHID_STATUS HID_DevGetDevice(RawAddress* addr) { in HID_DevGetDevice()
64 tHID_STATUS HID_DevPlugDevice(const RawAddress& addr) { in HID_DevPlugDevice()
68 tHID_STATUS HID_DevRegister(tHID_DEV_HOST_CALLBACK* host_cback) { in HID_DevRegister()
72 tHID_STATUS HID_DevReportError(uint8_t error) { in HID_DevReportError()
76 tHID_STATUS HID_DevSendReport(uint8_t channel, uint8_t type, uint8_t id, in HID_DevSendReport()
81 tHID_STATUS HID_DevSetIncomingPolicy(bool allow) { in HID_DevSetIncomingPolicy()
[all …]
Dmock_stack_hidh.cc37 tHID_STATUS HID_HostAddDev(const RawAddress& addr, uint16_t attr_mask, in HID_HostAddDev()
42 tHID_STATUS HID_HostCloseDev(uint8_t dev_handle) { in HID_HostCloseDev()
46 tHID_STATUS HID_HostDeregister(void) { in HID_HostDeregister()
50 tHID_STATUS HID_HostGetSDPRecord(const RawAddress& addr, in HID_HostGetSDPRecord()
56 tHID_STATUS HID_HostOpenDev(uint8_t dev_handle) { in HID_HostOpenDev()
60 tHID_STATUS HID_HostRegister(tHID_HOST_DEV_CALLBACK* dev_cback) { in HID_HostRegister()
64 tHID_STATUS HID_HostRemoveDev(uint8_t dev_handle) { in HID_HostRemoveDev()
68 tHID_STATUS HID_HostWriteDev(uint8_t dev_handle, uint8_t t_type, uint8_t param, in HID_HostWriteDev()
/system/bt/stack/hid/
Dhidd_int.h71 extern tHID_STATUS hidd_conn_reg(void);
73 extern tHID_STATUS hidd_conn_initiate(void);
74 extern tHID_STATUS hidd_conn_disconnect(void);
75 extern tHID_STATUS hidd_conn_send_data(uint8_t channel, uint8_t msg_type,
Dhidh_int.h65 extern tHID_STATUS hidh_conn_snd_data(uint8_t dhandle, uint8_t trans_type,
68 extern tHID_STATUS hidh_conn_reg(void);
70 extern tHID_STATUS hidh_conn_disconnect(uint8_t dhandle);
71 extern tHID_STATUS hidh_conn_initiate(uint8_t dhandle);
Dhidd_api.cc84 tHID_STATUS HID_DevRegister(tHID_DEV_HOST_CALLBACK* host_cback) { in HID_DevRegister()
85 tHID_STATUS st; in HID_DevRegister()
117 tHID_STATUS HID_DevDeregister(void) { in HID_DevDeregister()
138 tHID_STATUS HID_DevAddRecord(uint32_t handle, char* p_name, char* p_description, in HID_DevAddRecord()
344 tHID_STATUS HID_DevSendReport(uint8_t channel, uint8_t type, uint8_t id, in HID_DevSendReport()
372 tHID_STATUS HID_DevVirtualCableUnplug(void) { in HID_DevVirtualCableUnplug()
388 tHID_STATUS HID_DevPlugDevice(const RawAddress& addr) { in HID_DevPlugDevice()
404 tHID_STATUS HID_DevUnplugDevice(const RawAddress& addr) { in HID_DevUnplugDevice()
424 tHID_STATUS HID_DevConnect(void) { in HID_DevConnect()
449 tHID_STATUS HID_DevDisconnect(void) { in HID_DevDisconnect()
[all …]
Dhidh_api.cc54 tHID_STATUS HID_HostGetSDPRecord(const RawAddress& addr, in HID_HostGetSDPRecord()
261 tHID_STATUS HID_HostRegister(tHID_HOST_DEV_CALLBACK* dev_cback) { in HID_HostRegister()
262 tHID_STATUS st; in HID_HostRegister()
293 tHID_STATUS HID_HostDeregister(void) { in HID_HostDeregister()
318 tHID_STATUS HID_HostAddDev(const RawAddress& addr, uint16_t attr_mask, in HID_HostAddDev()
360 tHID_STATUS HID_HostRemoveDev(uint8_t dev_handle) { in HID_HostRemoveDev()
386 tHID_STATUS HID_HostOpenDev(uint8_t dev_handle) { in HID_HostOpenDev()
412 tHID_STATUS HID_HostWriteDev(uint8_t dev_handle, uint8_t t_type, uint8_t param, in HID_HostWriteDev()
414 tHID_STATUS status = HID_SUCCESS; in HID_HostWriteDev()
450 tHID_STATUS HID_HostCloseDev(uint8_t dev_handle) { in HID_HostCloseDev()
Dhidd_conn.cc554 tHID_STATUS hidd_conn_reg(void) { in hidd_conn_reg()
608 tHID_STATUS hidd_conn_initiate(void) { in hidd_conn_initiate()
652 tHID_STATUS hidd_conn_disconnect(void) { in hidd_conn_disconnect()
693 tHID_STATUS hidd_conn_send_data(uint8_t channel, uint8_t msg_type, in hidd_conn_send_data()
Dhidh_conn.cc95 tHID_STATUS hidh_conn_reg(void) { in hidh_conn_reg()
136 tHID_STATUS hidh_conn_disconnect(uint8_t dhandle) { in hidh_conn_disconnect()
728 tHID_STATUS hidh_conn_snd_data(uint8_t dhandle, uint8_t trans_type, in hidh_conn_snd_data()
850 tHID_STATUS hidh_conn_initiate(uint8_t dhandle) { in hidh_conn_initiate()
/system/bt/bta/hd/
Dbta_hd_act.cc84 tHID_STATUS ret; in bta_hd_api_enable()
119 tHID_STATUS ret; in bta_hd_api_disable()
273 tHID_STATUS ret; in bta_hd_connect_act()
307 tHID_STATUS ret; in bta_hd_disconnect_act()
398 tHID_STATUS ret; in bta_hd_report_error_act()
419 tHID_STATUS ret; in bta_hd_vc_unplug_act()
/system/bt/stack/test/hid/
Dstack_hid_test.cc71 tHID_STATUS status = hidh_conn_reg(); in TEST_F()
/system/bt/bta/hh/
Dbta_hh_act.cc254 tHID_STATUS ret; in bta_hh_di_sdp_cback()
409 tHID_STATUS ret; in bta_hh_sdp_cmpl()
489 tHID_STATUS status = HID_HostCloseDev(hid_handle); in bta_hh_api_disc_act()
822 const tHID_STATUS hid_status = static_cast<tHID_STATUS>(reason & 0xff); in bta_hh_close_act()