Home
last modified time | relevance | path

Searched refs:BT_STATUS_FAIL (Results 1 – 25 of 32) 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.cc35 return BT_STATUS_FAIL; in FakeConnect()
40 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.cc562 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 …]
Dbtif_hf.cc754 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 …]
Dbtif_storage.cc433 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 …]
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.cc117 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()
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()
589 : BT_STATUS_FAIL; in bta_pan_callback_transfer()
627 status = BT_STATUS_FAIL; in bta_pan_callback_transfer()
Dbtif_dm.cc330 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 …]
Dbtif_sock_rfc.cc318 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()
Dbtif_rc.cc2123 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 …]
Dbtif_hl.cc3592 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/
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()
/system/bt/osi/src/
Dwakelock.cc105 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/
Dbtu_task.cc90 return BT_STATUS_FAIL; in do_in_main_thread()
/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.h82 BT_STATUS_FAIL, enumerator

12