Home
last modified time | relevance | path

Searched refs:CommandChannel (Results 1 – 25 of 61) sorted by relevance

123

/external/pigweed/pw_bluetooth_sapphire/host/transport/
Dcommand_channel.cc35 static std::string EventTypeToString(CommandChannel::EventType event_type) { in EventTypeToString()
37 case CommandChannel::EventType::kHciEvent: in EventTypeToString()
39 case CommandChannel::EventType::kLEMetaEvent: in EventTypeToString()
41 case CommandChannel::EventType::kVendorEvent: in EventTypeToString()
48 CommandChannel::QueuedCommand::QueuedCommand( in QueuedCommand()
55 CommandChannel::TransactionData::TransactionData( in TransactionData()
56 CommandChannel* channel, in TransactionData()
76 CommandChannel::TransactionData::~TransactionData() { in ~TransactionData()
85 void CommandChannel::TransactionData::StartTimer() { in StartTimer()
97 void CommandChannel::TransactionData::Complete( in Complete()
[all …]
Diso_data_channel.cc31 CommandChannel* command_channel,
50 CommandChannel::EventCallbackResult OnNumberOfCompletedPacketsEvent(
53 CommandChannel* command_channel_ __attribute__((unused));
67 CommandChannel::EventHandlerId num_completed_packets_event_handler_id_ = 0;
71 CommandChannel* command_channel, in IsoDataChannelImpl()
157 CommandChannel::EventCallbackResult
164 return CommandChannel::EventCallbackResult::kContinue; in OnNumberOfCompletedPacketsEvent()
205 return CommandChannel::EventCallbackResult::kContinue; in OnNumberOfCompletedPacketsEvent()
210 CommandChannel* command_channel, in Create()
Dsco_data_channel.cc31 CommandChannel* command_channel,
77 CommandChannel::EventCallbackResult OnNumberOfCompletedPacketsEvent(
89 CommandChannel* command_channel_;
105 CommandChannel::EventHandlerId num_completed_packets_event_handler_id_;
111 CommandChannel* command_channel, in ScoDataChannelImpl()
218 CommandChannel::EventCallbackResult
225 return CommandChannel::EventCallbackResult::kContinue; in OnNumberOfCompletedPacketsEvent()
294 return CommandChannel::EventCallbackResult::kContinue; in OnNumberOfCompletedPacketsEvent()
458 CommandChannel* command_channel, in Create()
Dcommand_channel_test.cc37 using EventCallbackResult = CommandChannel::EventCallbackResult;
106 CommandChannel::TransactionId id = cmd_channel()->SendCommand( in TEST_F()
108 [&id, test_obj](CommandChannel::TransactionId callback_id, in TEST_F()
150 CommandChannel::TransactionId id; in TEST_F()
152 auto cb = [&cb_count, &id](CommandChannel::TransactionId callback_id, in TEST_F()
202 CommandChannel::TransactionId id; in TEST_F()
203 auto complete_cb = [&id](CommandChannel::TransactionId callback_id, in TEST_F()
265 auto cb = [&cb_event_count](CommandChannel::TransactionId, in TEST_F()
352 auto cb = [&reset_count, &cancel_count](CommandChannel::TransactionId /*id*/, in TEST_F()
445 CommandChannel::TransactionId id1, id2; in TEST_F()
[all …]
Dacl_data_channel.cc66 CommandChannel::EventCallbackResult NumberOfCompletedPacketsCallback(
113 CommandChannel::EventCallbackResult DataBufferOverflowCallback(
135 CommandChannel::EventHandlerId num_completed_packets_event_handler_id_ = 0;
138 CommandChannel::EventHandlerId data_buffer_overflow_event_handler_id_ = 0;
462 CommandChannel::EventCallbackResult
469 return CommandChannel::EventCallbackResult::kContinue; in NumberOfCompletedPacketsCallback()
540 return CommandChannel::EventCallbackResult::kContinue; in NumberOfCompletedPacketsCallback()
619 CommandChannel::EventCallbackResult
629 return CommandChannel::EventCallbackResult::kContinue; in DataBufferOverflowCallback()
Dtransport_test.cc34 CommandChannel::WeakPtr cmd_chan_weak = cmd_channel()->AsWeakPtr(); in TEST_F()
52 CommandChannel::TransactionId id1, id2; in TEST_F()
53 auto cb = [&cb_count](CommandChannel::TransactionId /*callback_id*/, in TEST_F()
/external/pigweed/pw_bluetooth_sapphire/host/hci/
Dacl_connection.cc25 template <CommandChannel::EventCallbackResult (
27 CommandChannel::EventCallback BindEventHandler( in BindEventHandler()
33 return CommandChannel::EventCallbackResult::kRemove; in BindEventHandler()
79 CommandChannel::EventCallbackResult AclConnection::OnEncryptionChangeEvent( in OnEncryptionChangeEvent()
88 return CommandChannel::EventCallbackResult::kContinue; in OnEncryptionChangeEvent()
95 return CommandChannel::EventCallbackResult::kContinue; in OnEncryptionChangeEvent()
100 return CommandChannel::EventCallbackResult::kContinue; in OnEncryptionChangeEvent()
126 return CommandChannel::EventCallbackResult::kContinue; in OnEncryptionChangeEvent()
133 return CommandChannel::EventCallbackResult::kContinue; in OnEncryptionChangeEvent()
136 CommandChannel::EventCallbackResult
[all …]
Dlow_energy_connection.cc122 CommandChannel::EventCallbackResult
128 return CommandChannel::EventCallbackResult::kContinue; in OnLELongTermKeyRequestEvent()
135 return CommandChannel::EventCallbackResult::kContinue; in OnLELongTermKeyRequestEvent()
148 return CommandChannel::EventCallbackResult::kRemove; in OnLELongTermKeyRequestEvent()
179 return CommandChannel::EventCallbackResult::kContinue; in OnLELongTermKeyRequestEvent()
Dconnection.cc74 CommandChannel::EventCallbackResult Connection::OnDisconnectionComplete( in OnDisconnectionComplete()
85 return CommandChannel::EventCallbackResult::kContinue; in OnDisconnectionComplete()
93 return CommandChannel::EventCallbackResult::kContinue; in OnDisconnectionComplete()
119 return CommandChannel::EventCallbackResult::kRemove; in OnDisconnectionComplete()
/external/pigweed/pw_bluetooth_sapphire/host/gap/public/pw_bluetooth_sapphire/internal/host/gap/
Dbredr_connection_manager.h241 hci::CommandChannel::EventHandlerId AddEventHandler(
242 const hci_spec::EventCode& code, hci::CommandChannel::EventCallback cb);
275 hci::CommandChannel::EventCallbackResult OnAuthenticationComplete(
277 hci::CommandChannel::EventCallbackResult OnConnectionRequest(
279 hci::CommandChannel::EventCallbackResult OnConnectionComplete(
281 hci::CommandChannel::EventCallbackResult OnIoCapabilityRequest(
283 hci::CommandChannel::EventCallbackResult OnIoCapabilityResponse(
285 hci::CommandChannel::EventCallbackResult OnLinkKeyRequest(
287 hci::CommandChannel::EventCallbackResult OnLinkKeyNotification(
289 hci::CommandChannel::EventCallbackResult OnSimplePairingComplete(
[all …]
Dbredr_discovery_manager.h54 hci::CommandChannel::WeakPtr cmd,
103 hci::CommandChannel::EventCallbackResult InquiryResult(
107 hci::CommandChannel::EventCallbackResult InquiryResultWithRssi(
111 hci::CommandChannel::EventCallbackResult ExtendedInquiryResult(
154 hci::CommandChannel::WeakPtr cmd_;
220 hci::CommandChannel::EventHandlerId result_handler_id_;
221 hci::CommandChannel::EventHandlerId rssi_handler_id_;
222 hci::CommandChannel::EventHandlerId eir_handler_id_;
Dlow_energy_address_manager.h78 hci::CommandChannel::WeakPtr cmd_channel,
138 hci::CommandChannel::WeakPtr cmd_;
/external/pigweed/pw_bluetooth_sapphire/host/sco/
Dsco_connection_manager.cc132 hci::CommandChannel::EventHandlerId ScoConnectionManager::AddEventHandler( in AddEventHandler()
134 hci::CommandChannel::EventCallback event_cb) { in AddEventHandler()
136 hci::CommandChannel::EventHandlerId event_id = 0; in AddEventHandler()
140 return hci::CommandChannel::EventCallbackResult::kRemove; in AddEventHandler()
149 hci::CommandChannel::EventCallbackResult
159 return hci::CommandChannel::EventCallbackResult::kContinue; in OnSynchronousConnectionComplete()
171 return hci::CommandChannel::EventCallbackResult::kContinue; in OnSynchronousConnectionComplete()
183 return hci::CommandChannel::EventCallbackResult::kContinue; in OnSynchronousConnectionComplete()
196 return hci::CommandChannel::EventCallbackResult::kContinue; in OnSynchronousConnectionComplete()
221 return hci::CommandChannel::EventCallbackResult::kContinue; in OnSynchronousConnectionComplete()
[all …]
/external/pigweed/pw_bluetooth_sapphire/host/gap/
Dbredr_connection_manager.cc139 hci::CommandChannel::EventHandlerId BrEdrConnectionManager::AddEventHandler( in AddEventHandler()
140 const hci_spec::EventCode& code, hci::CommandChannel::EventCallback cb) { in AddEventHandler()
142 hci::CommandChannel::EventHandlerId event_id = 0; in AddEventHandler()
147 return hci::CommandChannel::EventCallbackResult::kRemove; in AddEventHandler()
984 hci::CommandChannel::EventCallbackResult
1002 return hci::CommandChannel::EventCallbackResult::kContinue; in OnAuthenticationComplete()
1006 return hci::CommandChannel::EventCallbackResult::kContinue; in OnAuthenticationComplete()
1015 hci::CommandChannel::EventCallbackResult
1026 return hci::CommandChannel::EventCallbackResult::kContinue; in OnConnectionRequest()
1037 return hci::CommandChannel::EventCallbackResult::kContinue; in OnConnectionRequest()
[all …]
/external/pigweed/pw_bluetooth_sapphire/host/transport/public/pw_bluetooth_sapphire/internal/host/transport/
Dcommand_channel.h46 class CommandChannel final {
49 explicit CommandChannel(pw::bluetooth::Controller* hci,
52 ~CommandChannel();
228 using WeakPtr = WeakSelf<CommandChannel>::WeakPtr;
257 TransactionData(CommandChannel* channel,
300 CommandChannel* channel_;
459 WeakSelf<CommandChannel> weak_ptr_factory_;
461 BT_DISALLOW_COPY_AND_ASSIGN_ALLOW_MOVE(CommandChannel);
Dtransport.h72 CommandChannel* command_channel() const { return command_channel_.get(); } in command_channel()
124 std::unique_ptr<CommandChannel> command_channel_;
/external/pigweed/pw_bluetooth_sapphire/host/hci/public/pw_bluetooth_sapphire/internal/host/hci/
Dacl_connection.h88 CommandChannel::EventCallbackResult OnEncryptionChangeEvent(
90 CommandChannel::EventCallbackResult OnEncryptionKeyRefreshCompleteEvent(
94 CommandChannel::EventHandlerId enc_change_id_;
95 CommandChannel::EventHandlerId enc_key_refresh_cmpl_id_;
Dsequential_command_runner.h58 explicit SequentialCommandRunner(hci::CommandChannel::WeakPtr cmd_channel);
144 CommandChannel::CommandCallback callback);
149 hci::CommandChannel::WeakPtr cmd_;
Dlow_energy_connection.h60 CommandChannel::EventCallbackResult OnLELongTermKeyRequestEvent(
64 CommandChannel::EventHandlerId le_ltk_request_id_;
/external/pigweed/pw_bluetooth_sapphire/host/sco/public/pw_bluetooth_sapphire/internal/host/sco/
Dsco_connection_manager.h140 hci::CommandChannel::EventHandlerId AddEventHandler(
142 hci::CommandChannel::EventCallback event_callback);
145 hci::CommandChannel::EventCallbackResult OnSynchronousConnectionComplete(
147 hci::CommandChannel::EventCallbackResult OnConnectionRequest(
194 std::vector<hci::CommandChannel::EventHandlerId> event_handler_ids_;
/external/pigweed/pw_bluetooth_sapphire/host/iso/public/pw_bluetooth_sapphire/internal/host/iso/
Diso_stream_manager.h72 hci::CommandChannel::EventHandlerId cis_request_handler_;
74 hci::CommandChannel::EventHandlerId disconnect_handler_;
76 hci::CommandChannel::WeakPtr cmd_;
/external/pigweed/pw_bluetooth_sapphire/host/iso/
Diso_stream.cc91 hci::CommandChannel::WeakPtr cmd,
167 hci::CommandChannel::WeakPtr cmd_;
169 hci::CommandChannel::EventHandlerId cis_established_handler_;
183 hci::CommandChannel::WeakPtr cmd, in IsoStreamImpl()
206 return hci::CommandChannel::EventCallbackResult::kRemove; in IsoStreamImpl()
210 return hci::CommandChannel::EventCallbackResult::kRemove; in IsoStreamImpl()
212 return hci::CommandChannel::EventCallbackResult::kContinue; in IsoStreamImpl()
579 hci::CommandChannel::WeakPtr cmd, in Create()
Diso_stream_manager.cc36 return hci::CommandChannel::EventCallbackResult::kRemove; in IsoStreamManager()
39 return hci::CommandChannel::EventCallbackResult::kContinue; in IsoStreamManager()
46 return hci::CommandChannel::EventCallbackResult::kRemove; in IsoStreamManager()
49 return hci::CommandChannel::EventCallbackResult::kContinue; in IsoStreamManager()
/external/pigweed/pw_bluetooth_sapphire/host/l2cap/public/pw_bluetooth_sapphire/internal/host/l2cap/
Dchannel.h280 hci::CommandChannel::WeakPtr cmd_channel,
291 hci::CommandChannel::WeakPtr cmd_channel,
346 hci::CommandChannel::WeakPtr cmd_channel,
377 hci::CommandChannel::WeakPtr cmd_channel_;
Da2dp_offload_manager.h48 explicit A2dpOffloadManager(hci::CommandChannel::WeakPtr cmd_channel) in A2dpOffloadManager()
79 hci::CommandChannel::WeakPtr cmd_channel_;

123