/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() 40 security_handler_->Post(common::BindOnce(&internal::SecurityManagerImpl::CreateBondLe, in CreateBondLe() 46 security_handler_->Post(common::BindOnce(&internal::SecurityManagerImpl::CancelBond, in CancelBond() 52 security_handler_->Post(common::BindOnce(&internal::SecurityManagerImpl::RemoveBond, in RemoveBond() 58 security_handler_->Post(common::BindOnce(&internal::SecurityManagerImpl::SetUserInterfaceHandler, in SetUserInterfaceHandler() 69 security_handler_->Post(common::BindOnce( in SetLeInitiatorAddressPolicyForTest() 80 security_handler_->Post(common::BindOnce(&internal::SecurityManagerImpl::RegisterCallbackListener, in RegisterCallbackListener() 85 …security_handler_->Post(common::BindOnce(&internal::SecurityManagerImpl::UnregisterCallbackListene… in UnregisterCallbackListener() 90 security_handler_->Post(common::BindOnce(&internal::SecurityManagerImpl::OnPairingPromptAccepted, in OnPairingPromptAccepted() [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/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/hci/ |
D | le_advertising_manager.cc | 130 …common::BindOnce(scan_callback_, event_view.GetScannerAddress(), event_view.GetScannerAddressType(… in handle_scan_request() 138 registered_handler_->Post(common::BindOnce(set_terminated_callback_, event_view.GetStatus(), in handle_set_terminated() 196 module_handler_->BindOnce(impl::check_status<LeSetAdvertisingParametersCompleteView>)); in create_advertiser() 200 module_handler_->BindOnce(impl::check_status<LeSetScanResponseDataCompleteView>)); in create_advertiser() 204 module_handler_->BindOnce(impl::check_status<LeSetAdvertisingDataCompleteView>)); in create_advertiser() 208 module_handler_->BindOnce(impl::check_status<LeSetAdvertisingEnableCompleteView>)); in create_advertiser() 227 module_handler_->BindOnce(impl::check_status<LeMultiAdvtCompleteView>)); in create_advertiser() 230 module_handler_->BindOnce(impl::check_status<LeMultiAdvtCompleteView>)); in create_advertiser() 234 module_handler_->BindOnce(impl::check_status<LeMultiAdvtCompleteView>)); in create_advertiser() 238 module_handler_->BindOnce(impl::check_status<LeMultiAdvtCompleteView>)); in create_advertiser() [all …]
|
D | le_scanning_manager.cc | 88 …common::BindOnce(&LeScanningManagerCallbacks::on_timeout, common::Unretained(registered_callback_)… in handle_scan_results() 117 …registered_callback_->Handler()->Post(common::BindOnce(&LeScanningManagerCallbacks::on_advertiseme… in handle_advertising_report() 134 module_handler_->BindOnce(impl::check_status)); in configure_scan() 140 module_handler_->BindOnce(impl::check_status)); in configure_scan() 147 module_handler_->BindOnce(impl::check_status)); in configure_scan() 171 module_handler_->BindOnce(impl::check_status)); in start_scan() 177 module_handler_->BindOnce(impl::check_status)); in start_scan() 197 module_handler_->BindOnce(impl::check_status)); in stop_scan() 204 module_handler_->BindOnce(impl::check_status)); in stop_scan()
|
/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()
|
/system/bt/gd/hci/acl_manager/ |
D | classic_acl_connection.cc | 46 …common::BindOnce(&ConnectionManagementCallbacks::f, common::Unretained(this), ##__VA_ARGS__)); … 49 …common::BindOnce(&ConnectionManagementCallbacks::f, common::Unretained(client_callbacks_), ##__VA_… 325 pimpl_->tracker.client_handler_->BindOnce(&check_command_status<DisconnectStatusView>)); in Disconnect() 332 …pimpl_->tracker.client_handler_->BindOnce(&check_command_status<ChangeConnectionPacketTypeStatusVi… in ChangeConnectionPacketType() 339 …pimpl_->tracker.client_handler_->BindOnce(&check_command_status<AuthenticationRequestedStatusView>… in AuthenticationRequested() 346 …pimpl_->tracker.client_handler_->BindOnce(&check_command_status<SetConnectionEncryptionStatusView>… in SetConnectionEncryption() 353 …pimpl_->tracker.client_handler_->BindOnce(&check_command_status<ChangeConnectionLinkKeyStatusView>… in ChangeConnectionLinkKey() 360 pimpl_->tracker.client_handler_->BindOnce(&check_command_status<ReadClockOffsetStatusView>)); in ReadClockOffset() 367 pimpl_->tracker.client_handler_->BindOnce(&check_command_status<HoldModeStatusView>)); in HoldMode() 374 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_… 104 common::BindOnce(std::move(pimpl_->tracker.do_disconnect_), reason).Run(); in Disconnect() 120 pimpl_->tracker.client_handler_->BindOnce([](CommandStatusView status) { in LeConnectionUpdate()
|
/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/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(cid, 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 | dynamic_channel_service_manager_impl.cc | 34 common::BindOnce(std::move(pending_registration.on_registration_complete_callback_), in Register() 38 pending_registration.user_handler_->Post(common::BindOnce( in Register() 48 common::BindOnce(std::move(pending_registration.on_registration_complete_callback_), in Register()
|
/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/btif/src/ |
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() 401 FROM_HERE, base::BindOnce(btif_a2dp_sink_command_ready, (BT_HDR*)p_buf)); in btif_a2dp_sink_update_decoder() 409 FROM_HERE, base::BindOnce(btif_a2dp_sink_command_ready, p_buf)); in btif_a2dp_sink_on_idle() 421 FROM_HERE, base::BindOnce(btif_a2dp_sink_command_ready, p_buf)); in btif_a2dp_sink_on_stopped() 432 FROM_HERE, base::BindOnce(btif_a2dp_sink_command_ready, p_buf)); in btif_a2dp_sink_on_suspended() [all …]
|
/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 | 99 FROM_HERE, base::BindOnce(&std::promise<void>::set_value, in RunMessageLoop() 142 FROM_HERE, base::BindOnce(&callback_batch, bt_msg_queue_, nullptr)); in BENCHMARK_F() 154 FROM_HERE, base::BindOnce(&callback_sequential, nullptr)); in BENCHMARK_F() 189 FROM_HERE, base::BindOnce(&callback_batch, bt_msg_queue_, nullptr)); in BENCHMARK_F() 201 FROM_HERE, base::BindOnce(&callback_sequential, nullptr)); in BENCHMARK_F() 234 FROM_HERE, base::BindOnce(&callback_batch, bt_msg_queue_, nullptr)); in BENCHMARK_F() 246 FROM_HERE, base::BindOnce(&callback_sequential, nullptr)); in BENCHMARK_F() 332 FROM_HERE, base::BindOnce(&std::promise<void>::set_value, in SetUp() 355 FROM_HERE, base::BindOnce(&callback_batch, bt_msg_queue_, nullptr)); in BENCHMARK_F() 367 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 …]
|