Home
last modified time | relevance | path

Searched refs:ContextualOnceCallback (Results 1 – 25 of 26) sorted by relevance

12

/system/bt/gd/common/
Dcontextual_callback.h32 class ContextualOnceCallback; variable
36 class ContextualOnceCallback<R(Args...)> {
38 ContextualOnceCallback(common::OnceCallback<R(Args...)>&& callback, IPostableContext* context) in ContextualOnceCallback() function
41 constexpr ContextualOnceCallback() = default;
43 DISALLOW_COPY_AND_ASSIGN(ContextualOnceCallback);
45 ContextualOnceCallback(ContextualOnceCallback&&) noexcept = default;
46 ContextualOnceCallback& operator=(ContextualOnceCallback&&) noexcept = default;
/system/bt/gd/security/test/
Dfake_hci_layer.h25 using common::ContextualOnceCallback;
47 ContextualOnceCallback<void(CommandCompleteView)> on_complete_function) in CommandQueueEntry()
52 ContextualOnceCallback<void(CommandStatusView)> on_status_function) in CommandQueueEntry()
57 ContextualOnceCallback<void(CommandStatusView)> on_status;
58 ContextualOnceCallback<void(CommandCompleteView)> on_complete;
67 ContextualOnceCallback<void(CommandStatusView)> on_status) override { in EnqueueCommand()
74 ContextualOnceCallback<void(CommandCompleteView)> on_complete) override { in EnqueueCommand()
Dmocks.h51 … common::ContextualOnceCallback<void(hci::CommandCompleteView)> on_complete));
53 … common::ContextualOnceCallback<void(hci::CommandStatusView)> on_status));
Dpairing_handler_le_pair_test.cc269 EnqueueCommand(_, Matcher<common::ContextualOnceCallback<void(CommandStatusView)>>(_))) in RecordSuccessfulEncryptionComplete()
272 common::ContextualOnceCallback<void(CommandStatusView)> on_status) { in RecordSuccessfulEncryptionComplete()
/system/bt/gd/hci/
Dcommand_interface.h35 … common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) = 0;
38 … common::ContextualOnceCallback<void(CommandStatusView)> on_status) = 0;
Dhci_layer.h51 common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) override;
55 common::ContextualOnceCallback<void(CommandStatusView)> on_status) override;
128 … common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) override { in EnqueueCommand()
133 … common::ContextualOnceCallback<void(CommandStatusView)> on_status) override { in EnqueueCommand()
Dhci_layer.cc34 using bluetooth::common::ContextualOnceCallback;
64 …unique_ptr<CommandBuilder> command_packet, ContextualOnceCallback<void(CommandCompleteView)> on_co… in CommandQueueEntry()
68 …unique_ptr<CommandBuilder> command_packet, ContextualOnceCallback<void(CommandStatusView)> on_stat… in CommandQueueEntry()
75 ContextualOnceCallback<void(CommandStatusView)> on_status;
76 ContextualOnceCallback<void(CommandCompleteView)> on_complete;
79 ContextualOnceCallback<void(TView)>* GetCallback() { in GetCallback()
84 ContextualOnceCallback<void(CommandStatusView)>* GetCallback<CommandStatusView>() { in GetCallback()
89 ContextualOnceCallback<void(CommandCompleteView)>* GetCallback<CommandCompleteView>() { in GetCallback()
132 …void enqueue_command(unique_ptr<CommandBuilder> command, ContextualOnceCallback<void(TResponse)> o… in enqueue_command()
400 …unique_ptr<CommandBuilder> command, ContextualOnceCallback<void(CommandCompleteView)> on_complete)… in EnqueueCommand()
[all …]
Dle_scanning_manager_test.cc73 common::ContextualOnceCallback<void(CommandStatusView)> on_status) override { in EnqueueCommand()
84 common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) override { in EnqueueCommand()
181 std::list<common::ContextualOnceCallback<void(CommandCompleteView)>> command_complete_callbacks;
182 std::list<common::ContextualOnceCallback<void(CommandStatusView)>> command_status_callbacks;
Dcontroller_test.cc62 common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) override { in EnqueueCommand()
69 common::ContextualOnceCallback<void(CommandStatusView)> on_status) override { in EnqueueCommand()
75 common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) { in HandleCommand()
Dle_address_manager_test.cc48 common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) override { in EnqueueCommand()
112 std::list<common::ContextualOnceCallback<void(CommandCompleteView)>> command_complete_callbacks;
Dle_advertising_manager_test.cc84 common::ContextualOnceCallback<void(CommandStatusView)> on_status) override { in EnqueueCommand()
102 common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) override { in EnqueueCommand()
221 std::list<common::ContextualOnceCallback<void(CommandCompleteView)>> command_complete_callbacks;
222 std::list<common::ContextualOnceCallback<void(CommandStatusView)>> command_status_callbacks;
Dacl_manager_test.cc125 common::ContextualOnceCallback<void(CommandStatusView)> on_status) override { in EnqueueCommand()
136 common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) override { in EnqueueCommand()
302 std::list<common::ContextualOnceCallback<void(CommandCompleteView)>> command_complete_callbacks;
303 std::list<common::ContextualOnceCallback<void(CommandStatusView)>> command_status_callbacks;
/system/bt/gd/os/
Dhandler.h66 common::ContextualOnceCallback<common::MakeUnboundRunType<Functor, Args...>> BindOnce( in BindOnce()
68 return common::ContextualOnceCallback<common::MakeUnboundRunType<Functor, Args...>>( in BindOnce()
73 common::ContextualOnceCallback<common::MakeUnboundRunType<Functor, T, Args...>> BindOnceOn( in BindOnceOn()
75 return common::ContextualOnceCallback<common::MakeUnboundRunType<Functor, T, Args...>>( in BindOnceOn()
/system/bt/gd/hci/fuzz/
Dfuzz_hci_layer.h36 … common::ContextualOnceCallback<void(hci::CommandCompleteView)> on_complete) override {} in EnqueueCommand()
39 … common::ContextualOnceCallback<void(hci::CommandStatusView)> on_status) override {} in EnqueueCommand()
54 common::ContextualOnceCallback<void(hci::CommandCompleteView)> on_complete) override { in EnqueueCommand()
63 common::ContextualOnceCallback<void(hci::CommandStatusView)> on_status) override { in EnqueueCommand()
176 common::ContextualOnceCallback<void(hci::CommandCompleteView)> on_command_complete_;
177 common::ContextualOnceCallback<void(hci::CommandStatusView)> on_command_status_;
/system/bt/gd/l2cap/classic/
Ddynamic_channel_manager.h59 using OnConnectionFailureCallback = common::ContextualOnceCallback<void(ConnectionResult result)>;
70 … common::ContextualOnceCallback<void(RegistrationResult, std::unique_ptr<DynamicChannelService>)>;
Dsecurity_enforcement_interface.h34 using ResultCallback = common::ContextualOnceCallback<void(bool)>;
Ddynamic_channel_service.h36 using OnUnregisteredCallback = common::ContextualOnceCallback<void()>;
/system/bt/gd/l2cap/le/
Dsecurity_enforcement_interface.h34 using ResultCallback = common::ContextualOnceCallback<void(bool)>;
/system/bt/gd/l2cap/fuzz/
Dfuzz_l2cap.cc42 common::ContextualOnceCallback<void(hci::CommandCompleteView)> on_complete) {} in EnqueueCommand()
46 common::ContextualOnceCallback<void(hci::CommandStatusView)> on_status) {} in EnqueueCommand()
/system/bt/gd/l2cap/
Ddynamic_channel.h55 using OnCloseCallback = common::ContextualOnceCallback<void(hci::ErrorCode)>;
/system/bt/gd/fuzz/
Dhelpers.h41 void InvokeIfValid(common::ContextualOnceCallback<void(TView)> callback, std::vector<uint8_t> data)… in InvokeIfValid()
/system/bt/gd/iso/
Diso_manager.h30 using SetCigParametersCallback = common::ContextualOnceCallback<void(std::vector<uint16_t> /* conne…
/system/bt/gd/security/channel/
Dsecurity_manager_channel.h36 using SecurityCommandStatusCallback = common::ContextualOnceCallback<void(hci::CommandCompleteView)…
/system/bt/gd/neighbor/
Dinquiry_test.cc89 common::ContextualOnceCallback<void(hci::CommandCompleteView)> on_complete) override { in EnqueueCommand()
96 common::ContextualOnceCallback<void(hci::CommandStatusView)> on_status) override { in EnqueueCommand()
103 common::ContextualOnceCallback<void(hci::CommandCompleteView)> on_complete) { in HandleCommand()
204 common::ContextualOnceCallback<void(hci::CommandStatusView)> on_status) { in HandleStatus()
/system/bt/gd/iso/internal/
Diso_manager_impl.h28 using SetCigParametersCallback = common::ContextualOnceCallback<void(std::vector<uint16_t>)>;

12