/system/bt/gd/security/ |
D | security_manager.cc | 30 …common::BindOnce(&internal::SecurityManagerImpl::Init, common::Unretained(security_manager_impl_))… in Init() 34 security_handler_->Post(common::BindOnce(&internal::SecurityManagerImpl::CreateBond, in CreateBond() 41 security_handler_->Post(common::BindOnce( in CreateBondOutOfBand() 50 security_handler_->Post(common::BindOnce( in GetOutOfBandData() 57 security_handler_->Post(common::BindOnce(&internal::SecurityManagerImpl::CreateBondLe, in CreateBondLe() 63 security_handler_->Post(common::BindOnce(&internal::SecurityManagerImpl::CancelBond, in CancelBond() 69 security_handler_->Post(common::BindOnce(&internal::SecurityManagerImpl::RemoveBond, in RemoveBond() 75 security_handler_->Post(common::BindOnce(&internal::SecurityManagerImpl::SetUserInterfaceHandler, in SetUserInterfaceHandler() 86 security_handler_->Post(common::BindOnce( in SetLeInitiatorAddressPolicyForTest() 97 security_handler_->Post(common::BindOnce(&internal::SecurityManagerImpl::RegisterCallbackListener, in RegisterCallbackListener() [all …]
|
D | l2cap_security_module_interface.cc | 29 this->security_handler_->Post(common::BindOnce( in Enforce() 37 this->security_handler_->Post(common::BindOnce( in Enforce()
|
/system/bt/btif/src/ |
D | bluetooth.cc | 216 do_in_main_thread(FROM_HERE, base::BindOnce(btif_get_adapter_properties)); in get_adapter_properties() 226 do_in_main_thread(FROM_HERE, base::BindOnce(btif_get_adapter_property, type)); in get_adapter_property() 245 do_in_main_thread(FROM_HERE, base::BindOnce( in set_adapter_property() 257 do_in_main_thread(FROM_HERE, base::BindOnce(btif_get_remote_device_properties, in get_remote_device_properties() 266 do_in_main_thread(FROM_HERE, base::BindOnce(btif_get_remote_device_property, in get_remote_device_property() 276 FROM_HERE, base::BindOnce( in set_remote_device_property() 289 base::BindOnce(btif_dm_get_remote_services, *remote_addr, in get_remote_services() 297 do_in_main_thread(FROM_HERE, base::BindOnce(btif_dm_start_discovery)); in start_discovery() 304 do_in_main_thread(FROM_HERE, base::BindOnce(btif_dm_cancel_discovery)); in cancel_discovery() 313 base::BindOnce(btif_dm_create_bond, *bd_addr, transport)); in create_bond() [all …]
|
D | btif_a2dp_sink.cc | 199 FROM_HERE, base::BindOnce(btif_a2dp_sink_init_delayed)); in btif_a2dp_sink_init() 211 FROM_HERE, base::BindOnce(btif_a2dp_sink_startup_delayed)); in btif_a2dp_sink_startup() 225 FROM_HERE, base::BindOnce(btif_a2dp_sink_start_session_delayed, in btif_a2dp_sink_start_session() 275 FROM_HERE, base::BindOnce(btif_a2dp_sink_end_session_delayed)); in btif_a2dp_sink_end_session() 288 FROM_HERE, base::BindOnce(btif_a2dp_sink_shutdown_delayed)); in btif_a2dp_sink_shutdown() 323 FROM_HERE, base::BindOnce(btif_a2dp_sink_cleanup_delayed)); in btif_a2dp_sink_cleanup() 402 base::BindOnce(btif_a2dp_sink_command_ready, (BT_HDR_RIGID*)p_buf)); in btif_a2dp_sink_update_decoder() 411 FROM_HERE, base::BindOnce(btif_a2dp_sink_command_ready, p_buf)); in btif_a2dp_sink_on_idle() 424 FROM_HERE, base::BindOnce(btif_a2dp_sink_command_ready, p_buf)); in btif_a2dp_sink_on_stopped() 436 FROM_HERE, base::BindOnce(btif_a2dp_sink_command_ready, p_buf)); in btif_a2dp_sink_on_suspended() [all …]
|
/system/bt/gd/os/linux_generic/ |
D | alarm_unittest.cc | 28 using common::BindOnce; 62 …BindOnce(&std::promise<void>::set_value, common::Unretained(&promise)), std::chrono::milliseconds(… in TEST_F() 70 …alarm_->Schedule(BindOnce([]() { ASSERT_TRUE(false) << "Should not happen"; }), std::chrono::milli… in TEST_F() 76 …alarm_->Schedule(BindOnce(&Alarm::Cancel, common::Unretained(alarm_)), std::chrono::milliseconds(1… in TEST_F() 81 …alarm_->Schedule(BindOnce([]() { ASSERT_TRUE(false) << "Should not happen"; }), std::chrono::milli… in TEST_F() 85 …BindOnce(&std::promise<void>::set_value, common::Unretained(&promise)), std::chrono::milliseconds(… in TEST_F() 90 …alarm_->Schedule(BindOnce([]() { ASSERT_TRUE(false) << "Should not happen"; }), std::chrono::milli… in TEST_F()
|
D | handler_unittest.cc | 56 common::OnceClosure closure = common::BindOnce( in TEST_F() 75 handler_->Post(common::BindOnce( in TEST_F() 84 handler_->Post(common::BindOnce([]() { ASSERT_TRUE(false); })); in TEST_F() 98 auto once_callback = common::BindOnce(&check_int, std::move(number), to_change); in TEST_F() 107 …auto once_callback = common::BindOnce(&std::promise<void>::set_value, common::Unretained(&promise)… in TEST_F()
|
/system/bt/gd/l2cap/classic/ |
D | fixed_channel.cc | 30 …l2cap_handler_->Post(common::BindOnce(&internal::FixedChannelImpl::RegisterOnCloseCallback, impl_,… in RegisterOnCloseCallback() 35 l2cap_handler_->Post(common::BindOnce(&internal::FixedChannelImpl::Acquire, impl_)); in Acquire() 39 l2cap_handler_->Post(common::BindOnce(&internal::FixedChannelImpl::Release, impl_)); in Release()
|
D | fixed_channel_manager.cc | 32 l2cap_layer_handler_->Post(common::BindOnce(&internal::LinkManager::ConnectFixedChannelServices, in ConnectServices() 44 l2cap_layer_handler_->Post(common::BindOnce(&internal::FixedChannelServiceManagerImpl::Register, in RegisterService()
|
/system/bt/gd/l2cap/le/ |
D | fixed_channel.cc | 30 …l2cap_handler_->Post(common::BindOnce(&internal::FixedChannelImpl::RegisterOnCloseCallback, impl_,… in RegisterOnCloseCallback() 35 l2cap_handler_->Post(common::BindOnce(&internal::FixedChannelImpl::Acquire, impl_)); in Acquire() 39 l2cap_handler_->Post(common::BindOnce(&internal::FixedChannelImpl::Release, impl_)); in Release()
|
D | fixed_channel_manager.cc | 32 l2cap_layer_handler_->Post(common::BindOnce(&internal::LinkManager::ConnectFixedChannelServices, in ConnectServices() 44 l2cap_layer_handler_->Post(common::BindOnce(&internal::FixedChannelServiceManagerImpl::Register, in RegisterService()
|
D | dynamic_channel_manager.cc | 37 l2cap_layer_handler_->Post(common::BindOnce(&internal::LinkManager::ConnectDynamicChannelServices, in ConnectChannel() 55 l2cap_layer_handler_->Post(common::BindOnce(&internal::DynamicChannelServiceManagerImpl::Register, in RegisterService()
|
/system/bt/gd/l2cap/le/internal/ |
D | fixed_channel_service_manager_test.cc | 62 …user_handler_->Post(common::BindOnce(&std::promise<void>::set_value, common::Unretained(&promise))… in sync_user_handler() 77 …common::BindOnce(&L2capLeServiceManagerTest::OnServiceRegistered, common::Unretained(this), true)}; in TEST_F() 84 manager_->Unregister(cid, common::BindOnce([] {}), user_handler_); in TEST_F() 92 …common::BindOnce(&L2capLeServiceManagerTest::OnServiceRegistered, common::Unretained(this), false)… in TEST_F()
|
D | dynamic_channel_service_manager_test.cc | 64 …user_handler_->Post(common::BindOnce(&std::promise<void>::set_value, common::Unretained(&promise))… in sync_user_handler() 81 …common::BindOnce(&L2capLeDynamicServiceManagerTest::OnServiceRegistered, common::Unretained(this),… in TEST_F() 88 manager_->Unregister(psm, common::BindOnce([] {}), user_handler_); in TEST_F() 97 …common::BindOnce(&L2capLeDynamicServiceManagerTest::OnServiceRegistered, common::Unretained(this),… in TEST_F()
|
D | fixed_channel_service_manager_impl.cc | 34 common::BindOnce(std::move(pending_registration.on_registration_complete_callback_), in Register() 39 common::BindOnce(std::move(pending_registration.on_registration_complete_callback_), in Register() 47 common::BindOnce(std::move(pending_registration.on_registration_complete_callback_), in Register()
|
D | link_manager_test.cc | 62 handler->Post(common::BindOnce(&std::promise<void>::set_value, common::Unretained(&promise))); in SyncHandler() 122 ….on_fail_callback_ = common::BindOnce([](FixedChannelManager::ConnectionResult result) { FAIL(); }… in TEST_F() 146 …hci_callback_handler->Post(common::BindOnce(&hci::acl_manager::LeConnectionCallbacks::OnLeConnectS… in TEST_F() 150 connection_management_handler->Post(common::BindOnce( in TEST_F() 181 ….on_fail_callback_ = common::BindOnce([](FixedChannelManager::ConnectionResult result) { FAIL(); }… in TEST_F() 195 connection_management_handler->Post(common::BindOnce( in TEST_F() 275 …hci_callback_handler->Post(common::BindOnce(&hci::acl_manager::LeConnectionCallbacks::OnLeConnectF… in TEST_F() 317 ….on_fail_callback_ = common::BindOnce([](FixedChannelManager::ConnectionResult result) { FAIL(); }… in TEST_F() 342 …hci_callback_handler->Post(common::BindOnce(&hci::acl_manager::LeConnectionCallbacks::OnLeConnectS… in TEST_F() 346 connection_management_handler->Post(common::BindOnce( in TEST_F() [all …]
|
/system/bt/gd/l2cap/classic/internal/ |
D | fixed_channel_service_manager_test.cc | 62 …user_handler_->Post(common::BindOnce(&std::promise<void>::set_value, common::Unretained(&promise))… in sync_user_handler() 77 …common::BindOnce(&L2capClassicFixedServiceManagerTest::OnServiceRegistered, common::Unretained(thi… in TEST_F() 84 manager_->Unregister(cid, common::BindOnce([] {}), user_handler_); in TEST_F() 92 …common::BindOnce(&L2capClassicFixedServiceManagerTest::OnServiceRegistered, common::Unretained(thi… in TEST_F()
|
D | fixed_channel_service_manager_impl.cc | 34 common::BindOnce(std::move(pending_registration.on_registration_complete_callback_), in Register() 39 common::BindOnce(std::move(pending_registration.on_registration_complete_callback_), in Register() 47 common::BindOnce(std::move(pending_registration.on_registration_complete_callback_), in Register()
|
/system/bt/gd/hci/acl_manager/ |
D | classic_acl_connection.cc | 50 …common::BindOnce(&ConnectionManagementCallbacks::f, common::Unretained(this), ##__VA_ARGS__)); … 53 …common::BindOnce(&ConnectionManagementCallbacks::f, common::Unretained(client_callbacks_), ##__VA_… 366 pimpl_->tracker.client_handler_->BindOnce(&check_command_status<DisconnectStatusView>)); in Disconnect() 373 …pimpl_->tracker.client_handler_->BindOnce(&check_command_status<ChangeConnectionPacketTypeStatusVi… in ChangeConnectionPacketType() 380 …pimpl_->tracker.client_handler_->BindOnce(&check_command_status<AuthenticationRequestedStatusView>… in AuthenticationRequested() 387 …pimpl_->tracker.client_handler_->BindOnce(&check_command_status<SetConnectionEncryptionStatusView>… in SetConnectionEncryption() 394 …pimpl_->tracker.client_handler_->BindOnce(&check_command_status<ChangeConnectionLinkKeyStatusView>… in ChangeConnectionLinkKey() 401 pimpl_->tracker.client_handler_->BindOnce(&check_command_status<ReadClockOffsetStatusView>)); in ReadClockOffset() 408 pimpl_->tracker.client_handler_->BindOnce(&check_command_status<HoldModeStatusView>)); in HoldMode() 415 pimpl_->tracker.client_handler_->BindOnce(&check_command_status<SniffModeStatusView>)); in SniffMode() [all …]
|
D | le_acl_connection.cc | 45 …common::BindOnce(&LeConnectionManagementCallbacks::f, common::Unretained(this), __VA_ARGS__)); … 48 …common::BindOnce(&LeConnectionManagementCallbacks::f, common::Unretained(client_callbacks_), __VA_… 128 pimpl_->tracker.client_handler_->BindOnce([](CommandStatusView status) { in Disconnect() 153 pimpl_->tracker.client_handler_->BindOnce([](CommandStatusView status) { in LeConnectionUpdate() 163 pimpl_->tracker.client_handler_->BindOnce([](CommandStatusView status) { in ReadRemoteVersionInformation()
|
/system/bt/gd/common/ |
D | contextual_callback.h | 49 context_->Post(common::BindOnce(std::move(callback_), std::forward<Args>(args)...)); in Invoke() 54 context_->Post(common::BindOnce(std::move(callback_), std::forward<Args>(args)...)); in InvokeIfNotEmpty() 85 context_->Post(common::BindOnce(callback_, std::forward<Args>(args)...)); in Invoke() 90 context_->Post(common::BindOnce(callback_, std::forward<Args>(args)...)); in InvokeIfNotEmpty()
|
/system/bt/gd/os/ |
D | handler.h | 57 Post(common::BindOnce(std::forward<Functor>(functor), std::forward<Args>(args)...)); in Call() 62 …Post(common::BindOnce(std::forward<Functor>(functor), common::Unretained(obj), std::forward<Args>(… in CallOn() 66 common::ContextualOnceCallback<common::MakeUnboundRunType<Functor, Args...>> BindOnce( in BindOnce() function 69 common::BindOnce(std::forward<Functor>(functor), std::forward<Args>(args)...), this); in BindOnce() 76 …common::BindOnce(std::forward<Functor>(functor), common::Unretained(obj), std::forward<Args>(args)… in BindOnceOn()
|
D | thread_benchmark.cc | 27 using ::bluetooth::common::BindOnce; 83 handler_->Post(BindOnce( in BENCHMARK_DEFINE_F() 105 …BindOnce(&BM_ReactorThread_sequential_execution_Benchmark::callback, bluetooth::common::Unretained… in BENCHMARK_DEFINE_F()
|
/system/bt/common/ |
D | once_timer_unittest.cc | 98 base::BindOnce(&OnceTimerTest::GetName, in TEST_F() 125 base::BindOnce(&OnceTimerTest::CancelTimerAndWait, in TEST_F() 137 base::BindOnce(&OnceTimerTest::ShouldNotHappen, base::Unretained(this)), in TEST_F() 151 base::BindOnce(&OnceTimerTest::ShouldNotHappen, base::Unretained(this)), in TEST_F() 166 base::BindOnce(&OnceTimerTest::SleepAndIncreaseCounter, in TEST_F() 187 base::BindOnce(&OnceTimerTest::ShouldNotHappen, base::Unretained(this)), in TEST_F() 203 base::BindOnce(&OnceTimerTest::ShouldNotHappen, base::Unretained(this)), in TEST_F() 220 base::BindOnce(&OnceTimerTest::GetName, in TEST_F()
|
/system/bt/common/benchmark/ |
D | thread_performance_benchmark.cc | 100 FROM_HERE, base::BindOnce(&std::promise<void>::set_value, in RunMessageLoop() 143 FROM_HERE, base::BindOnce(&callback_batch, bt_msg_queue_, nullptr)); in BENCHMARK_F() 155 FROM_HERE, base::BindOnce(&callback_sequential, nullptr)); in BENCHMARK_F() 190 FROM_HERE, base::BindOnce(&callback_batch, bt_msg_queue_, nullptr)); in BENCHMARK_F() 202 FROM_HERE, base::BindOnce(&callback_sequential, nullptr)); in BENCHMARK_F() 235 FROM_HERE, base::BindOnce(&callback_batch, bt_msg_queue_, nullptr)); in BENCHMARK_F() 247 FROM_HERE, base::BindOnce(&callback_sequential, nullptr)); in BENCHMARK_F() 333 FROM_HERE, base::BindOnce(&std::promise<void>::set_value, in SetUp() 356 FROM_HERE, base::BindOnce(&callback_batch, bt_msg_queue_, nullptr)); in BENCHMARK_F() 368 FROM_HERE, base::BindOnce(&callback_sequential, nullptr)); in BENCHMARK_F() [all …]
|
/system/bt/gd/neighbor/ |
D | inquiry.cc | 404 GetHandler()->Post(common::BindOnce( in StartGeneralInquiry() 413 GetHandler()->Post(common::BindOnce( in StartLimitedInquiry() 423 …common::BindOnce(&neighbor::InquiryModule::impl::StopOneShotInquiry, common::Unretained(pimpl_.get… in StopInquiry() 428 GetHandler()->Post(common::BindOnce( in StartGeneralPeriodicInquiry() 440 GetHandler()->Post(common::BindOnce( in StartLimitedPeriodicInquiry() 452 …common::BindOnce(&neighbor::InquiryModule::impl::StopPeriodicInquiry, common::Unretained(pimpl_.ge… in StopPeriodicInquiry() 457 …common::BindOnce(&neighbor::InquiryModule::impl::SetScanActivity, common::Unretained(pimpl_.get())… in SetScanActivity() 461 GetHandler()->Post(common::BindOnce( in SetInterlacedScan() 466 GetHandler()->Post(common::BindOnce( in SetStandardScan() 471 GetHandler()->Post(common::BindOnce( in SetStandardInquiryResultMode() [all …]
|