Home
last modified time | relevance | path

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

123

/system/bt/test/suite/adapter/
Dadapter_unittest.cc38 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
42 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F()
52 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
56 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F()
65 EXPECT_EQ(bt_interface()->enable(), 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(), 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.cc278 btif_in_fetch_bonded_device(bdstr) == BT_STATUS_SUCCESS) { in prop2cfg()
429 BT_STATUS_SUCCESS) && in btif_in_fetch_bonded_device()
435 return BT_STATUS_SUCCESS; in btif_in_fetch_bonded_device()
495 return BT_STATUS_SUCCESS; in btif_in_fetch_bonded_devices()
509 key_len) == BT_STATUS_SUCCESS) { in btif_read_le_key()
583 return (ret == BT_STATUS_SUCCESS) ? (uint8_t)(*(int*)property.val) in btif_storage_get_io_cap_property()
649 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property()
666 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property()
711 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property()
718 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property()
[all …]
Dbtif_dm.cc332 return BT_STATUS_SUCCESS; in btif_in_execute_service_request()
399 &p_search_data->inq_res.bd_addr, &prop_name) == BT_STATUS_SUCCESS) { in check_cached_remote_name()
418 (RawAddress*)remote_bdaddr, &prop_name) == BT_STATUS_SUCCESS) { in get_cod()
442 (RawAddress*)remote_bdaddr, &prop_name) == BT_STATUS_SUCCESS) { in check_hid_le()
479 BT_STATUS_SUCCESS) { in check_sdp_bl()
551 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote version", in btif_update_remote_version_property()
573 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote device name", in btif_update_remote_properties()
599 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote device class", in btif_update_remote_properties()
609 BT_STATUS_SUCCESS) in btif_update_remote_properties()
619 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.cc216 return BT_STATUS_SUCCESS; in btif_transfer_context()
229 return BT_STATUS_SUCCESS; in do_in_jni_thread()
331 return BT_STATUS_SUCCESS; in btif_init_bluetooth()
367 HAL_CBACK(bt_hal_cbacks, adapter_properties_cb, BT_STATUS_SUCCESS, 1, in btif_enable_bluetooth_evt()
431 return BT_STATUS_SUCCESS; in btif_disable_bluetooth()
479 return BT_STATUS_SUCCESS; in btif_cleanup_bluetooth()
520 return BT_STATUS_SUCCESS; in btif_dut_mode_configure()
540 return BT_STATUS_SUCCESS; in btif_dut_mode_send()
570 if (status == BT_STATUS_SUCCESS) { in btif_in_get_adapter_properties()
619 HAL_CBACK(bt_hal_cbacks, adapter_properties_cb, BT_STATUS_SUCCESS, num_props, in btif_in_get_adapter_properties()
[all …]
Dbtif_sock.cc81 if (status != BT_STATUS_SUCCESS) { in btif_sock_init()
88 if (status != BT_STATUS_SUCCESS) { in btif_sock_init()
102 if (status != BT_STATUS_SUCCESS) { in btif_sock_init()
109 return BT_STATUS_SUCCESS; in btif_sock_init()
184 if (status != BT_STATUS_SUCCESS) { in btsock_listen()
235 if (status != BT_STATUS_SUCCESS) { in btsock_connect()
Dbluetooth.cc152 return BT_STATUS_SUCCESS; in init()
159 return BT_STATUS_SUCCESS; in enable()
166 return BT_STATUS_SUCCESS; in disable()
271 return BT_STATUS_SUCCESS; in remove_bond()
305 return BT_STATUS_SUCCESS; in read_energy_info()
434 return BT_STATUS_SUCCESS; in set_os_callouts()
439 return btif_config_clear() ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in config_clear()
Dbtif_hd.cc339 ASSERTC(status == BT_STATUS_SUCCESS, "context transfer failed", status); in bte_hd_evt()
359 return BT_STATUS_SUCCESS; in init()
438 return BT_STATUS_SUCCESS; in register_app()
472 return BT_STATUS_SUCCESS; in unregister_app()
500 return BT_STATUS_SUCCESS; in connect()
528 return BT_STATUS_SUCCESS; in disconnect()
571 return BT_STATUS_SUCCESS; in send_report()
599 return BT_STATUS_SUCCESS; in report_error()
627 return BT_STATUS_SUCCESS; in virtual_cable_unplug()
657 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.cc590 ASSERTC(status == BT_STATUS_SUCCESS, "context transfer failed", status); in bte_hf_evt()
635 return BT_STATUS_SUCCESS; in connect_int()
741 return BT_STATUS_SUCCESS; in Init()
762 return BT_STATUS_SUCCESS; in Disconnect()
783 return BT_STATUS_SUCCESS; in ConnectAudio()
799 return BT_STATUS_SUCCESS; in DisconnectAudio()
822 return BT_STATUS_SUCCESS; in StartVoiceRecognition()
846 return BT_STATUS_SUCCESS; in StopVoiceRecognition()
867 return BT_STATUS_SUCCESS; in VolumeControl()
896 return BT_STATUS_SUCCESS; in DeviceStatusNotification()
[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()
101 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()
274 if (acquired_status != BT_STATUS_SUCCESS) { in update_wakelock_acquired_stats()
304 if (released_status != BT_STATUS_SUCCESS) { in update_wakelock_released_stats()
/system/bt/service/
Dadapter.cc247 if (status != BT_STATUS_SUCCESS) { in Enable()
272 if (status != BT_STATUS_SUCCESS) { in Disable()
337 if (status != BT_STATUS_SUCCESS) { in SetScanEnable()
344 if (status != BT_STATUS_SUCCESS) { in SetScanEnable()
362 if (status != BT_STATUS_SUCCESS) { in SspReply()
380 if (status != BT_STATUS_SUCCESS) { in CreateBond()
419 if (status != BT_STATUS_SUCCESS) { in GetBondedDevices()
437 if (status != BT_STATUS_SUCCESS) { in RemoveBond()
456 if (status != BT_STATUS_SUCCESS) { in GetRemoteDeviceProperties()
527 if (status != BT_STATUS_SUCCESS) { in AdapterPropertiesCallback()
[all …]
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()
Davrcp_target.cc135 song_len, song_pos) == BT_STATUS_SUCCESS); in GetPlayStatusResponse()
153 BT_STATUS_SUCCESS); in ListPlayerAppAttrResponse()
175 BT_STATUS_SUCCESS); in GetPlayerAppValueResponse()
187 BT_STATUS_SUCCESS); in GetPlayerAppAttrTextResponse()
199 BT_STATUS_SUCCESS); in GetPlayerAppValueTextResponse()
211 BT_STATUS_SUCCESS); in GetElementAttrResponse()
222 BT_STATUS_SUCCESS); in SetPlayerAppValueResponse()
235 &param_copy) == BT_STATUS_SUCCESS); in RegisterNotificationResponse()
242 volume) == BT_STATUS_SUCCESS); in SetVolume()
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()
/system/bt/test/suite/rfcomm/
Drfcomm_test.cc31 ASSERT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in SetUp()
73 ASSERT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TearDown()
/system/bt/stack/btu/
Dbtu_task.cc92 return BT_STATUS_SUCCESS; in do_in_main_thread()
123 BT_STATUS_SUCCESS) { in btu_task_start_up()

123