/system/bt/service/hal/ |
D | fake_bluetooth_gatt_interface.cc | 36 return BT_STATUS_FAIL; in FakeRegisterClient() 42 return BT_STATUS_FAIL; in FakeUnregisterClient() 51 return BT_STATUS_FAIL; in FakeConnect() 59 return BT_STATUS_FAIL; in FakeDisconnect() 67 return BT_STATUS_FAIL; in FakeRegisterServer() 73 return BT_STATUS_FAIL; in FakeUnregisterServer() 81 return BT_STATUS_FAIL; in FakeAddService() 88 return BT_STATUS_FAIL; in FakeDeleteService() 97 return BT_STATUS_FAIL; in FakeSendIndication() 105 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 | 46 return BT_STATUS_FAIL; in FakeConnect() 52 return BT_STATUS_FAIL; in FakeDisconnect()
|
/system/bt/btif/src/ |
D | btif_hf_client.cc | 356 if (cb == NULL || !is_connected(cb)) return BT_STATUS_FAIL; in connect_audio() 386 if (cb == NULL || !is_connected(cb)) return BT_STATUS_FAIL; in disconnect_audio() 405 if (cb == NULL || !is_connected(cb)) return BT_STATUS_FAIL; in start_voice_recognition() 427 if (cb == NULL || !is_connected(cb)) return BT_STATUS_FAIL; in stop_voice_recognition() 450 if (cb == NULL || !is_connected(cb)) return BT_STATUS_FAIL; in volume_control() 480 if (cb == NULL || !is_connected(cb)) return BT_STATUS_FAIL; in dial() 503 if (cb == NULL || !is_connected(cb)) return BT_STATUS_FAIL; in dial_memory() 524 if (cb == NULL || !is_connected(cb)) return BT_STATUS_FAIL; in handle_call_action() 564 return BT_STATUS_FAIL; in handle_call_action() 573 return BT_STATUS_FAIL; in handle_call_action() [all …]
|
D | btif_hh.cc | 536 return BT_STATUS_FAIL; in btif_hh_virtual_unplug() 560 return BT_STATUS_FAIL; in btif_hh_connect() 579 return BT_STATUS_FAIL; in btif_hh_connect() 1256 return BT_STATUS_FAIL; in connect() 1276 return BT_STATUS_FAIL; in disconnect() 1284 return BT_STATUS_FAIL; in disconnect() 1303 return BT_STATUS_FAIL; in virtual_unplug() 1309 return BT_STATUS_FAIL; in virtual_unplug() 1332 return BT_STATUS_FAIL; in get_idle_time() 1336 if (p_dev == NULL) return BT_STATUS_FAIL; in get_idle_time() [all …]
|
D | btif_hf.cc | 793 return BT_STATUS_FAIL; in Disconnect() 798 return BT_STATUS_FAIL; in Disconnect() 809 return BT_STATUS_FAIL; in ConnectAudio() 830 return BT_STATUS_FAIL; in DisconnectAudio() 835 return BT_STATUS_FAIL; in DisconnectAudio() 846 return BT_STATUS_FAIL; in isNoiseReductionSupported() 859 return BT_STATUS_FAIL; in isVoiceRecognitionSupported() 872 return BT_STATUS_FAIL; in StartVoiceRecognition() 896 return BT_STATUS_FAIL; in StopVoiceRecognition() 920 return BT_STATUS_FAIL; in VolumeControl() [all …]
|
D | btif_storage.cc | 427 return BT_STATUS_FAIL; in btif_in_fetch_bonded_device() 630 return BT_STATUS_FAIL; in btif_storage_get_adapter_property() 720 return prop2cfg(NULL, property) ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in btif_storage_set_adapter_property() 739 : BT_STATUS_FAIL; in btif_storage_get_remote_device_property() 755 : BT_STATUS_FAIL; in btif_storage_set_remote_device_property() 823 return ret ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in btif_storage_add_bonded_device() 865 return ret ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in btif_storage_remove_bonded_device() 1074 return BT_STATUS_FAIL; in btif_storage_add_ble_bonding_key() 1079 return ret ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in btif_storage_add_ble_bonding_key() 1117 return BT_STATUS_FAIL; in btif_storage_get_ble_bonding_key() [all …]
|
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_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_sco.cc | 85 if (!sco_sockets) return BT_STATUS_FAIL; in btsock_sco_init() 106 if (!sco_socket) return BT_STATUS_FAIL; in btsock_sco_listen() 123 return (sco_socket != NULL) ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in btsock_sco_connect()
|
D | bluetooth.cc | 242 return BT_STATUS_FAIL; in set_adapter_property() 363 if (pin_code == nullptr || pin_len > PIN_CODE_LEN) return BT_STATUS_FAIL; in pin_reply() 373 if (variant == BT_SSP_VARIANT_PASSKEY_ENTRY) return BT_STATUS_FAIL; in ssp_reply() 489 if (!btif_is_dut_mode()) return BT_STATUS_FAIL; in dut_mode_send() 558 return btif_config_clear() ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in config_clear()
|
D | btif_pan.cc | 195 return BT_STATUS_FAIL; in btpan_enable() 247 return BT_STATUS_FAIL; in btpan_disconnect() 570 : BT_STATUS_FAIL; in bta_pan_callback_transfer() 608 status = BT_STATUS_FAIL; in bta_pan_callback_transfer()
|
D | btif_dm.cc | 295 return BT_STATUS_FAIL; in btif_in_execute_service_request() 907 bt_status_t status = BT_STATUS_FAIL; in btif_dm_auth_cmpl_evt() 1086 status = BT_STATUS_FAIL; in btif_dm_auth_cmpl_evt() 1964 bond_state_changed(BT_STATUS_FAIL, bd_addr, BT_BOND_STATE_NONE); in btif_dm_create_bond_out_of_band() 1969 bond_state_changed(BT_STATUS_FAIL, bd_addr, BT_BOND_STATE_NONE); in btif_dm_create_bond_out_of_band() 2004 bond_state_changed(BT_STATUS_FAIL, bd_addr, BT_BOND_STATE_NONE); in btif_dm_create_bond_out_of_band() 2061 bond_state_changed(BT_STATUS_FAIL, *bdaddr, BT_BOND_STATE_NONE); in btif_dm_hh_open_failed() 2201 return BT_STATUS_FAIL; in btif_dm_get_adapter_property() 2640 bt_status_t status = BT_STATUS_FAIL; in btif_dm_ble_auth_cmpl_evt() 2701 status = BT_STATUS_FAIL; in btif_dm_ble_auth_cmpl_evt() [all …]
|
D | btif_sock_rfc.cc | 300 return BT_STATUS_FAIL; in btsock_rfc_listen() 342 return BT_STATUS_FAIL; in btsock_rfc_connect() 352 return BT_STATUS_FAIL; in btsock_rfc_connect() 358 return BT_STATUS_FAIL; in btsock_rfc_connect()
|
D | btif_sdp_server.cc | 279 if (handle < 0) return BT_STATUS_FAIL; in create_sdp_record() 303 return BT_STATUS_FAIL; in remove_sdp_record()
|
D | btif_util.cc | 327 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() 105 return BT_STATUS_FAIL; in do_in_main_thread_delayed()
|
/system/bt/service/test/ |
D | gatt_client_unittest.cc | 83 .WillOnce(Return(BT_STATUS_FAIL)) in TEST_F() 151 fake_hal_gatt_iface_->NotifyRegisterClientCallback(BT_STATUS_FAIL, client_id1, in TEST_F()
|
D | gatt_server_unittest.cc | 304 .WillOnce(Return(BT_STATUS_FAIL)) in TEST_F() 373 fake_hal_gatt_iface_->NotifyRegisterServerCallback(BT_STATUS_FAIL, server_if1, in TEST_F() 462 .WillOnce(Return(BT_STATUS_FAIL)) in TEST_F() 573 .WillOnce(Return(BT_STATUS_FAIL)) in TEST_F() 650 .WillOnce(Return(BT_STATUS_FAIL)); in TEST_F() 654 .WillOnce(Return(BT_STATUS_FAIL)); in TEST_F() 666 .WillOnce(Return(BT_STATUS_FAIL)); in TEST_F() 709 BT_STATUS_FAIL); in TEST_F()
|
D | low_energy_client_unittest.cc | 173 .WillOnce(Return(BT_STATUS_FAIL)) in TEST_F() 241 fake_hal_gatt_iface_->NotifyRegisterClientCallback(BT_STATUS_FAIL, client_if1, in TEST_F()
|
D | low_energy_advertiser_unittest.cc | 270 reg_adv2_cb.Run(client_if1, BT_STATUS_FAIL); in TEST_F() 313 start_advertising_cb.Run(BT_STATUS_FAIL); in TEST_F() 380 enable_cb.Run(BT_STATUS_FAIL); 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 | 87 BT_STATUS_FAIL, enumerator 107 case BT_STATUS_FAIL: in bt_status_text()
|