/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 | 35 return BT_STATUS_FAIL; in FakeConnect() 40 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 | 562 return BT_STATUS_FAIL; in btif_hh_virtual_unplug() 586 return BT_STATUS_FAIL; in btif_hh_connect() 605 return BT_STATUS_FAIL; in btif_hh_connect() 1270 return BT_STATUS_FAIL; in disconnect() 1278 return BT_STATUS_FAIL; in disconnect() 1297 return BT_STATUS_FAIL; in virtual_unplug() 1303 return BT_STATUS_FAIL; in virtual_unplug() 1326 return BT_STATUS_FAIL; in get_idle_time() 1330 if (p_dev == NULL) return BT_STATUS_FAIL; in get_idle_time() 1353 return BT_STATUS_FAIL; in set_idle_time() [all …]
|
D | btif_hf.cc | 754 return BT_STATUS_FAIL; in Disconnect() 759 return BT_STATUS_FAIL; in Disconnect() 770 return BT_STATUS_FAIL; in ConnectAudio() 791 return BT_STATUS_FAIL; in DisconnectAudio() 796 return BT_STATUS_FAIL; in DisconnectAudio() 807 return BT_STATUS_FAIL; in StartVoiceRecognition() 831 return BT_STATUS_FAIL; in StopVoiceRecognition() 855 return BT_STATUS_FAIL; in VolumeControl() 860 return BT_STATUS_FAIL; in VolumeControl() 876 return BT_STATUS_FAIL; in DeviceStatusNotification() [all …]
|
D | btif_storage.cc | 433 return BT_STATUS_FAIL; in btif_in_fetch_bonded_device() 643 return BT_STATUS_FAIL; in btif_storage_get_adapter_property() 733 return prop2cfg(NULL, property) ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in btif_storage_set_adapter_property() 752 : BT_STATUS_FAIL; in btif_storage_get_remote_device_property() 768 : BT_STATUS_FAIL; in btif_storage_set_remote_device_property() 836 return ret ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in btif_storage_add_bonded_device() 868 return ret ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in btif_storage_remove_bonded_device() 1081 return BT_STATUS_FAIL; in btif_storage_add_ble_bonding_key() 1086 return ret ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in btif_storage_add_ble_bonding_key() 1123 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 | 117 return BT_STATUS_FAIL; in btif_sock_init() 140 bt_status_t status = BT_STATUS_FAIL; in btsock_listen() 201 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() 589 : BT_STATUS_FAIL; in bta_pan_callback_transfer() 627 status = BT_STATUS_FAIL; in bta_pan_callback_transfer()
|
D | btif_dm.cc | 330 return BT_STATUS_FAIL; in btif_in_execute_service_request() 646 bond_state_changed(BT_STATUS_FAIL, pairing_cb.bd_addr, in btif_dm_cb_hid_remote_name() 1042 bt_status_t status = BT_STATUS_FAIL; in btif_dm_auth_cmpl_evt() 1204 status = BT_STATUS_FAIL; in btif_dm_auth_cmpl_evt() 1974 (status == 0) ? BT_STATUS_SUCCESS : BT_STATUS_FAIL, 0); in btif_dm_generic_evt() 1982 (status == 0) ? BT_STATUS_SUCCESS : BT_STATUS_FAIL, count); in btif_dm_generic_evt() 2338 bond_state_changed(BT_STATUS_FAIL, *bdaddr, BT_BOND_STATE_NONE); in btif_dm_hh_open_failed() 2377 if (pin_code == NULL || pin_len > PIN_CODE_LEN) return BT_STATUS_FAIL; in btif_dm_pin_reply() 2413 return BT_STATUS_FAIL; in btif_dm_ssp_reply() 2488 return BT_STATUS_FAIL; in btif_dm_get_adapter_property() [all …]
|
D | btif_sock_rfc.cc | 318 return BT_STATUS_FAIL; in btsock_rfc_listen() 360 return BT_STATUS_FAIL; in btsock_rfc_connect() 371 return BT_STATUS_FAIL; in btsock_rfc_connect() 377 return BT_STATUS_FAIL; in btsock_rfc_connect()
|
D | btif_rc.cc | 2123 return status == AVRC_STS_NO_ERROR ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in get_folder_items_list_rsp() 2279 return status == AVRC_STS_NO_ERROR ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in set_browsed_player_rsp() 2548 status = BT_STATUS_FAIL; in set_volume() 2560 status = BT_STATUS_FAIL; in set_volume() 2998 if (BT_STATUS_SUCCESS != tran_status) return BT_STATUS_FAIL; in build_and_send_vendor_cmd() 4613 return BT_STATUS_FAIL; in change_folder_path_cmd() 4622 return BT_STATUS_FAIL; in change_folder_path_cmd() 4662 return BT_STATUS_FAIL; in set_browsed_player_cmd() 4670 return BT_STATUS_FAIL; in set_browsed_player_cmd() 4710 return BT_STATUS_FAIL; in set_addressed_player_cmd() [all …]
|
D | btif_hl.cc | 3592 status = BT_STATUS_FAIL; in connect_channel() 3606 status = BT_STATUS_FAIL; in connect_channel() 3621 status = BT_STATUS_FAIL; in connect_channel() 3625 status = BT_STATUS_FAIL; in connect_channel() 3677 status = BT_STATUS_FAIL; in destroy_channel() 3695 status = BT_STATUS_FAIL; in destroy_channel() 3699 if (status == BT_STATUS_FAIL) { in destroy_channel() 3707 status = BT_STATUS_FAIL; in destroy_channel() 3739 status = BT_STATUS_FAIL; in unregister_application() 3778 return BT_STATUS_FAIL; in register_application() [all …]
|
/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()
|
/system/bt/osi/src/ |
D | wakelock.cc | 105 bt_status_t status = BT_STATUS_FAIL; in wakelock_acquire() 141 return BT_STATUS_FAIL; in wakelock_acquire_native() 153 bt_status_t status = BT_STATUS_FAIL; in wakelock_release()
|
/system/bt/stack/btu/ |
D | btu_task.cc | 90 return BT_STATUS_FAIL; in do_in_main_thread()
|
/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 | 82 BT_STATUS_FAIL, enumerator
|