/system/bt/btif/include/ |
D | btif_api.h | 51 bt_status_t btif_init_bluetooth(void); 62 bt_status_t btif_enable_bluetooth(void); 75 bt_status_t btif_disable_bluetooth(void); 87 bt_status_t btif_cleanup_bluetooth(void); 128 bt_status_t btif_get_adapter_properties(void); 139 bt_status_t btif_get_adapter_property(bt_property_type_t type); 151 bt_status_t btif_set_adapter_property(const bt_property_t* property); 162 bt_status_t btif_get_remote_device_property(RawAddress* remote_addr, 174 bt_status_t btif_get_remote_device_properties(RawAddress* remote_addr); 187 bt_status_t btif_set_remote_device_property(RawAddress* remote_addr, [all …]
|
D | btif_storage.h | 55 bt_status_t btif_storage_get_adapter_property(bt_property_t* property); 68 bt_status_t btif_storage_set_adapter_property(bt_property_t* property); 83 bt_status_t btif_storage_get_remote_device_property( 97 bt_status_t btif_storage_set_remote_device_property( 138 bt_status_t btif_storage_add_remote_device(const RawAddress* remote_bd_addr, 153 bt_status_t btif_storage_add_bonded_device(RawAddress* remote_bd_addr, 167 bt_status_t btif_storage_remove_bonded_device(const RawAddress* remote_bd_addr); 179 bt_status_t btif_storage_load_bonded_devices(void); 193 bt_status_t btif_storage_add_hid_device_info( 209 bt_status_t btif_storage_load_bonded_hid_info(void); [all …]
|
D | 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 RawAddress* bd_addr, int* sock_fd,
|
D | btif_sock_l2cap.h | 14 bt_status_t btsock_l2cap_init(int handle, uid_set_t* set); 15 bt_status_t btsock_l2cap_cleanup(); 16 bt_status_t btsock_l2cap_listen(const char* name, int channel, int* sock_fd, 18 bt_status_t btsock_l2cap_connect(const RawAddress* bd_addr, int channel,
|
D | 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 bluetooth::Uuid* uuid, 37 bt_status_t btsock_rfc_connect(const RawAddress* bd_addr,
|
D | btif_profile_queue.h | 32 typedef bt_status_t (*btif_connect_cb_t)(RawAddress* bda, uint16_t uuid); 34 bt_status_t btif_queue_connect(uint16_t uuid, const RawAddress* bda, 46 bt_status_t btif_queue_connect_next(void);
|
D | btif_common.h | 177 extern bt_status_t do_in_jni_thread(base::OnceClosure task); 178 extern bt_status_t do_in_jni_thread(const base::Location& from_here, 199 bt_status_t btif_enable_service(tBTA_SERVICE_ID service_id); 200 bt_status_t btif_disable_service(tBTA_SERVICE_ID service_id); 208 void btif_adapter_properties_evt(bt_status_t status, uint32_t num_props, 210 void btif_remote_properties_evt(bt_status_t status, RawAddress* remote_addr, 220 bt_status_t btif_transfer_context(tBTIF_CBACK* p_cback, uint16_t event,
|
/system/bt/include/hardware/ |
D | bluetooth_headset_interface.h | 40 virtual bt_status_t Init(Callbacks* callbacks, int max_hf_clients, 49 virtual bt_status_t Connect(RawAddress* bd_addr) = 0; 57 virtual bt_status_t Disconnect(RawAddress* bd_addr) = 0; 65 virtual bt_status_t ConnectAudio(RawAddress* bd_addr) = 0; 73 virtual bt_status_t DisconnectAudio(RawAddress* bd_addr) = 0; 81 virtual bt_status_t StartVoiceRecognition(RawAddress* bd_addr) = 0; 89 virtual bt_status_t StopVoiceRecognition(RawAddress* bd_addr) = 0; 99 virtual bt_status_t VolumeControl(bthf_volume_type_t type, int volume, 112 virtual bt_status_t DeviceStatusNotification(bthf_network_state_t ntk_state, 124 virtual bt_status_t CopsResponse(const char* cops, RawAddress* bd_addr) = 0; [all …]
|
D | bt_gatt_client.h | 210 bt_status_t (*register_client)(const bluetooth::Uuid& uuid); 213 bt_status_t (*unregister_client)(int client_if); 216 bt_status_t (*connect)(int client_if, const RawAddress& bd_addr, 221 bt_status_t (*disconnect)(int client_if, const RawAddress& bd_addr, 225 bt_status_t (*refresh)(int client_if, const RawAddress& bd_addr); 231 bt_status_t (*search_service)(int conn_id, 241 bt_status_t (*read_characteristic)(int conn_id, uint16_t handle, 245 bt_status_t (*read_using_characteristic_uuid)(int conn_id, 252 bt_status_t (*write_characteristic)(int conn_id, uint16_t handle, 257 bt_status_t (*read_descriptor)(int conn_id, uint16_t handle, int auth_req); [all …]
|
D | bt_hh.h | 151 bt_status_t (*init)(bthh_callbacks_t* callbacks); 154 bt_status_t (*connect)(RawAddress* bd_addr); 157 bt_status_t (*disconnect)(RawAddress* bd_addr); 160 bt_status_t (*virtual_unplug)(RawAddress* bd_addr); 163 bt_status_t (*set_info)(RawAddress* bd_addr, bthh_hid_info_t hid_info); 166 bt_status_t (*get_protocol)(RawAddress* bd_addr, 170 bt_status_t (*set_protocol)(RawAddress* bd_addr, 174 bt_status_t (*get_idle_time)(RawAddress* bd_addr); 177 bt_status_t (*set_idle_time)(RawAddress* bd_addr, uint8_t idleTime); 180 bt_status_t (*get_report)(RawAddress* bd_addr, bthh_report_type_t reportType, [all …]
|
D | bt_hf_client.h | 329 bt_status_t (*init)(bthf_client_callbacks_t* callbacks); 332 bt_status_t (*connect)(RawAddress* bd_addr); 335 bt_status_t (*disconnect)(const RawAddress* bd_addr); 338 bt_status_t (*connect_audio)(const RawAddress* bd_addr); 341 bt_status_t (*disconnect_audio)(const RawAddress* bd_addr); 344 bt_status_t (*start_voice_recognition)(const RawAddress* bd_addr); 347 bt_status_t (*stop_voice_recognition)(const RawAddress* bd_addr); 350 bt_status_t (*volume_control)(const RawAddress* bd_addr, 355 bt_status_t (*dial)(const RawAddress* bd_addr, const char* number); 358 bt_status_t (*dial_memory)(const RawAddress* bd_addr, int location); [all …]
|
D | bt_rc.h | 431 bt_status_t (*init)(btrc_callbacks_t* callbacks); 438 bt_status_t (*get_play_status_rsp)(const RawAddress& bd_addr, 446 bt_status_t (*list_player_app_attr_rsp)(const RawAddress& bd_addr, 453 bt_status_t (*list_player_app_value_rsp)(const RawAddress& bd_addr, 458 bt_status_t (*get_player_app_value_rsp)(const RawAddress& bd_addr, 465 bt_status_t (*get_player_app_attr_text_rsp)( 473 bt_status_t (*get_player_app_value_text_rsp)( 482 bt_status_t (*get_element_attr_rsp)(const RawAddress& bd_addr, 490 bt_status_t (*set_player_app_value_rsp)(const RawAddress& bd_addr, 499 bt_status_t (*register_notification_rsp)( [all …]
|
D | bt_gatt_server.h | 141 bt_status_t (*register_server)(const bluetooth::Uuid& uuid); 144 bt_status_t (*unregister_server)(int server_if); 147 bt_status_t (*connect)(int server_if, const RawAddress& bd_addr, 151 bt_status_t (*disconnect)(int server_if, const RawAddress& bd_addr, 155 bt_status_t (*add_service)(int server_if, 159 bt_status_t (*stop_service)(int server_if, int service_handle); 162 bt_status_t (*delete_service)(int server_if, int service_handle); 165 bt_status_t (*send_indication)(int server_if, int attribute_handle, 170 bt_status_t (*send_response)(int conn_id, int trans_id, int status, 173 bt_status_t (*set_preferred_phy)(const RawAddress& bd_addr, uint8_t tx_phy, [all …]
|
D | bt_pan.h | 42 bt_status_t error, 47 int local_role, bt_status_t error, 61 bt_status_t (*init)(const btpan_callbacks_t* callbacks); 68 bt_status_t (*enable)(int local_role); 77 bt_status_t (*connect)(const RawAddress* bd_addr, int local_role, 83 bt_status_t (*disconnect)(const RawAddress* bd_addr);
|
D | bt_hd.h | 95 bt_status_t (*init)(bthd_callbacks_t* callbacks); 101 bt_status_t (*register_app)(bthd_app_param_t* app_param, 106 bt_status_t (*unregister_app)(void); 109 bt_status_t (*connect)(RawAddress* bd_addr); 112 bt_status_t (*disconnect)(void); 115 bt_status_t (*send_report)(bthd_report_type_t type, uint8_t id, uint16_t len, 119 bt_status_t (*report_error)(uint8_t error); 122 bt_status_t (*virtual_cable_unplug)(void);
|
D | bt_sdp.h | 111 typedef void (*btsdp_search_callback)(bt_status_t status, 128 bt_status_t (*init)(btsdp_callbacks_t* callbacks); 131 bt_status_t (*deinit)(); 134 bt_status_t (*sdp_search)(RawAddress* bd_addr, const bluetooth::Uuid& uuid); 149 bt_status_t (*create_sdp_record)(bluetooth_sdp_record* record, 153 bt_status_t (*remove_sdp_record)(int sdp_handle);
|
D | bt_av.h | 306 bt_status_t (*init)(btav_source_callbacks_t* callbacks, 311 bt_status_t (*connect)(const RawAddress& bd_addr); 314 bt_status_t (*disconnect)(const RawAddress& bd_addr); 317 bt_status_t (*set_silence_device)(const RawAddress& bd_addr, bool silence); 320 bt_status_t (*set_active_device)(const RawAddress& bd_addr); 323 bt_status_t (*config_codec)( 340 bt_status_t (*init)(btav_sink_callbacks_t* callbacks); 343 bt_status_t (*connect)(const RawAddress& bd_addr); 346 bt_status_t (*disconnect)(const RawAddress& bd_addr);
|
D | bt_mce.h | 32 bt_status_t status, RawAddress* bd_addr, int num_instances, 46 bt_status_t (*init)(btmce_callbacks_t* callbacks); 49 bt_status_t (*get_remote_mas_instances)(RawAddress* bd_addr);
|
/system/bt/btif/src/ |
D | btif_sdp.cc | 48 bt_status_t sdp_server_init(); 50 bt_status_t create_sdp_record(bluetooth_sdp_record* records, 52 bt_status_t remove_sdp_record(int record_handle); 73 HAL_CBACK(bt_sdp_callbacks, sdp_search_cb, (bt_status_t)evt_data->status, in btif_sdp_search_comp_evt() 118 static bt_status_t init(btsdp_callbacks_t* callbacks) { in init() 129 static bt_status_t deinit() { in deinit() 139 static bt_status_t search(RawAddress* bd_addr, const Uuid& uuid) { in search() 162 bt_status_t btif_sdp_execute_service(bool b_enable) { in btif_sdp_execute_service()
|
D | btif_gatt_client.cc | 59 extern bt_status_t btif_gattc_test_command_impl( 204 bt_status_t status = in bta_gattc_cback() 223 bt_status_t btif_gattc_register_app(const Uuid& uuid) { in btif_gattc_register_app() 248 bt_status_t btif_gattc_unregister_app(int client_if) { in btif_gattc_unregister_app() 313 bt_status_t btif_gattc_open(int client_if, const RawAddress& bd_addr, in btif_gattc_open() 334 bt_status_t btif_gattc_close(int client_if, const RawAddress& bd_addr, in btif_gattc_close() 341 bt_status_t btif_gattc_refresh(int client_if, const RawAddress& bd_addr) { in btif_gattc_refresh() 346 bt_status_t btif_gattc_search_service(int conn_id, const Uuid* filter_uuid) { in btif_gattc_search_service() 372 bt_status_t btif_gattc_get_gatt_db(int conn_id) { in btif_gattc_get_gatt_db() 393 bt_status_t btif_gattc_read_char(int conn_id, uint16_t handle, int auth_req) { in btif_gattc_read_char() [all …]
|
D | btif_core.cc | 192 bt_status_t btif_transfer_context(tBTIF_CBACK* p_cback, uint16_t event, in btif_transfer_context() 223 bt_status_t do_in_jni_thread(const base::Location& from_here, in do_in_jni_thread() 232 bt_status_t do_in_jni_thread(base::OnceClosure task) { in do_in_jni_thread() 324 bt_status_t btif_init_bluetooth() { in btif_init_bluetooth() 416 bt_status_t btif_disable_bluetooth() { in btif_disable_bluetooth() 467 bt_status_t btif_cleanup_bluetooth() { in btif_cleanup_bluetooth() 506 bt_status_t btif_dut_mode_configure(uint8_t enable) { in btif_dut_mode_configure() 532 bt_status_t btif_dut_mode_send(uint16_t opcode, uint8_t* buf, uint8_t len) { in btif_dut_mode_send() 549 static bt_status_t btif_in_get_adapter_properties(void) { in btif_in_get_adapter_properties() 560 bt_status_t status; in btif_in_get_adapter_properties() [all …]
|
D | btif_hf.cc | 567 bt_status_t status; in bte_hf_evt() 602 static bt_status_t connect_int(RawAddress* bd_addr, uint16_t uuid) { in connect_int() 672 bt_status_t Init(Callbacks* callbacks, int max_hf_clients, 674 bt_status_t Connect(RawAddress* bd_addr) override; 675 bt_status_t Disconnect(RawAddress* bd_addr) override; 676 bt_status_t ConnectAudio(RawAddress* bd_addr) override; 677 bt_status_t DisconnectAudio(RawAddress* bd_addr) override; 678 bt_status_t StartVoiceRecognition(RawAddress* bd_addr) override; 679 bt_status_t StopVoiceRecognition(RawAddress* bd_addr) override; 680 bt_status_t VolumeControl(bthf_volume_type_t type, int volume, [all …]
|
/system/bt/osi/src/ |
D | wakelock.cc | 85 static bt_status_t wakelock_acquire_callout(void); 86 static bt_status_t wakelock_acquire_native(void); 87 static bt_status_t wakelock_release_callout(void); 88 static bt_status_t wakelock_release_native(void); 92 static void update_wakelock_acquired_stats(bt_status_t acquired_status); 93 static void update_wakelock_released_stats(bt_status_t released_status); 105 bt_status_t status = BT_STATUS_FAIL; in wakelock_acquire() 120 static bt_status_t wakelock_acquire_callout(void) { in wakelock_acquire_callout() 121 return static_cast<bt_status_t>( in wakelock_acquire_callout() 125 static bt_status_t wakelock_acquire_native(void) { in wakelock_acquire_native() [all …]
|
/system/bt/service/hal/ |
D | fake_bluetooth_gatt_interface.h | 38 virtual bt_status_t RegisterClient(const bluetooth::Uuid& app_uuid) = 0; 39 virtual bt_status_t UnregisterClient(int client_if) = 0; 41 virtual bt_status_t Connect(int client_if, const RawAddress& bd_addr, 43 virtual bt_status_t Disconnect(int client_if, const RawAddress& bd_addr, 54 virtual bt_status_t RegisterServer(const bluetooth::Uuid& app_uuid) = 0; 55 virtual bt_status_t UnregisterServer(int server_if) = 0; 56 virtual bt_status_t AddService( 58 virtual bt_status_t DeleteService(int server_if, int srvc_handle) = 0; 59 virtual bt_status_t SendIndication(int server_if, int attribute_handle, 62 virtual bt_status_t SendResponse(int conn_id, int trans_id, int status,
|
D | 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,
|