/system/bt/btif/include/ |
btif_api.h | 48 ** Returns bt_status_t 51 bt_status_t btif_init_bluetooth(void); 59 ** Returns bt_status_t 62 bt_status_t btif_enable_bluetooth(void); 75 bt_status_t btif_disable_bluetooth(void); 87 bt_status_t btif_cleanup_bluetooth(void); 112 ** Returns bt_status_t 115 bt_status_t btif_get_adapter_properties(void); 123 ** Returns bt_status_t 126 bt_status_t btif_get_adapter_property( bt_property_type_t type) [all...] |
btif_sock_sco.h | 25 bt_status_t btsock_sco_init(thread_t *thread); 26 bt_status_t btsock_sco_cleanup(void); 27 bt_status_t btsock_sco_listen(int *sock_fd, int flags); 28 bt_status_t btsock_sco_connect(const bt_bdaddr_t *bd_addr, int *sock_fd, int flags);
|
btif_storage.h | 50 bt_status_t btif_storage_get_adapter_property(bt_property_t *property); 63 bt_status_t btif_storage_set_adapter_property(bt_property_t *property); 78 bt_status_t btif_storage_get_remote_device_property(bt_bdaddr_t *remote_bd_addr, 92 bt_status_t btif_storage_set_remote_device_property(bt_bdaddr_t *remote_bd_addr, 107 bt_status_t btif_storage_add_remote_device(bt_bdaddr_t *remote_bd_addr, 122 bt_status_t btif_storage_add_bonded_device(bt_bdaddr_t *remote_bd_addr, 137 bt_status_t btif_storage_remove_bonded_device(bt_bdaddr_t *remote_bd_addr); 149 bt_status_t btif_storage_load_bonded_devices(void); 161 bt_status_t btif_storage_read_hl_apps_cb(char *value, int value_size); 173 bt_status_t btif_storage_write_hl_apps_cb(char *value, int value_size) [all...] |
btif_sock_l2cap.h | 15 bt_status_t btsock_l2cap_init(int handle, uid_set_t* set); 16 bt_status_t btsock_l2cap_cleanup(); 17 bt_status_t btsock_l2cap_listen(const char* name, int channel, 19 bt_status_t btsock_l2cap_connect(const bt_bdaddr_t *bd_addr,
|
btif_sock_rfc.h | 32 bt_status_t btsock_rfc_init(int handle, uid_set_t* set); 33 bt_status_t btsock_rfc_cleanup(); 34 bt_status_t btsock_rfc_listen(const char* name, const uint8_t* uuid, int channel, 36 bt_status_t btsock_rfc_connect(const bt_bdaddr_t *bd_addr, const uint8_t* uuid,
|
btif_profile_queue.h | 32 typedef bt_status_t (*btif_connect_cb_t) (bt_bdaddr_t *bda, uint16_t uuid); 34 bt_status_t btif_queue_connect(uint16_t uuid, const bt_bdaddr_t *bda, btif_connect_cb_t connect_cb); 36 bt_status_t btif_queue_connect_next(void);
|
btif_sock.h | 27 bt_status_t btif_sock_init(uid_set_t* uid_set);
|
btif_sm.h | 103 bt_status_t btif_sm_dispatch(btif_sm_handle_t handle, btif_sm_event_t event, 118 bt_status_t btif_sm_change_state(btif_sm_handle_t handle, btif_sm_state_t state);
|
/hardware/libhardware/include/hardware/ |
bt_pan.h | 41 typedef void (*btpan_connection_state_callback)(btpan_connection_state_t state, bt_status_t error, 44 bt_status_t error, const char* ifname); 57 bt_status_t (*init)(const btpan_callbacks_t* callbacks); 63 bt_status_t (*enable)(int local_role); 72 bt_status_t (*connect)(const bt_bdaddr_t *bd_addr, int local_role, int remote_role); 76 bt_status_t (*disconnect)(const bt_bdaddr_t *bd_addr);
|
bt_mce.h | 32 typedef void (*btmce_remote_mas_instances_callback)(bt_status_t status, bt_bdaddr_t *bd_addr, 46 bt_status_t (*init)(btmce_callbacks_t *callbacks); 49 bt_status_t (*get_remote_mas_instances)(bt_bdaddr_t *bd_addr);
|
bt_gatt_server.h | 145 bt_status_t (*register_server)( bt_uuid_t *uuid ); 148 bt_status_t (*unregister_server)(int server_if ); 151 bt_status_t (*connect)(int server_if, const bt_bdaddr_t *bd_addr, 155 bt_status_t (*disconnect)(int server_if, const bt_bdaddr_t *bd_addr, 159 bt_status_t (*add_service)( int server_if, btgatt_srvc_id_t *srvc_id, int num_handles); 162 bt_status_t (*add_included_service)( int server_if, int service_handle, int included_handle); 165 bt_status_t (*add_characteristic)( int server_if, 170 bt_status_t (*add_descriptor)(int server_if, int service_handle, 174 bt_status_t (*start_service)(int server_if, int service_handle, 178 bt_status_t (*stop_service)(int server_if, int service_handle) [all...] |
bt_hf.h | 255 bt_status_t (*init)( bthf_callbacks_t* callbacks, int max_hf_clients); 258 bt_status_t (*connect)( bt_bdaddr_t *bd_addr ); 261 bt_status_t (*disconnect)( bt_bdaddr_t *bd_addr ); 264 bt_status_t (*connect_audio)( bt_bdaddr_t *bd_addr ); 267 bt_status_t (*disconnect_audio)( bt_bdaddr_t *bd_addr ); 270 bt_status_t (*start_voice_recognition)( bt_bdaddr_t *bd_addr ); 273 bt_status_t (*stop_voice_recognition)( bt_bdaddr_t *bd_addr ); 276 bt_status_t (*volume_control) (bthf_volume_type_t type, int volume, bt_bdaddr_t *bd_addr ); 279 bt_status_t (*device_status_notification)(bthf_network_state_t ntk_state, bthf_service_type_t svc_type, int signal, 283 bt_status_t (*cops_response)(const char *cops, bt_bdaddr_t *bd_addr ) [all...] |
bt_hf_client.h | 304 bt_status_t (*init)(bthf_client_callbacks_t* callbacks); 307 bt_status_t (*connect)(bt_bdaddr_t *bd_addr); 310 bt_status_t (*disconnect)(bt_bdaddr_t *bd_addr); 313 bt_status_t (*connect_audio)(bt_bdaddr_t *bd_addr); 316 bt_status_t (*disconnect_audio)(bt_bdaddr_t *bd_addr); 319 bt_status_t (*start_voice_recognition)(void); 322 bt_status_t (*stop_voice_recognition)(void); 325 bt_status_t (*volume_control) (bthf_client_volume_type_t type, int volume); 329 bt_status_t (*dial) (const char *number); 332 bt_status_t (*dial_memory) (int location) [all...] |
bt_gatt_client.h | 273 bt_status_t (*register_client)( bt_uuid_t *uuid ); 276 bt_status_t (*unregister_client)(int client_if ); 279 bt_status_t (*scan)( bool start ); 282 bt_status_t (*connect)( int client_if, const bt_bdaddr_t *bd_addr, 286 bt_status_t (*disconnect)( int client_if, const bt_bdaddr_t *bd_addr, 290 bt_status_t (*listen)(int client_if, bool start); 293 bt_status_t (*refresh)( int client_if, const bt_bdaddr_t *bd_addr ); 299 bt_status_t (*search_service)(int conn_id, bt_uuid_t *filter_uuid ); 302 bt_status_t (*read_characteristic)( int conn_id, uint16_t handle, 306 bt_status_t (*write_characteristic)(int conn_id, uint16_t handle [all...] |
bt_hh.h | 148 bt_status_t (*init)( bthh_callbacks_t* callbacks ); 151 bt_status_t (*connect)( bt_bdaddr_t *bd_addr); 154 bt_status_t (*disconnect)( bt_bdaddr_t *bd_addr ); 157 bt_status_t (*virtual_unplug)(bt_bdaddr_t *bd_addr); 160 bt_status_t (*set_info)(bt_bdaddr_t *bd_addr, bthh_hid_info_t hid_info ); 163 bt_status_t (*get_protocol) (bt_bdaddr_t *bd_addr, bthh_protocol_mode_t protocolMode); 166 bt_status_t (*set_protocol)(bt_bdaddr_t *bd_addr, bthh_protocol_mode_t protocolMode); 169 bt_status_t (*get_report)(bt_bdaddr_t *bd_addr, bthh_report_type_t reportType, uint8_t reportId, int bufferSize); 172 bt_status_t (*set_report)(bt_bdaddr_t *bd_addr, bthh_report_type_t reportType, char* report); 175 bt_status_t (*send_data)(bt_bdaddr_t *bd_addr, char* data) [all...] |
bt_hl.h | 101 bt_status_t (*init)( bthl_callbacks_t* callbacks ); 104 bt_status_t (*register_application) ( bthl_reg_param_t *p_reg_param, int *app_id); 107 bt_status_t (*unregister_application) (int app_id); 110 bt_status_t (*connect_channel)(int app_id, bt_bdaddr_t *bd_addr, int mdep_cfg_index, int *channel_id); 113 bt_status_t (*destroy_channel)(int channel_id);
|
bt_av.h | 89 bt_status_t (*init)( btav_callbacks_t* callbacks ); 92 bt_status_t (*connect)( bt_bdaddr_t *bd_addr ); 95 bt_status_t (*disconnect)( bt_bdaddr_t *bd_addr );
|
bt_sdp.h | 112 typedef void (*btsdp_search_callback)(bt_status_t status, bt_bdaddr_t *bd_addr, uint8_t* uuid, int num_records, bluetooth_sdp_record *records); 125 bt_status_t (*init)(btsdp_callbacks_t *callbacks); 128 bt_status_t (*deinit)(); 131 bt_status_t (*sdp_search)(bt_bdaddr_t *bd_addr, const uint8_t* uuid); 143 bt_status_t (*create_sdp_record)(bluetooth_sdp_record *record, int* record_handle); 146 bt_status_t (*remove_sdp_record)(int sdp_handle);
|
bt_sock.h | 62 bt_status_t (*listen)(btsock_type_t type, const char* service_name, 71 bt_status_t (*connect)(const bt_bdaddr_t *bd_addr, btsock_type_t type, const uint8_t* uuid,
|
bt_rc.h | 230 bt_status_t (*init)( btrc_callbacks_t* callbacks ); 237 bt_status_t (*get_play_status_rsp)( btrc_play_status_t play_status, uint32_t song_len, uint32_t song_pos); 242 bt_status_t (*list_player_app_attr_rsp)( int num_attr, btrc_player_attr_t *p_attrs); 247 bt_status_t (*list_player_app_value_rsp)( int num_val, uint8_t *p_vals); 250 bt_status_t (*get_player_app_value_rsp)( btrc_player_settings_t *p_vals); 255 bt_status_t (*get_player_app_attr_text_rsp)( int num_attr, btrc_player_setting_text_t *p_attrs); 260 bt_status_t (*get_player_app_value_text_rsp)( int num_val, btrc_player_setting_text_t *p_vals); 265 bt_status_t (*get_element_attr_rsp)( uint8_t num_attr, btrc_element_attr_val_t *p_attrs); 270 bt_status_t (*set_player_app_value_rsp)(btrc_status_t rsp_status); 277 bt_status_t (*register_notification_rsp)(btrc_event_id_t event_id [all...] |
bt_gatt.h | 47 bt_status_t (*init)( const btgatt_callbacks_t* callbacks );
|
/system/bt/service/hal/ |
fake_bluetooth_gatt_interface.h | 36 virtual bt_status_t RegisterClient(bt_uuid_t* app_uuid) = 0; 37 virtual bt_status_t UnregisterClient(int client_if) = 0; 39 virtual bt_status_t Scan(bool start) = 0; 40 virtual bt_status_t Connect(int client_if, const bt_bdaddr_t *bd_addr, 42 virtual bt_status_t Disconnect(int client_if, const bt_bdaddr_t *bd_addr, 45 virtual bt_status_t MultiAdvEnable( 48 virtual bt_status_t MultiAdvSetInstData( 54 virtual bt_status_t MultiAdvDisable(int client_if) = 0; 64 virtual bt_status_t RegisterServer(bt_uuid_t* app_uuid) = 0; 65 virtual bt_status_t UnregisterServer(int server_if) = 0 [all...] |
bluetooth_interface.h | 53 virtual void AdapterPropertiesCallback(bt_status_t status, 56 virtual void RemoteDevicePropertiesCallback(bt_status_t status, 70 virtual void BondStateChangedCallback(bt_status_t status, 73 virtual void AclStateChangedCallback(bt_status_t status,
|
fake_bluetooth_gatt_interface.cpp | 29 bt_status_t FakeRegisterClient(bt_uuid_t* app_uuid) { 36 bt_status_t FakeUnregisterClient(int client_if) { 43 bt_status_t FakeScan(bool start) { 50 bt_status_t FakeConnect(int client_if, const bt_bdaddr_t *bd_addr, 58 bt_status_t FakeDisconnect(int client_if, const bt_bdaddr_t *bd_addr, 66 bt_status_t FakeMultiAdvEnable( 76 bt_status_t FakeMultiAdvSetInstData( 93 bt_status_t FakeMultiAdvDisable(int client_if) { 100 bt_status_t FakeRegisterServer(bt_uuid_t* app_uuid) { 107 bt_status_t FakeUnregisterServer(int server_if) [all...] |
/system/bt/btif/src/ |
btif_sdp.c | 45 bt_status_t sdp_server_init(); 47 bt_status_t create_sdp_record(bluetooth_sdp_record *records, int* record_handles); 48 bt_status_t remove_sdp_record(int record_handle); 125 static bt_status_t init(btsdp_callbacks_t* callbacks) 137 static bt_status_t deinit() 148 static bt_status_t search(bt_bdaddr_t *bd_addr, const uint8_t *uuid) 183 bt_status_t btif_sdp_execute_service(BOOLEAN b_enable)
|