/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); 115 bt_status_t btif_get_adapter_properties(void); 126 bt_status_t btif_get_adapter_property(bt_property_type_t type); 138 bt_status_t btif_set_adapter_property(const bt_property_t* property); 149 bt_status_t btif_get_remote_device_property(bt_bdaddr_t* remote_addr, 161 bt_status_t btif_get_remote_device_properties(bt_bdaddr_t* remote_addr); 174 bt_status_t btif_set_remote_device_property(bt_bdaddr_t* remote_addr, [all …]
|
D | btif_storage.h | 54 bt_status_t btif_storage_get_adapter_property(bt_property_t* property); 67 bt_status_t btif_storage_set_adapter_property(bt_property_t* property); 82 bt_status_t btif_storage_get_remote_device_property(bt_bdaddr_t* remote_bd_addr, 96 bt_status_t btif_storage_set_remote_device_property(bt_bdaddr_t* remote_bd_addr, 111 bt_status_t btif_storage_add_remote_device(bt_bdaddr_t* remote_bd_addr, 126 bt_status_t btif_storage_add_bonded_device(bt_bdaddr_t* remote_bd_addr, 140 bt_status_t btif_storage_remove_bonded_device(bt_bdaddr_t* remote_bd_addr); 152 bt_status_t btif_storage_load_bonded_devices(void); 166 bt_status_t btif_storage_add_hid_device_info( 182 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 bt_bdaddr_t* bd_addr, int* sock_fd,
|
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 uint8_t* uuid, 37 bt_status_t btsock_rfc_connect(const bt_bdaddr_t* bd_addr, const uint8_t* uuid,
|
D | 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, int* sock_fd, 19 bt_status_t btsock_l2cap_connect(const bt_bdaddr_t* bd_addr, int channel,
|
D | 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, 37 bt_status_t btif_queue_connect_next(void);
|
D | btif_common.h | 207 extern bt_status_t do_in_jni_thread(const base::Closure& task); 208 extern bt_status_t do_in_jni_thread(const tracked_objects::Location& from_here, 227 bt_status_t btif_enable_service(tBTA_SERVICE_ID service_id); 228 bt_status_t btif_disable_service(tBTA_SERVICE_ID service_id); 236 void btif_adapter_properties_evt(bt_status_t status, uint32_t num_props, 238 void btif_remote_properties_evt(bt_status_t status, bt_bdaddr_t* remote_addr, 248 bt_status_t btif_transfer_context(tBTIF_CBACK* p_cback, uint16_t event,
|
D | btif_sm.h | 104 bt_status_t btif_sm_dispatch(btif_sm_handle_t handle, btif_sm_event_t event, 119 bt_status_t btif_sm_change_state(btif_sm_handle_t handle,
|
/system/bt/btif/src/ |
D | btif_sdp.cc | 46 bt_status_t sdp_server_init(); 48 bt_status_t create_sdp_record(bluetooth_sdp_record* records, 50 bt_status_t remove_sdp_record(int record_handle); 74 HAL_CBACK(bt_sdp_callbacks, sdp_search_cb, (bt_status_t)evt_data->status, in btif_sdp_search_comp_evt() 119 static bt_status_t init(btsdp_callbacks_t* callbacks) { in init() 130 static bt_status_t deinit() { in deinit() 140 static bt_status_t search(bt_bdaddr_t* bd_addr, const uint8_t* uuid) { in search() 168 bt_status_t btif_sdp_execute_service(bool b_enable) { in btif_sdp_execute_service()
|
D | btif_sock.cc | 39 static bt_status_t btsock_listen(btsock_type_t type, const char* service_name, 42 static bt_status_t btsock_connect(const bt_bdaddr_t* bd_addr, 59 bt_status_t btif_sock_init(uid_set_t* uid_set) { in btif_sock_init() 63 bt_status_t status; in btif_sock_init() 123 static bt_status_t btsock_listen(btsock_type_t type, const char* service_name, in btsock_listen() 132 bt_status_t status = BT_STATUS_FAIL; in btsock_listen() 157 static bt_status_t btsock_connect(const bt_bdaddr_t* bd_addr, in btsock_connect() 166 bt_status_t status = BT_STATUS_FAIL; in btsock_connect()
|
D | btif_gatt_client.cc | 59 extern bt_status_t btif_gattc_test_command_impl(int command, 203 bt_status_t status = in bta_gattc_cback() 222 bt_status_t btif_gattc_register_app(bt_uuid_t* uuid) { in btif_gattc_register_app() 252 bt_status_t btif_gattc_unregister_app(int client_if) { in btif_gattc_unregister_app() 317 bt_status_t btif_gattc_open(int client_if, const bt_bdaddr_t* bd_addr, in btif_gattc_open() 340 bt_status_t btif_gattc_close(int client_if, const bt_bdaddr_t* bd_addr, in btif_gattc_close() 350 bt_status_t btif_gattc_refresh(int client_if, const bt_bdaddr_t* bd_addr) { in btif_gattc_refresh() 358 bt_status_t btif_gattc_search_service(int conn_id, bt_uuid_t* filter_uuid) { in btif_gattc_search_service() 390 bt_status_t btif_gattc_get_gatt_db(int conn_id) { in btif_gattc_get_gatt_db() 409 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 | 189 bt_status_t btif_transfer_context(tBTIF_CBACK* p_cback, uint16_t event, in btif_transfer_context() 220 bt_status_t do_in_jni_thread(const tracked_objects::Location& from_here, in do_in_jni_thread() 235 bt_status_t do_in_jni_thread(const base::Closure& task) { in do_in_jni_thread() 347 bt_status_t btif_init_bluetooth() { in btif_init_bluetooth() 452 bt_status_t btif_disable_bluetooth(void) { in btif_disable_bluetooth() 499 bt_status_t btif_cleanup_bluetooth(void) { in btif_cleanup_bluetooth() 549 bt_status_t btif_dut_mode_configure(uint8_t enable) { in btif_dut_mode_configure() 575 bt_status_t btif_dut_mode_send(uint16_t opcode, uint8_t* buf, uint8_t len) { in btif_dut_mode_send() 592 static bt_status_t btif_in_get_adapter_properties(void) { in btif_in_get_adapter_properties() 602 bt_status_t status; in btif_in_get_adapter_properties() [all …]
|
D | btif_sm.cc | 128 bt_status_t btif_sm_dispatch(btif_sm_handle_t handle, btif_sm_event_t event, in btif_sm_dispatch() 130 bt_status_t status = BT_STATUS_SUCCESS; in btif_sm_dispatch() 159 bt_status_t btif_sm_change_state(btif_sm_handle_t handle, in btif_sm_change_state() 161 bt_status_t status = BT_STATUS_SUCCESS; in btif_sm_change_state()
|
D | btif_storage.cc | 170 static bt_status_t btif_in_fetch_bonded_ble_device( 173 static bt_status_t btif_in_fetch_bonded_device(const char* bdstr); 382 static bt_status_t btif_in_fetch_bonded_device(const char* bdstr) { in btif_in_fetch_bonded_device() 414 static bt_status_t btif_in_fetch_bonded_devices( in btif_in_fetch_bonded_devices() 546 bt_status_t btif_storage_get_adapter_property(bt_property_t* property) { in btif_storage_get_adapter_property() 642 bt_status_t btif_storage_set_adapter_property(bt_property_t* property) { in btif_storage_set_adapter_property() 659 bt_status_t btif_storage_get_remote_device_property(bt_bdaddr_t* remote_bd_addr, in btif_storage_get_remote_device_property() 675 bt_status_t btif_storage_set_remote_device_property(bt_bdaddr_t* remote_bd_addr, in btif_storage_set_remote_device_property() 693 bt_status_t btif_storage_add_remote_device(bt_bdaddr_t* remote_bd_addr, in btif_storage_add_remote_device() 729 bt_status_t btif_storage_add_bonded_device(bt_bdaddr_t* remote_bd_addr, in btif_storage_add_bonded_device() [all …]
|
D | btif_hf_client.cc | 271 static bt_status_t init(bthf_client_callbacks_t* callbacks) { in init() 292 static bt_status_t connect_int(bt_bdaddr_t* bd_addr, uint16_t uuid) { in connect_int() 314 static bt_status_t connect(bt_bdaddr_t* bd_addr) { in connect() 329 static bt_status_t disconnect(const bt_bdaddr_t* bd_addr) { in disconnect() 350 static bt_status_t connect_audio(const bt_bdaddr_t* bd_addr) { in connect_audio() 380 static bt_status_t disconnect_audio(const bt_bdaddr_t* bd_addr) { in disconnect_audio() 399 static bt_status_t start_voice_recognition(const bt_bdaddr_t* bd_addr) { in start_voice_recognition() 421 static bt_status_t stop_voice_recognition(const bt_bdaddr_t* bd_addr) { in stop_voice_recognition() 443 static bt_status_t volume_control(const bt_bdaddr_t* bd_addr, in volume_control() 473 static bt_status_t dial(UNUSED_ATTR const bt_bdaddr_t* bd_addr, in dial() [all …]
|
D | btif_gatt_server.cc | 273 bt_status_t status; in btapp_gatts_cback() 283 static bt_status_t btif_gatts_register_app(bt_uuid_t* bt_uuid) { in btif_gatts_register_app() 292 static bt_status_t btif_gatts_unregister_app(int server_if) { in btif_gatts_unregister_app() 343 static bt_status_t btif_gatts_open(int server_if, const bt_bdaddr_t* bd_addr, in btif_gatts_open() 364 static bt_status_t btif_gatts_close(int server_if, const bt_bdaddr_t* bd_addr, in btif_gatts_close() 396 static bt_status_t btif_gatts_add_service(int server_if, in btif_gatts_add_service() 403 static bt_status_t btif_gatts_stop_service(int server_if, int service_handle) { in btif_gatts_stop_service() 408 static bt_status_t btif_gatts_delete_service(int server_if, in btif_gatts_delete_service() 414 static bt_status_t btif_gatts_send_indication(int server_if, in btif_gatts_send_indication() 439 static bt_status_t btif_gatts_send_response(int conn_id, int trans_id, in btif_gatts_send_response() [all …]
|
D | btif_mce.cc | 71 (bt_status_t)evt_data->status, &addr, evt_data->num_mas, insts); in btif_mce_mas_discovery_comp_evt() 120 static bt_status_t init(btmce_callbacks_t* callbacks) { in init() 130 static bt_status_t get_remote_mas_instances(bt_bdaddr_t* bd_addr) { in get_remote_mas_instances() 159 bt_status_t btif_mce_execute_service(bool b_enable) { in btif_mce_execute_service()
|
D | btif_hf.cc | 303 static bt_status_t btif_hf_check_if_slc_connected() { in btif_hf_check_if_slc_connected() 608 bt_status_t status; in bte_hf_evt() 686 static bt_status_t init(bthf_callbacks_t* callbacks, int max_hf_clients, in init() 728 static bt_status_t connect_int(bt_bdaddr_t* bd_addr, uint16_t uuid) { in connect_int() 753 static bt_status_t connect(bt_bdaddr_t* bd_addr) { in connect() 767 static bt_status_t disconnect(bt_bdaddr_t* bd_addr) { in disconnect() 794 static bt_status_t connect_audio(bt_bdaddr_t* bd_addr) { in connect_audio() 830 static bt_status_t disconnect_audio(bt_bdaddr_t* bd_addr) { in disconnect_audio() 857 static bt_status_t start_voice_recognition(bt_bdaddr_t* bd_addr) { in start_voice_recognition() 892 static bt_status_t stop_voice_recognition(bt_bdaddr_t* bd_addr) { in stop_voice_recognition() [all …]
|
D | btif_hd.cc | 294 bt_status_t status; in bte_hd_evt() 352 static bt_status_t init(bthd_callbacks_t* callbacks) { in init() 392 static bt_status_t register_app(bthd_app_param_t* p_app_param, in register_app() 446 static bt_status_t unregister_app(void) { in unregister_app() 480 static bt_status_t connect(bt_bdaddr_t* bd_addr) { in connect() 508 static bt_status_t disconnect(void) { in disconnect() 536 static bt_status_t send_report(bthd_report_type_t type, uint8_t id, in send_report() 579 static bt_status_t report_error(uint8_t error) { in report_error() 607 static bt_status_t virtual_cable_unplug(void) { in virtual_cable_unplug() 648 bt_status_t btif_hd_execute_service(bool b_enable) { in btif_hd_execute_service()
|
/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 | 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 Connect(int client_if, const bt_bdaddr_t* bd_addr, 41 virtual bt_status_t Disconnect(int client_if, const bt_bdaddr_t* bd_addr, 52 virtual bt_status_t RegisterServer(bt_uuid_t* app_uuid) = 0; 53 virtual bt_status_t UnregisterServer(int server_if) = 0; 54 virtual bt_status_t AddService( 56 virtual bt_status_t DeleteService(int server_if, int srvc_handle) = 0; 57 virtual bt_status_t SendIndication(int server_if, int attribute_handle, 60 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, 68 virtual void BondStateChangedCallback(bt_status_t status, 71 virtual void AclStateChangedCallback(bt_status_t status,
|
D | fake_bluetooth_gatt_interface.cc | 31 bt_status_t FakeRegisterClient(bt_uuid_t* app_uuid) { in FakeRegisterClient() 37 bt_status_t FakeUnregisterClient(int client_if) { in FakeUnregisterClient() 43 bt_status_t FakeConnect(int client_if, const bt_bdaddr_t* bd_addr, in FakeConnect() 51 bt_status_t FakeDisconnect(int client_if, const bt_bdaddr_t* bd_addr, in FakeDisconnect() 59 bt_status_t FakeRegisterServer(bt_uuid_t* app_uuid) { in FakeRegisterServer() 65 bt_status_t FakeUnregisterServer(int server_if) { in FakeUnregisterServer() 71 bt_status_t FakeAddService(int server_if, in FakeAddService() 79 bt_status_t FakeDeleteService(int server_if, int srvc_handle) { in FakeDeleteService() 86 bt_status_t FakeSendIndication(int server_if, int attribute_handle, int conn_id, in FakeSendIndication() 95 bt_status_t FakeSendResponse(int conn_id, int trans_id, int status, in FakeSendResponse()
|
D | bluetooth_interface.cc | 75 void AdapterPropertiesCallback(bt_status_t status, int num_properties, in AdapterPropertiesCallback() 85 void RemoteDevicePropertiesCallback(bt_status_t status, in RemoteDevicePropertiesCallback() 129 void BondStateChangedCallback(bt_status_t status, bt_bdaddr_t* remote_bd_addr, in BondStateChangedCallback() 139 void AclStateChangedCallback(bt_status_t status, bt_bdaddr_t* remote_bd_addr, in AclStateChangedCallback() 317 bt_status_t /* status */, int /* num_properties */, in AdapterPropertiesCallback() argument 323 bt_status_t /* status */, bt_bdaddr_t* /* remote_bd_addr */, in RemoteDevicePropertiesCallback() argument 346 bt_status_t status, bt_bdaddr_t* remote_bd_addr, bt_bond_state_t state) { in BondStateChangedCallback() 351 bt_status_t /* status */, const bt_bdaddr_t& /* remote_bdaddr */, in AclStateChangedCallback() argument
|
/system/bt/service/test/ |
D | gatt_client_unittest.cc | 36 MOCK_METHOD1(RegisterClient, bt_status_t(bt_uuid_t*)); 37 MOCK_METHOD1(UnregisterClient, bt_status_t(int)); 38 MOCK_METHOD1(Scan, bt_status_t(bool)); 39 MOCK_METHOD4(Connect, bt_status_t(int, const bt_bdaddr_t*, bool, int)); 40 MOCK_METHOD3(Disconnect, bt_status_t(int, const bt_bdaddr_t*, int));
|