Home
last modified time | relevance | path

Searched refs:BT_STATUS_SUCCESS (Results 1 – 25 of 55) sorted by relevance

123

/system/bt/test/suite/adapter/
Dadapter_unittest.cc38 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); in TEST_F()
42 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F()
52 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); in TEST_F()
56 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F()
65 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); in TEST_F()
75 BT_STATUS_SUCCESS); in TEST_F()
88 EXPECT_EQ(bt_interface()->set_adapter_property(new_name), BT_STATUS_SUCCESS); in TEST_F()
101 BT_STATUS_SUCCESS); in TEST_F()
109 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F()
117 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); in TEST_F()
[all …]
/system/bt/test/suite/gatt/
Dgatt_unittest.cc32 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) in TEST_F()
44 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) in TEST_F()
56 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) in TEST_F()
81 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) << "Error adding service."; in TEST_F()
88 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) << "Error stopping server."; in TEST_F()
96 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) << "Error deleting service."; in TEST_F()
/system/bt/btif/src/
Dbtif_storage.cc267 btif_in_fetch_bonded_device(bdstr) == BT_STATUS_SUCCESS) { in prop2cfg()
406 BT_STATUS_SUCCESS) && in btif_in_fetch_bonded_device()
412 return BT_STATUS_SUCCESS; in btif_in_fetch_bonded_device()
473 return BT_STATUS_SUCCESS; in btif_in_fetch_bonded_devices()
487 key_len) == BT_STATUS_SUCCESS) { in btif_read_le_key()
576 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property()
593 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property()
637 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property()
644 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property()
659 return prop2cfg(NULL, property) ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in btif_storage_set_adapter_property()
[all …]
Dbtif_dm.cc329 return BT_STATUS_SUCCESS; in btif_in_execute_service_request()
396 &p_search_data->inq_res.bd_addr, &prop_name) == BT_STATUS_SUCCESS) { in check_cached_remote_name()
415 (RawAddress*)remote_bdaddr, &prop_name) == BT_STATUS_SUCCESS) { in get_cod()
439 (RawAddress*)remote_bdaddr, &prop_name) == BT_STATUS_SUCCESS) { in check_hid_le()
476 BT_STATUS_SUCCESS) { in check_sdp_bl()
543 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote version", in btif_update_remote_version_property()
565 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote device name", in btif_update_remote_properties()
591 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote device class", in btif_update_remote_properties()
601 BT_STATUS_SUCCESS) in btif_update_remote_properties()
611 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote device type", in btif_update_remote_properties()
[all …]
Dbtif_hf_client.cc288 return BT_STATUS_SUCCESS; in init()
319 return BT_STATUS_SUCCESS; in connect_int()
343 return BT_STATUS_SUCCESS; in disconnect()
376 return BT_STATUS_SUCCESS; in connect_audio()
395 return BT_STATUS_SUCCESS; in disconnect_audio()
415 return BT_STATUS_SUCCESS; in start_voice_recognition()
437 return BT_STATUS_SUCCESS; in stop_voice_recognition()
469 return BT_STATUS_SUCCESS; in volume_control()
493 return BT_STATUS_SUCCESS; in dial()
512 return BT_STATUS_SUCCESS; in dial_memory()
[all …]
Dbtif_sdp.cc126 return BT_STATUS_SUCCESS; in init()
136 return BT_STATUS_SUCCESS; in deinit()
141 return BT_STATUS_SUCCESS; in search()
170 return BT_STATUS_SUCCESS; in btif_sdp_execute_service()
Dbtif_core.cc219 return BT_STATUS_SUCCESS; in btif_transfer_context()
241 if (task_runner->PostTask(from_here, task)) return BT_STATUS_SUCCESS; in do_in_jni_thread()
386 return BT_STATUS_SUCCESS; in btif_init_bluetooth()
429 HAL_CBACK(bt_hal_cbacks, adapter_properties_cb, BT_STATUS_SUCCESS, 1, in btif_enable_bluetooth_evt()
493 return BT_STATUS_SUCCESS; in btif_disable_bluetooth()
552 return BT_STATUS_SUCCESS; in btif_cleanup_bluetooth()
593 return BT_STATUS_SUCCESS; in btif_dut_mode_configure()
613 return BT_STATUS_SUCCESS; in btif_dut_mode_send()
640 if (status == BT_STATUS_SUCCESS) { in btif_in_get_adapter_properties()
677 HAL_CBACK(bt_hal_cbacks, adapter_properties_cb, BT_STATUS_SUCCESS, num_props, in btif_in_get_adapter_properties()
[all …]
Dbluetooth.cc153 return BT_STATUS_SUCCESS; in init()
164 return BT_STATUS_SUCCESS; in enable()
171 return BT_STATUS_SUCCESS; in disable()
275 return BT_STATUS_SUCCESS; in remove_bond()
309 return BT_STATUS_SUCCESS; in read_energy_info()
420 return BT_STATUS_SUCCESS; in set_os_callouts()
425 return btif_config_clear() ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in config_clear()
Dbtif_hd.cc341 ASSERTC(status == BT_STATUS_SUCCESS, "context transfer failed", status); in bte_hd_evt()
361 return BT_STATUS_SUCCESS; in init()
440 return BT_STATUS_SUCCESS; in register_app()
474 return BT_STATUS_SUCCESS; in unregister_app()
502 return BT_STATUS_SUCCESS; in connect()
530 return BT_STATUS_SUCCESS; in disconnect()
573 return BT_STATUS_SUCCESS; in send_report()
601 return BT_STATUS_SUCCESS; in report_error()
629 return BT_STATUS_SUCCESS; in virtual_cable_unplug()
659 return BT_STATUS_SUCCESS; in btif_hd_execute_service()
Dbtif_mce.cc123 return BT_STATUS_SUCCESS; in init()
131 return BT_STATUS_SUCCESS; in get_remote_mas_instances()
160 return BT_STATUS_SUCCESS; in btif_mce_execute_service()
Dbtif_hf.cc599 ASSERTC(status == BT_STATUS_SUCCESS, "context transfer failed", status); in bte_hf_evt()
644 return BT_STATUS_SUCCESS; in connect_int()
750 return BT_STATUS_SUCCESS; in Init()
771 return BT_STATUS_SUCCESS; in Disconnect()
794 return BT_STATUS_SUCCESS; in ConnectAudio()
810 return BT_STATUS_SUCCESS; in DisconnectAudio()
833 return BT_STATUS_SUCCESS; in StartVoiceRecognition()
857 return BT_STATUS_SUCCESS; in StopVoiceRecognition()
878 return BT_STATUS_SUCCESS; in VolumeControl()
907 return BT_STATUS_SUCCESS; in DeviceStatusNotification()
[all …]
Dbtif_sock.cc79 if (status != BT_STATUS_SUCCESS) { in btif_sock_init()
86 if (status != BT_STATUS_SUCCESS) { in btif_sock_init()
100 if (status != BT_STATUS_SUCCESS) { in btif_sock_init()
107 return BT_STATUS_SUCCESS; in btif_sock_init()
Dbtif_hh.cc545 return BT_STATUS_SUCCESS; in btif_hh_virtual_unplug()
615 return BT_STATUS_SUCCESS; in btif_hh_connect()
954 &p_dev->bd_addr, &prop_name) == BT_STATUS_SUCCESS) { in btif_hh_upstreams_evt()
982 ASSERTC(ret == BT_STATUS_SUCCESS, "storing hid info failed", ret); in btif_hh_upstreams_evt()
1116 ASSERTC(status == BT_STATUS_SUCCESS, "context transfer failed", status); in bte_hh_evt()
1136 if (ret == BT_STATUS_SUCCESS) { in btif_hh_handle_evt()
1209 return BT_STATUS_SUCCESS; in init()
1225 return BT_STATUS_SUCCESS; in connect()
1284 return BT_STATUS_SUCCESS; in virtual_unplug()
1310 return BT_STATUS_SUCCESS; in get_idle_time()
[all …]
/system/bt/service/test/
Dgatt_server_unittest.cc228 .WillOnce(Return(BT_STATUS_SUCCESS)); in SetUp()
232 fake_hal_gatt_iface_->NotifyRegisterServerCallback(BT_STATUS_SUCCESS, in SetUp()
239 .WillOnce(Return(BT_STATUS_SUCCESS)); in TearDown()
247 .WillOnce(Return(BT_STATUS_SUCCESS)); in SetUpTestService()
282 BT_STATUS_SUCCESS, kDefaultServerId, service_with_handles); in SetUpTestService()
304 .WillOnce(Return(BT_STATUS_SUCCESS)); in TEST_F()
342 .WillOnce(Return(BT_STATUS_SUCCESS)); in TEST_F()
352 fake_hal_gatt_iface_->NotifyRegisterServerCallback(BT_STATUS_SUCCESS, in TEST_F()
365 .WillOnce(Return(BT_STATUS_SUCCESS)); in TEST_F()
459 SendResponse(kConnId0, kReqId0, BT_STATUS_SUCCESS, _)) in TEST_F()
[all …]
Dlow_energy_client_unittest.cc129 .WillOnce(Return(BT_STATUS_SUCCESS)); in TearDown()
150 .WillOnce(Return(BT_STATUS_SUCCESS)); in RegisterTestClient()
172 .WillOnce(Return(BT_STATUS_SUCCESS)); in TEST_F()
210 .WillOnce(Return(BT_STATUS_SUCCESS)); in TEST_F()
220 fake_hal_gatt_iface_->NotifyRegisterClientCallback(BT_STATUS_SUCCESS, in TEST_F()
233 .WillOnce(Return(BT_STATUS_SUCCESS)); in TEST_F()
273 connId, BT_STATUS_SUCCESS, client_id, bd_addr); in TEST_F()
275 Return(BT_STATUS_SUCCESS))); in TEST_F()
288 connId, BT_STATUS_SUCCESS, client_id, bd_addr); in TEST_F()
290 Return(BT_STATUS_SUCCESS))); in TEST_F()
Dgatt_client_unittest.cc83 .WillOnce(Return(BT_STATUS_SUCCESS)); in TEST_F()
121 .WillOnce(Return(BT_STATUS_SUCCESS)); in TEST_F()
131 fake_hal_gatt_iface_->NotifyRegisterClientCallback(BT_STATUS_SUCCESS, in TEST_F()
144 .WillOnce(Return(BT_STATUS_SUCCESS)); in TEST_F()
/system/bt/service/hal/
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()
34 int FakeHALGetAdapterProperties() { return BT_STATUS_SUCCESS; } in FakeHALGetAdapterProperties()
38 return (g_hal_manager.set_property_succeed ? BT_STATUS_SUCCESS in FakeHALSetAdapterProperty()
100 observer.AdapterPropertiesCallback(BT_STATUS_SUCCESS, num_properties, in NotifyAdapterPropertiesChanged()
/system/bt/osi/test/
DAlarmTestHarness.cc30 return BT_STATUS_SUCCESS; in acquire_wake_lock_cb()
35 return BT_STATUS_SUCCESS; in release_wake_lock_cb()
/system/bt/tools/bdtool/
Dbdtool.c163 if (error != BT_STATUS_SUCCESS) { in main()
184 if (error != BT_STATUS_SUCCESS) { in main()
191 if (error != BT_STATUS_SUCCESS) { in main()
218 if (error != BT_STATUS_SUCCESS) { in main()
226 if (error != BT_STATUS_SUCCESS) { in main()
252 if (error != BT_STATUS_SUCCESS) { in main()
264 if (error != BT_STATUS_SUCCESS) { in main()
/system/bt/osi/src/
Dwakelock.cc114 if (status != BT_STATUS_SUCCESS) in wakelock_acquire()
117 return (status == BT_STATUS_SUCCESS); in wakelock_acquire()
147 return BT_STATUS_SUCCESS; in wakelock_acquire_native()
162 return (status == BT_STATUS_SUCCESS); in wakelock_release()
184 return BT_STATUS_SUCCESS; in wakelock_release_native()
270 if (acquired_status != BT_STATUS_SUCCESS) { in update_wakelock_acquired_stats()
300 if (released_status != BT_STATUS_SUCCESS) { in update_wakelock_released_stats()
/system/bt/service/
Dlow_energy_client.cc62 if (status != BT_STATUS_SUCCESS) { in Connect()
89 if (status != BT_STATUS_SUCCESS) { in Disconnect()
116 if (status != BT_STATUS_SUCCESS) { in SetMtu()
221 if (hal_iface->register_client(uuid) != BT_STATUS_SUCCESS) return false; in RegisterInstance()
245 if (status == BT_STATUS_SUCCESS) { in RegisterClientCallback()
Dgatt_client.cc70 if (hal_iface->register_client(uuid) != BT_STATUS_SUCCESS) return false; in RegisterInstance()
88 bool success = (status == BT_STATUS_SUCCESS); in RegisterClientCallback()
Dadapter.cc122 if (status != BT_STATUS_SUCCESS) { in Enable()
147 if (status != BT_STATUS_SUCCESS) { in Disable()
258 if (status != BT_STATUS_SUCCESS) { in AdapterPropertiesCallback()
318 if (status != BT_STATUS_SUCCESS) { in AclStateChangedCallback()
351 if (status != BT_STATUS_SUCCESS) { in SetAdapterProperty()
Dlow_energy_scanner.cc108 if (status != BT_STATUS_SUCCESS) { in StartScan()
125 if (status != BT_STATUS_SUCCESS) { in StopScan()
212 if (status == BT_STATUS_SUCCESS) { in RegisterScannerCallback()
/system/bt/test/suite/rfcomm/
Drfcomm_test.cc31 ASSERT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); in SetUp()
73 ASSERT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TearDown()

123