Home
last modified time | relevance | path

Searched refs:BT_STATUS_FAIL (Results 1 – 25 of 31) sorted by relevance

12

/system/bt/service/hal/
Dfake_bluetooth_gatt_interface.cc36 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()
Dfake_bluetooth_interface.cc27 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()
Dfake_bluetooth_av_interface.cc46 return BT_STATUS_FAIL; in FakeConnect()
52 return BT_STATUS_FAIL; in FakeDisconnect()
/system/bt/btif/src/
Dbtif_hf_client.cc356 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 …]
Dbtif_hh.cc536 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 …]
Dbtif_hf.cc793 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 …]
Dbtif_storage.cc427 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 …]
Dbtif_sock.cc115 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()
Dbtif_profile_queue.cc190 if (connect_queue.empty()) return BT_STATUS_FAIL; in btif_queue_connect_next()
192 return BT_STATUS_FAIL; in btif_queue_connect_next()
Dbtif_sock_sco.cc85 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()
Dbluetooth.cc242 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()
Dbtif_pan.cc195 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()
Dbtif_dm.cc295 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 …]
Dbtif_sock_rfc.cc300 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()
Dbtif_sdp_server.cc279 if (handle < 0) return BT_STATUS_FAIL; in create_sdp_record()
303 return BT_STATUS_FAIL; in remove_sdp_record()
Dbtif_util.cc327 CASE_RETURN_STR(BT_STATUS_FAIL) in dump_bt_status()
/system/bt/stack/btu/
Dbtu_task.cc95 return BT_STATUS_FAIL; in do_in_main_thread()
105 return BT_STATUS_FAIL; in do_in_main_thread_delayed()
/system/bt/service/test/
Dgatt_client_unittest.cc83 .WillOnce(Return(BT_STATUS_FAIL)) in TEST_F()
151 fake_hal_gatt_iface_->NotifyRegisterClientCallback(BT_STATUS_FAIL, client_id1, in TEST_F()
Dgatt_server_unittest.cc304 .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()
Dlow_energy_client_unittest.cc173 .WillOnce(Return(BT_STATUS_FAIL)) in TEST_F()
241 fake_hal_gatt_iface_->NotifyRegisterClientCallback(BT_STATUS_FAIL, client_if1, in TEST_F()
Dlow_energy_advertiser_unittest.cc270 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/
Dwakelock.cc104 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/
Dlogging_helpers.cc88 CASE_RETURN_TEXT(BT_STATUS_FAIL); in BtStatusText()
Dlow_energy_advertiser.cc37 if (status == BT_STATUS_FAIL) return BLE_STATUS_FAILURE; in GetBLEStatus()
/system/bt/include/hardware/
Dbluetooth.h87 BT_STATUS_FAIL, enumerator
107 case BT_STATUS_FAIL: in bt_status_text()

12