Home
last modified time | relevance | path

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

1234

/system/bt/test/suite/adapter/
Dadapter_unittest.cc39 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
43 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F()
53 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
57 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F()
66 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
76 BT_STATUS_SUCCESS); in TEST_F()
89 EXPECT_EQ(bt_interface()->set_adapter_property(new_name), BT_STATUS_SUCCESS); in TEST_F()
102 BT_STATUS_SUCCESS); in TEST_F()
110 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F()
118 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
[all …]
/system/bt/test/mock/
Dmock_btif_storage.cc66 return BT_STATUS_SUCCESS; in btif_storage_add_ble_bonding_key()
71 return BT_STATUS_SUCCESS; in btif_storage_add_ble_local_key()
77 return BT_STATUS_SUCCESS; in btif_storage_add_bonded_device()
85 return BT_STATUS_SUCCESS; in btif_storage_add_hid_device_info()
91 return BT_STATUS_SUCCESS; in btif_storage_add_remote_device()
95 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property()
102 return BT_STATUS_SUCCESS; in btif_storage_get_ble_bonding_key()
107 return BT_STATUS_SUCCESS; in btif_storage_get_ble_local_key()
112 return BT_STATUS_SUCCESS; in btif_storage_get_remote_addr_type()
117 return BT_STATUS_SUCCESS; in btif_storage_get_remote_device_property()
[all …]
Dmock_btif_core.cc71 return BT_STATUS_SUCCESS; in btif_cleanup_bluetooth()
75 return BT_STATUS_SUCCESS; in btif_init_bluetooth()
79 return BT_STATUS_SUCCESS; in btif_set_dynamic_audio_buffer_size()
85 return BT_STATUS_SUCCESS; in btif_transfer_context()
89 return BT_STATUS_SUCCESS; in do_in_jni_thread()
94 return BT_STATUS_SUCCESS; in do_in_jni_thread()
Dmock_stack_btu_task.cc57 return BT_STATUS_SUCCESS; in do_in_main_thread()
63 return BT_STATUS_SUCCESS; in do_in_main_thread_delayed()
/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()
90 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) << "Error adding service."; in TEST_F()
97 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) << "Error stopping server."; in TEST_F()
105 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) << "Error deleting service."; in TEST_F()
/system/bt/btif/src/
Dbluetooth.cc181 return BT_STATUS_SUCCESS; in init()
188 return BT_STATUS_SUCCESS; in enable()
195 return BT_STATUS_SUCCESS; in disable()
217 return BT_STATUS_SUCCESS; in get_adapter_properties()
227 return BT_STATUS_SUCCESS; in get_adapter_property()
251 return BT_STATUS_SUCCESS; in set_adapter_property()
259 return BT_STATUS_SUCCESS; in get_remote_device_properties()
268 return BT_STATUS_SUCCESS; in get_remote_device_property()
282 return BT_STATUS_SUCCESS; in set_remote_device_property()
291 return BT_STATUS_SUCCESS; in get_remote_services()
[all …]
Dbtif_storage.cc276 btif_in_fetch_bonded_device(bdstr) == BT_STATUS_SUCCESS) { in prop2cfg()
425 BT_STATUS_SUCCESS) && in btif_in_fetch_bonded_device()
429 return BT_STATUS_SUCCESS; in btif_in_fetch_bonded_device()
483 return BT_STATUS_SUCCESS; in btif_in_fetch_bonded_devices()
497 key_len) == BT_STATUS_SUCCESS) { in btif_read_le_key()
571 return (ret == BT_STATUS_SUCCESS) ? (uint8_t)(*(int*)property.val) in btif_storage_get_io_cap_property()
636 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property()
653 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property()
698 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property()
705 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property()
[all …]
Dbtif_hf_client.cc284 return BT_STATUS_SUCCESS; in init()
315 return BT_STATUS_SUCCESS; in connect_int()
339 return BT_STATUS_SUCCESS; in disconnect()
372 return BT_STATUS_SUCCESS; in connect_audio()
391 return BT_STATUS_SUCCESS; in disconnect_audio()
411 return BT_STATUS_SUCCESS; in start_voice_recognition()
433 return BT_STATUS_SUCCESS; in stop_voice_recognition()
465 return BT_STATUS_SUCCESS; in volume_control()
489 return BT_STATUS_SUCCESS; in dial()
508 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_dm.cc297 return BT_STATUS_SUCCESS; in btif_in_execute_service_request()
364 &p_search_data->inq_res.bd_addr, &prop_name) == BT_STATUS_SUCCESS) { in check_cached_remote_name()
383 (RawAddress*)remote_bdaddr, &prop_name) == BT_STATUS_SUCCESS) { in get_cod()
421 BT_STATUS_SUCCESS) { in check_sdp_bl()
508 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote version", in btif_update_remote_version_property()
531 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote device name", in btif_update_remote_properties()
561 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote device class", in btif_update_remote_properties()
572 BT_STATUS_SUCCESS) { in btif_update_remote_properties()
584 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote device type", in btif_update_remote_properties()
606 bond_state_changed(BT_STATUS_SUCCESS, bd_addr, BT_BOND_STATE_BONDING); in btif_dm_cb_create_bond()
[all …]
Dbtif_sock.cc82 if (status != BT_STATUS_SUCCESS) { in btif_sock_init()
88 if (status != BT_STATUS_SUCCESS) { in btif_sock_init()
101 if (status != BT_STATUS_SUCCESS) { in btif_sock_init()
107 return BT_STATUS_SUCCESS; in btif_sock_init()
181 if (status != BT_STATUS_SUCCESS) { in btsock_listen()
243 if (status != BT_STATUS_SUCCESS) { in btsock_connect()
Dbtif_core.cc150 return BT_STATUS_SUCCESS; in btif_transfer_context()
163 return BT_STATUS_SUCCESS; in do_in_jni_thread()
240 return BT_STATUS_SUCCESS; in btif_init_bluetooth()
290 invoke_adapter_properties_cb(BT_STATUS_SUCCESS, 1, &prop); in btif_enable_bluetooth_evt()
335 return BT_STATUS_SUCCESS; in btif_cleanup_bluetooth()
411 if (status == BT_STATUS_SUCCESS) { in btif_in_get_adapter_properties()
460 invoke_adapter_properties_cb(BT_STATUS_SUCCESS, num_props, properties); in btif_in_get_adapter_properties()
461 return BT_STATUS_SUCCESS; in btif_in_get_adapter_properties()
505 invoke_remote_device_properties_cb(BT_STATUS_SUCCESS, *bd_addr, num_props, in btif_in_get_remote_device_properties()
508 return BT_STATUS_SUCCESS; in btif_in_get_remote_device_properties()
[all …]
Dbtif_hd.cc336 ASSERTC(status == BT_STATUS_SUCCESS, "context transfer failed", status); in bte_hd_evt()
356 return BT_STATUS_SUCCESS; in init()
435 return BT_STATUS_SUCCESS; in register_app()
469 return BT_STATUS_SUCCESS; in unregister_app()
497 return BT_STATUS_SUCCESS; in connect()
525 return BT_STATUS_SUCCESS; in disconnect()
568 return BT_STATUS_SUCCESS; in send_report()
596 return BT_STATUS_SUCCESS; in report_error()
624 return BT_STATUS_SUCCESS; in virtual_cable_unplug()
654 return BT_STATUS_SUCCESS; in btif_hd_execute_service()
/system/bt/service/test/
Dgatt_server_unittest.cc229 .WillOnce(Return(BT_STATUS_SUCCESS)); in SetUp()
233 fake_hal_gatt_iface_->NotifyRegisterServerCallback(BT_STATUS_SUCCESS, in SetUp()
240 .WillOnce(Return(BT_STATUS_SUCCESS)); in TearDown()
248 .WillOnce(Return(BT_STATUS_SUCCESS)); in SetUpTestService()
283 BT_STATUS_SUCCESS, kDefaultServerId, service_with_handles); in SetUpTestService()
305 .WillOnce(Return(BT_STATUS_SUCCESS)); in TEST_F()
343 .WillOnce(Return(BT_STATUS_SUCCESS)); in TEST_F()
353 fake_hal_gatt_iface_->NotifyRegisterServerCallback(BT_STATUS_SUCCESS, in TEST_F()
366 .WillOnce(Return(BT_STATUS_SUCCESS)); in TEST_F()
460 SendResponse(kConnId0, kReqId0, BT_STATUS_SUCCESS, _)) in TEST_F()
[all …]
Dlow_energy_client_unittest.cc131 .WillOnce(Return(BT_STATUS_SUCCESS)); in TearDown()
152 .WillOnce(Return(BT_STATUS_SUCCESS)); in RegisterTestClient()
174 .WillOnce(Return(BT_STATUS_SUCCESS)); in TEST_F()
212 .WillOnce(Return(BT_STATUS_SUCCESS)); in TEST_F()
222 fake_hal_gatt_iface_->NotifyRegisterClientCallback(BT_STATUS_SUCCESS, in TEST_F()
235 .WillOnce(Return(BT_STATUS_SUCCESS)); in TEST_F()
275 connId, BT_STATUS_SUCCESS, client_id, bd_addr); in TEST_F()
277 Return(BT_STATUS_SUCCESS))); in TEST_F()
290 connId, BT_STATUS_SUCCESS, client_id, bd_addr); in TEST_F()
292 Return(BT_STATUS_SUCCESS))); in TEST_F()
Dgatt_client_unittest.cc84 .WillOnce(Return(BT_STATUS_SUCCESS)); in TEST_F()
122 .WillOnce(Return(BT_STATUS_SUCCESS)); in TEST_F()
132 fake_hal_gatt_iface_->NotifyRegisterClientCallback(BT_STATUS_SUCCESS, in TEST_F()
145 .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()
104 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/stack/btu/
Dbtu_task.cc97 return BT_STATUS_SUCCESS; in do_in_main_thread()
107 return BT_STATUS_SUCCESS; in do_in_main_thread_delayed()
115 BT_STATUS_SUCCESS); in post_on_bt_main()
/system/bt/osi/src/
Dwakelock.cc113 if (status != BT_STATUS_SUCCESS) in wakelock_acquire()
116 return (status == BT_STATUS_SUCCESS); in wakelock_acquire()
144 return BT_STATUS_SUCCESS; in wakelock_acquire_native()
159 return (status == BT_STATUS_SUCCESS); in wakelock_release()
180 return BT_STATUS_SUCCESS; in wakelock_release_native()
269 if (acquired_status != BT_STATUS_SUCCESS) { in update_wakelock_acquired_stats()
299 if (released_status != BT_STATUS_SUCCESS) { in update_wakelock_released_stats()
/system/bt/service/
Dadapter.cc248 if (status != BT_STATUS_SUCCESS) { in Enable()
273 if (status != BT_STATUS_SUCCESS) { in Disable()
338 if (status != BT_STATUS_SUCCESS) { in SetScanEnable()
345 if (status != BT_STATUS_SUCCESS) { in SetScanEnable()
363 if (status != BT_STATUS_SUCCESS) { in SspReply()
381 if (status != BT_STATUS_SUCCESS) { in CreateBond()
420 if (status != BT_STATUS_SUCCESS) { in GetBondedDevices()
438 if (status != BT_STATUS_SUCCESS) { in RemoveBond()
457 if (status != BT_STATUS_SUCCESS) { in GetRemoteDeviceProperties()
528 if (status != BT_STATUS_SUCCESS) { in AdapterPropertiesCallback()
[all …]
Dlow_energy_client.cc65 if (status != BT_STATUS_SUCCESS) { in Connect()
92 if (status != BT_STATUS_SUCCESS) { in Disconnect()
119 if (status != BT_STATUS_SUCCESS) { in SetMtu()
224 if (hal_iface->register_client(uuid, false) != BT_STATUS_SUCCESS) in RegisterInstance()
249 if (status == BT_STATUS_SUCCESS) { in RegisterClientCallback()
Davrcp_target.cc136 song_len, song_pos) == BT_STATUS_SUCCESS); in GetPlayStatusResponse()
154 BT_STATUS_SUCCESS); in ListPlayerAppAttrResponse()
176 BT_STATUS_SUCCESS); in GetPlayerAppValueResponse()
188 BT_STATUS_SUCCESS); in GetPlayerAppAttrTextResponse()
200 BT_STATUS_SUCCESS); in GetPlayerAppValueTextResponse()
212 BT_STATUS_SUCCESS); in GetElementAttrResponse()
223 BT_STATUS_SUCCESS); in SetPlayerAppValueResponse()
236 &param_copy) == BT_STATUS_SUCCESS); in RegisterNotificationResponse()
243 volume) == BT_STATUS_SUCCESS); in SetVolume()
/system/bt/test/common/
Dmain_handler.cc41 return BT_STATUS_SUCCESS; in do_in_main_thread()
49 return BT_STATUS_SUCCESS; in do_in_main_thread_delayed()

1234