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.cc34 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()
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.cc45 return BT_STATUS_FAIL; in FakeConnect()
51 return BT_STATUS_FAIL; in FakeDisconnect()
/system/bt/btif/src/
Dbtif_hf_client.cc360 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 …]
Dbtif_hh.cc560 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 …]
Dbtif_hf.cc790 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 …]
Dbtif_storage.cc430 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 …]
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.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_sock_sco.cc90 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()
Dbtif_core.cc227 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()
Dbtif_pan.cc213 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()
Dbtif_dm.cc382 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 …]
Dbtif_sock_rfc.cc317 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()
Dbtif_util.cc337 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()
106 return BT_STATUS_FAIL; in do_in_main_thread_delayed()
/system/bt/service/test/
Dgatt_client_unittest.cc82 .WillOnce(Return(BT_STATUS_FAIL)) in TEST_F()
150 fake_hal_gatt_iface_->NotifyRegisterClientCallback(BT_STATUS_FAIL, client_id1, in TEST_F()
Dgatt_server_unittest.cc303 .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()
Dlow_energy_client_unittest.cc171 .WillOnce(Return(BT_STATUS_FAIL)) in TEST_F()
239 fake_hal_gatt_iface_->NotifyRegisterClientCallback(BT_STATUS_FAIL, client_if1, in TEST_F()
Dlow_energy_advertiser_unittest.cc268 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()
Dadapter_unittest.cc261 fake_hal_iface_->NotifyAclStateChangedCallback(BT_STATUS_FAIL, hal_addr, 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.h83 BT_STATUS_FAIL, enumerator

12