/system/bt/test/suite/adapter/ |
D | adapter_unittest.cc | 38 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/ |
D | gatt_unittest.cc | 32 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/ |
D | btif_storage.cc | 275 btif_in_fetch_bonded_device(bdstr) == BT_STATUS_SUCCESS) { in prop2cfg() 426 BT_STATUS_SUCCESS) && in btif_in_fetch_bonded_device() 432 return BT_STATUS_SUCCESS; in btif_in_fetch_bonded_device() 487 return BT_STATUS_SUCCESS; in btif_in_fetch_bonded_devices() 501 key_len) == BT_STATUS_SUCCESS) { in btif_read_le_key() 575 return (ret == BT_STATUS_SUCCESS) ? (uint8_t)(*(int*)property.val) in btif_storage_get_io_cap_property() 640 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property() 657 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property() 702 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property() 709 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property() [all …]
|
D | btif_dm.cc | 307 HAL_CBACK(bt_hal_cbacks, bond_state_changed_cb, BT_STATUS_SUCCESS, &address, bond_state); in btif_dm_send_bond_state_changed() 320 …HAL_CBACK(bt_hal_cbacks, bond_state_changed_cb, BT_STATUS_SUCCESS, &address, BT_BOND_STATE_BONDING… in btif_dm_init() 384 return BT_STATUS_SUCCESS; in btif_in_execute_service_request() 451 &p_search_data->inq_res.bd_addr, &prop_name) == BT_STATUS_SUCCESS) { in check_cached_remote_name() 470 (RawAddress*)remote_bdaddr, &prop_name) == BT_STATUS_SUCCESS) { in get_cod() 494 (RawAddress*)remote_bdaddr, &prop_name) == BT_STATUS_SUCCESS) { in check_hid_le() 531 BT_STATUS_SUCCESS) { in check_sdp_bl() 612 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote version", in btif_update_remote_version_property() 634 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote device name", in btif_update_remote_properties() 660 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote device class", in btif_update_remote_properties() [all …]
|
D | btif_hf_client.cc | 288 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 …]
|
D | btif_sdp.cc | 126 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()
|
D | btif_core.cc | 216 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 …]
|
D | btif_sock.cc | 82 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()
|
D | btif_hd.cc | 339 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()
|
D | bluetooth.cc | 164 return BT_STATUS_SUCCESS; in init() 171 return BT_STATUS_SUCCESS; in enable() 178 return BT_STATUS_SUCCESS; in disable() 288 return BT_STATUS_SUCCESS; in remove_bond() 322 return BT_STATUS_SUCCESS; in read_energy_info() 458 return BT_STATUS_SUCCESS; in set_os_callouts() 463 return btif_config_clear() ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in config_clear()
|
D | btif_mce.cc | 123 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()
|
D | btif_hf.cc | 626 ASSERTC(status == BT_STATUS_SUCCESS, "context transfer failed", status); in bte_hf_evt() 671 return BT_STATUS_SUCCESS; in connect_int() 777 return BT_STATUS_SUCCESS; in Init() 798 return BT_STATUS_SUCCESS; in Disconnect() 819 return BT_STATUS_SUCCESS; in ConnectAudio() 835 return BT_STATUS_SUCCESS; in DisconnectAudio() 858 return BT_STATUS_SUCCESS; in StartVoiceRecognition() 882 return BT_STATUS_SUCCESS; in StopVoiceRecognition() 903 return BT_STATUS_SUCCESS; in VolumeControl() 932 return BT_STATUS_SUCCESS; in DeviceStatusNotification() [all …]
|
D | btif_profile_queue.cc | 70 if (busy_) return BT_STATUS_SUCCESS; in connect() 199 if (b_status != BT_STATUS_SUCCESS) { in btif_queue_connect_next() 219 BT_STATUS_SUCCESS) { in btif_queue_release()
|
/system/bt/service/test/ |
D | gatt_server_unittest.cc | 228 .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 …]
|
D | low_energy_client_unittest.cc | 129 .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()
|
D | gatt_client_unittest.cc | 83 .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/ |
D | fake_bluetooth_interface.cc | 27 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() 102 observer.AdapterPropertiesCallback(BT_STATUS_SUCCESS, num_properties, in NotifyAdapterPropertiesChanged()
|
/system/bt/osi/test/ |
D | AlarmTestHarness.cc | 30 return BT_STATUS_SUCCESS; in acquire_wake_lock_cb() 35 return BT_STATUS_SUCCESS; in release_wake_lock_cb()
|
/system/bt/tools/bdtool/ |
D | bdtool.c | 163 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/ |
D | wakelock.cc | 113 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/stack/btu/ |
D | btu_task.cc | 97 return BT_STATUS_SUCCESS; in do_in_main_thread() 108 return BT_STATUS_SUCCESS; in do_in_main_thread_delayed() 139 BT_STATUS_SUCCESS) { in btu_task_start_up()
|
/system/bt/service/ |
D | adapter.cc | 247 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 …]
|
D | low_energy_client.cc | 62 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()
|
D | avrcp_target.cc | 135 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 ¶m_copy) == BT_STATUS_SUCCESS); in RegisterNotificationResponse() 242 volume) == BT_STATUS_SUCCESS); in SetVolume()
|
/system/bt/test/suite/rfcomm/ |
D | rfcomm_test.cc | 31 ASSERT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in SetUp() 73 ASSERT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TearDown()
|