/system/bt/service/hal/ |
D | fake_bluetooth_gatt_interface.cc | 34 return BT_STATUS_FAIL; in FakeRegisterClient() 40 return BT_STATUS_FAIL; in FakeUnregisterClient() 49 return BT_STATUS_FAIL; in FakeConnect() 57 return BT_STATUS_FAIL; in FakeDisconnect() 63 return BT_STATUS_FAIL; in FakeRegisterServer() 69 return BT_STATUS_FAIL; in FakeUnregisterServer() 77 return BT_STATUS_FAIL; in FakeAddService() 84 return BT_STATUS_FAIL; in FakeDeleteService() 93 return BT_STATUS_FAIL; in FakeSendIndication() 101 return BT_STATUS_FAIL; in FakeSendResponse()
|
D | fake_bluetooth_interface.cc | 27 return g_hal_manager.enable_succeed ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in FakeHALEnable() 31 return g_hal_manager.disable_succeed ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in FakeHALDisable() 39 : BT_STATUS_FAIL); in FakeHALSetAdapterProperty()
|
D | fake_bluetooth_av_interface.cc | 45 return BT_STATUS_FAIL; in FakeConnect() 51 return BT_STATUS_FAIL; in FakeDisconnect()
|
/system/bt/btif/src/ |
D | btif_hf_client.cc | 360 if (cb == NULL || !is_connected(cb)) return BT_STATUS_FAIL; in connect_audio() 390 if (cb == NULL || !is_connected(cb)) return BT_STATUS_FAIL; in disconnect_audio() 409 if (cb == NULL || !is_connected(cb)) return BT_STATUS_FAIL; in start_voice_recognition() 431 if (cb == NULL || !is_connected(cb)) return BT_STATUS_FAIL; in stop_voice_recognition() 454 if (cb == NULL || !is_connected(cb)) return BT_STATUS_FAIL; in volume_control() 484 if (cb == NULL || !is_connected(cb)) return BT_STATUS_FAIL; in dial() 507 if (cb == NULL || !is_connected(cb)) return BT_STATUS_FAIL; in dial_memory() 528 if (cb == NULL || !is_connected(cb)) return BT_STATUS_FAIL; in handle_call_action() 568 return BT_STATUS_FAIL; in handle_call_action() 577 return BT_STATUS_FAIL; in handle_call_action() [all …]
|
D | btif_hh.cc | 560 return BT_STATUS_FAIL; in btif_hh_virtual_unplug() 584 return BT_STATUS_FAIL; in btif_hh_connect() 603 return BT_STATUS_FAIL; in btif_hh_connect() 1267 return BT_STATUS_FAIL; in disconnect() 1275 return BT_STATUS_FAIL; in disconnect() 1294 return BT_STATUS_FAIL; in virtual_unplug() 1300 return BT_STATUS_FAIL; in virtual_unplug() 1323 return BT_STATUS_FAIL; in get_idle_time() 1327 if (p_dev == NULL) return BT_STATUS_FAIL; in get_idle_time() 1350 return BT_STATUS_FAIL; in set_idle_time() [all …]
|
D | btif_hf.cc | 790 return BT_STATUS_FAIL; in Disconnect() 795 return BT_STATUS_FAIL; in Disconnect() 806 return BT_STATUS_FAIL; in ConnectAudio() 827 return BT_STATUS_FAIL; in DisconnectAudio() 832 return BT_STATUS_FAIL; in DisconnectAudio() 843 return BT_STATUS_FAIL; in StartVoiceRecognition() 867 return BT_STATUS_FAIL; in StopVoiceRecognition() 891 return BT_STATUS_FAIL; in VolumeControl() 896 return BT_STATUS_FAIL; in VolumeControl() 912 return BT_STATUS_FAIL; in DeviceStatusNotification() [all …]
|
D | btif_storage.cc | 430 return BT_STATUS_FAIL; in btif_in_fetch_bonded_device() 634 return BT_STATUS_FAIL; in btif_storage_get_adapter_property() 724 return prop2cfg(NULL, property) ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in btif_storage_set_adapter_property() 743 : BT_STATUS_FAIL; in btif_storage_get_remote_device_property() 759 : BT_STATUS_FAIL; in btif_storage_set_remote_device_property() 827 return ret ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in btif_storage_add_bonded_device() 863 return ret ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in btif_storage_remove_bonded_device() 1071 return BT_STATUS_FAIL; in btif_storage_add_ble_bonding_key() 1076 return ret ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in btif_storage_add_ble_bonding_key() 1114 return BT_STATUS_FAIL; in btif_storage_get_ble_bonding_key() [all …]
|
D | btif_profile_queue.cc | 190 if (connect_queue.empty()) return BT_STATUS_FAIL; in btif_queue_connect_next() 192 return BT_STATUS_FAIL; in btif_queue_connect_next()
|
D | btif_sock.cc | 115 return BT_STATUS_FAIL; in btif_sock_init() 138 bt_status_t status = BT_STATUS_FAIL; in btsock_listen() 198 bt_status_t status = BT_STATUS_FAIL; in btsock_connect()
|
D | btif_sock_sco.cc | 90 if (!sco_sockets) return BT_STATUS_FAIL; in btsock_sco_init() 111 if (!sco_socket) return BT_STATUS_FAIL; in btsock_sco_listen() 128 return (sco_socket != NULL) ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in btsock_sco_connect()
|
D | btif_core.cc | 227 return BT_STATUS_FAIL; in do_in_jni_thread() 537 return BT_STATUS_FAIL; in btif_dut_mode_send() 756 bt_status_t status = BT_STATUS_FAIL; in execute_storage_remote_request() 967 status = BT_STATUS_FAIL; in btif_set_adapter_property() 979 status = BT_STATUS_FAIL; in btif_set_adapter_property()
|
D | btif_pan.cc | 213 return BT_STATUS_FAIL; in btpan_enable() 265 return BT_STATUS_FAIL; in btpan_disconnect() 588 : BT_STATUS_FAIL; in bta_pan_callback_transfer() 626 status = BT_STATUS_FAIL; in bta_pan_callback_transfer()
|
D | btif_dm.cc | 382 return BT_STATUS_FAIL; in btif_in_execute_service_request() 707 bond_state_changed(BT_STATUS_FAIL, pairing_cb.bd_addr, in btif_dm_cb_hid_remote_name() 1103 bt_status_t status = BT_STATUS_FAIL; in btif_dm_auth_cmpl_evt() 1267 status = BT_STATUS_FAIL; in btif_dm_auth_cmpl_evt() 2041 (status == 0) ? BT_STATUS_SUCCESS : BT_STATUS_FAIL, 0); in btif_dm_generic_evt() 2049 (status == 0) ? BT_STATUS_SUCCESS : BT_STATUS_FAIL, count); in btif_dm_generic_evt() 2405 bond_state_changed(BT_STATUS_FAIL, *bdaddr, BT_BOND_STATE_NONE); in btif_dm_hh_open_failed() 2448 return BT_STATUS_FAIL; in btif_dm_pin_reply() 2459 if (pin_code == NULL || pin_len > PIN_CODE_LEN) return BT_STATUS_FAIL; in btif_dm_pin_reply() 2506 return BT_STATUS_FAIL; in btif_dm_ssp_reply() [all …]
|
D | btif_sock_rfc.cc | 317 return BT_STATUS_FAIL; in btsock_rfc_listen() 359 return BT_STATUS_FAIL; in btsock_rfc_connect() 369 return BT_STATUS_FAIL; in btsock_rfc_connect() 375 return BT_STATUS_FAIL; in btsock_rfc_connect()
|
D | btif_util.cc | 337 CASE_RETURN_STR(BT_STATUS_FAIL) in dump_bt_status()
|
/system/bt/stack/btu/ |
D | btu_task.cc | 95 return BT_STATUS_FAIL; in do_in_main_thread() 106 return BT_STATUS_FAIL; in do_in_main_thread_delayed()
|
/system/bt/service/test/ |
D | gatt_client_unittest.cc | 82 .WillOnce(Return(BT_STATUS_FAIL)) in TEST_F() 150 fake_hal_gatt_iface_->NotifyRegisterClientCallback(BT_STATUS_FAIL, client_id1, in TEST_F()
|
D | gatt_server_unittest.cc | 303 .WillOnce(Return(BT_STATUS_FAIL)) in TEST_F() 372 fake_hal_gatt_iface_->NotifyRegisterServerCallback(BT_STATUS_FAIL, server_if1, in TEST_F() 461 .WillOnce(Return(BT_STATUS_FAIL)) in TEST_F() 572 .WillOnce(Return(BT_STATUS_FAIL)) in TEST_F() 649 .WillOnce(Return(BT_STATUS_FAIL)); in TEST_F() 653 .WillOnce(Return(BT_STATUS_FAIL)); in TEST_F() 665 .WillOnce(Return(BT_STATUS_FAIL)); in TEST_F() 708 BT_STATUS_FAIL); in TEST_F()
|
D | low_energy_client_unittest.cc | 171 .WillOnce(Return(BT_STATUS_FAIL)) in TEST_F() 239 fake_hal_gatt_iface_->NotifyRegisterClientCallback(BT_STATUS_FAIL, client_if1, in TEST_F()
|
D | low_energy_advertiser_unittest.cc | 268 reg_adv2_cb.Run(client_if1, BT_STATUS_FAIL); in TEST_F() 311 start_advertising_cb.Run(BT_STATUS_FAIL); in TEST_F() 378 enable_cb.Run(BT_STATUS_FAIL); in TEST_F()
|
D | adapter_unittest.cc | 261 fake_hal_iface_->NotifyAclStateChangedCallback(BT_STATUS_FAIL, hal_addr, in TEST_F()
|
/system/bt/osi/src/ |
D | wakelock.cc | 104 bt_status_t status = BT_STATUS_FAIL; in wakelock_acquire() 139 return BT_STATUS_FAIL; in wakelock_acquire_native() 150 bt_status_t status = BT_STATUS_FAIL; in wakelock_release()
|
/system/bt/service/ |
D | logging_helpers.cc | 88 CASE_RETURN_TEXT(BT_STATUS_FAIL); in BtStatusText()
|
D | low_energy_advertiser.cc | 37 if (status == BT_STATUS_FAIL) return BLE_STATUS_FAILURE; in GetBLEStatus()
|
/system/bt/include/hardware/ |
D | bluetooth.h | 83 BT_STATUS_FAIL, enumerator
|