/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() 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/ |
D | btif_storage.cc | 278 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 …]
|
D | btif_dm.cc | 332 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 …]
|
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 | 81 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()
|
D | bluetooth.cc | 152 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()
|
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 | 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 | 590 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/ |
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() 101 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 | 114 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/ |
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()
|
D | gatt_client.cc | 70 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/ |
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()
|
/system/bt/stack/btu/ |
D | btu_task.cc | 92 return BT_STATUS_SUCCESS; in do_in_main_thread() 123 BT_STATUS_SUCCESS) { in btu_task_start_up()
|