/packages/modules/Bluetooth/system/gd/common/ |
D | contextual_callback.h | 27 class ContextualOnceCallback; variable 31 class ContextualOnceCallback<R(Args...)> { 33 ContextualOnceCallback(common::OnceCallback<R(Args...)>&& callback, IPostableContext* context) in ContextualOnceCallback() function 36 constexpr ContextualOnceCallback() = default; 37 ContextualOnceCallback(const ContextualOnceCallback&) = delete; 38 ContextualOnceCallback& operator=(const ContextualOnceCallback&) = delete; 40 ContextualOnceCallback(ContextualOnceCallback&&) noexcept = default; 41 ContextualOnceCallback& operator=(ContextualOnceCallback&&) noexcept = default; 57 ContextualOnceCallback(Callback&& callback, IPostableContext* context) 58 -> ContextualOnceCallback<typename Callback::RunType>;
|
D | postable_context.h | 31 return common::ContextualOnceCallback( in BindOnce() 37 return common::ContextualOnceCallback( in BindOnceOn()
|
/packages/modules/Bluetooth/system/gd/hci/acl_manager/ |
D | acl_scheduler.cc | 32 common::ContextualOnceCallback<void()> callback; 37 common::ContextualOnceCallback<void()> callback; 38 common::ContextualOnceCallback<void()> callback_when_cancelled; 44 …void EnqueueOutgoingAclConnection(Address address, common::ContextualOnceCallback<void()> start_co… in EnqueueOutgoingAclConnection() 55 common::ContextualOnceCallback<void()> handle_outgoing_connection, in ReportAclConnectionCompletion() 56 common::ContextualOnceCallback<void()> handle_incoming_connection, in ReportAclConnectionCompletion() 57 common::ContextualOnceCallback<void(std::string)> handle_unknown_connection) { in ReportAclConnectionCompletion() 96 common::ContextualOnceCallback<void()> cancel_connection, in CancelAclConnection() 97 common::ContextualOnceCallback<void()> cancel_connection_completed) { in CancelAclConnection() 112 common::ContextualOnceCallback<void()> start_request, in EnqueueRemoteNameRequest() [all …]
|
D | acl_scheduler.h | 40 …void EnqueueOutgoingAclConnection(Address address, common::ContextualOnceCallback<void()> start_co… 50 common::ContextualOnceCallback<void()> handle_outgoing_connection, 51 common::ContextualOnceCallback<void()> handle_incoming_connection, 52 common::ContextualOnceCallback<void(std::string)> handle_unknown_connection); 62 common::ContextualOnceCallback<void()> cancel_connection, 63 common::ContextualOnceCallback<void()> cancel_connection_completed); 69 common::ContextualOnceCallback<void()> start_request, 70 common::ContextualOnceCallback<void()> cancel_request_completed); 78 …void CancelRemoteNameRequest(Address address, common::ContextualOnceCallback<void()> cancel_reques…
|
D | le_acl_connection_test.cc | 107 common::ContextualOnceCallback<void(hci::CommandStatusView)> on_status) override { in EnqueueCommand() 120 common::ContextualOnceCallback<void(hci::CommandCompleteView)> on_complete) override { in EnqueueCommand() 149 common::ContextualOnceCallback<void(hci::CommandStatusView)> DequeueStatusCallback() { in DequeueStatusCallback() 166 …std::list<common::ContextualOnceCallback<void(hci::CommandCompleteView)>> command_complete_callbac… 167 std::list<common::ContextualOnceCallback<void(hci::CommandStatusView)>> command_status_callbacks;
|
D | acl_scheduler_test.cc | 66 common::ContextualOnceCallback<void(std::string)> impossibleCallbackTakingString() { in impossibleCallbackTakingString() 70 common::ContextualOnceCallback<void(std::string)> emptyCallbackTakingString() { in emptyCallbackTakingString() 74 …common::ContextualOnceCallback<void(std::string)> promiseCallbackTakingString(std::promise<void> p… in promiseCallbackTakingString() 80 common::ContextualOnceCallback<void()> impossibleCallback() { in impossibleCallback() 84 common::ContextualOnceCallback<void()> emptyCallback() { in emptyCallback() 88 common::ContextualOnceCallback<void()> promiseCallback(std::promise<void> promise) { in promiseCallback()
|
D | classic_acl_connection_test.cc | 122 common::ContextualOnceCallback<void(hci::CommandStatusView)> on_status) override { in EnqueueCommand() 135 common::ContextualOnceCallback<void(hci::CommandCompleteView)> on_complete) override { in EnqueueCommand() 175 …std::list<common::ContextualOnceCallback<void(hci::CommandCompleteView)>> command_complete_callbac… 176 std::list<common::ContextualOnceCallback<void(hci::CommandStatusView)>> command_status_callbacks;
|
D | classic_impl_test.cc | 128 common::ContextualOnceCallback<void()> handle_outgoing_connection, in ReportAclConnectionCompletion() 129 common::ContextualOnceCallback<void()> handle_incoming_connection, in ReportAclConnectionCompletion() 130 common::ContextualOnceCallback<void(std::string)> handle_unknown_connection) override { in ReportAclConnectionCompletion()
|
/packages/modules/Bluetooth/system/gd/security/test/ |
D | fake_hci_layer.h | 26 using common::ContextualOnceCallback; 51 ContextualOnceCallback<void(CommandCompleteView)> on_complete_function) in CommandQueueEntry() 56 ContextualOnceCallback<void(CommandStatusView)> on_status_function) in CommandQueueEntry() 61 ContextualOnceCallback<void(CommandStatusView)> on_status; 62 ContextualOnceCallback<void(CommandCompleteView)> on_complete; 71 ContextualOnceCallback<void(CommandStatusView)> on_status) override { in EnqueueCommand() 78 ContextualOnceCallback<void(CommandCompleteView)> on_complete) override { in EnqueueCommand()
|
D | mocks.h | 51 … common::ContextualOnceCallback<void(hci::CommandCompleteView)> on_complete)); 53 … common::ContextualOnceCallback<void(hci::CommandStatusView)> on_status));
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | remote_name_request.h | 33 using CompletionCallback = common::ContextualOnceCallback<void(ErrorCode)>; 34 using RemoteHostSupportedFeaturesCallback = common::ContextualOnceCallback<void(uint64_t)>; 36 common::ContextualOnceCallback<void(ErrorCode, std::array<uint8_t, 248>)>;
|
D | hci_layer_fake.h | 38 common::ContextualOnceCallback<void(CommandStatusView)> on_status) override; 42 common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) override; 95 std::list<common::ContextualOnceCallback<void(CommandCompleteView)>> command_complete_callbacks; 96 std::list<common::ContextualOnceCallback<void(CommandStatusView)>> command_status_callbacks;
|
D | hci_interface.h | 46 common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) override = 0; 50 common::ContextualOnceCallback<void(CommandStatusView)> on_status) override = 0; 124 common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) override { in EnqueueCommand() 130 common::ContextualOnceCallback<void(CommandStatusView)> on_status) override { in EnqueueCommand()
|
D | command_interface.h | 37 … common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) = 0; 40 … common::ContextualOnceCallback<void(CommandStatusView)> on_status) = 0;
|
D | hci_layer.cc | 45 using bluetooth::common::ContextualOnceCallback; 77 ContextualOnceCallback<void(CommandCompleteView)> on_complete_function) in CommandQueueEntry() 84 ContextualOnceCallback<void(CommandStatusView)> on_status_function) in CommandQueueEntry() 93 ContextualOnceCallback<void(CommandStatusView)> on_status; 94 ContextualOnceCallback<void(CommandCompleteView)> on_complete; 97 ContextualOnceCallback<void(TView)>* GetCallback() { in GetCallback() 102 ContextualOnceCallback<void(CommandStatusView)>* GetCallback<CommandStatusView>() { in GetCallback() 107 ContextualOnceCallback<void(CommandCompleteView)>* GetCallback<CommandCompleteView>() { in GetCallback() 159 …void enqueue_command(unique_ptr<CommandBuilder> command, ContextualOnceCallback<void(TResponse)> o… in enqueue_command() 583 …unique_ptr<CommandBuilder> command, ContextualOnceCallback<void(CommandCompleteView)> on_complete)… in EnqueueCommand() [all …]
|
D | hci_layer_mock.h | 37 (std::unique_ptr<CommandBuilder>, common::ContextualOnceCallback<void(CommandCompleteView)>), 42 (std::unique_ptr<CommandBuilder>, common::ContextualOnceCallback<void(CommandStatusView)>),
|
D | le_rand_callback.h | 24 using LeRandCallback = common::ContextualOnceCallback<void(uint64_t)>;
|
D | hci_layer.h | 55 common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) override; 59 common::ContextualOnceCallback<void(CommandStatusView)> on_status) override;
|
D | remote_name_request_test.cc | 88 common::ContextualOnceCallback<void(T...)> impossibleCallback() { in impossibleCallback() 93 common::ContextualOnceCallback<void(T...)> emptyCallback() { in emptyCallback() 98 common::ContextualOnceCallback<void(T...)> promiseCallback(std::promise<void> promise) { in promiseCallback() 105 common::ContextualOnceCallback<void(T...)> capturingPromiseCallback( in capturingPromiseCallback() 115 common::ContextualOnceCallback<void(T)> capturingPromiseCallback(std::promise<T> promise) { in capturingPromiseCallback()
|
/packages/modules/Bluetooth/system/gd/hci/fuzz/ |
D | fuzz_hci_layer.h | 40 common::ContextualOnceCallback<void(hci::CommandCompleteView)> /* on_complete */) override {} in EnqueueCommand() 44 common::ContextualOnceCallback<void(hci::CommandStatusView)> /* on_status */) override {} in EnqueueCommand() 59 common::ContextualOnceCallback<void(hci::CommandCompleteView)> on_complete) override { in EnqueueCommand() 68 common::ContextualOnceCallback<void(hci::CommandStatusView)> on_status) override { in EnqueueCommand() 194 common::ContextualOnceCallback<void(hci::CommandCompleteView)> on_command_complete_; 195 common::ContextualOnceCallback<void(hci::CommandStatusView)> on_command_status_;
|
/packages/modules/Bluetooth/system/gd/l2cap/classic/ |
D | dynamic_channel_manager.h | 59 using OnConnectionFailureCallback = common::ContextualOnceCallback<void(ConnectionResult result)>; 70 … common::ContextualOnceCallback<void(RegistrationResult, std::unique_ptr<DynamicChannelService>)>;
|
D | security_enforcement_interface.h | 34 using ResultCallback = common::ContextualOnceCallback<void(bool)>;
|
/packages/modules/Bluetooth/system/gd/ |
D | module_gdx_unittest.h | 46 void set_once_callback(common::ContextualOnceCallback<void(std::string)> one_message_callback); 72 common::ContextualOnceCallback<void(std::string)> call_once_;
|
/packages/modules/Bluetooth/system/gd/l2cap/fuzz/ |
D | fuzz_l2cap.cc | 42 common::ContextualOnceCallback<void(hci::CommandCompleteView)> on_complete) {} in EnqueueCommand() 46 common::ContextualOnceCallback<void(hci::CommandStatusView)> on_status) {} in EnqueueCommand()
|
/packages/modules/Bluetooth/system/gd/l2cap/le/ |
D | security_enforcement_interface.h | 34 using ResultCallback = common::ContextualOnceCallback<void(bool)>;
|