Home
last modified time | relevance | path

Searched refs:EventCode (Results 1 – 25 of 43) sorted by relevance

12

/external/pigweed/pw_bluetooth_sapphire/host/hci-spec/public/pw_bluetooth_sapphire/internal/host/hci-spec/
Dprotocol.h48 using EventCode = uint8_t; variable
471 inline constexpr EventCode kVendorDebugEventCode = 0xFF;
475 inline constexpr EventCode kInquiryCompleteEventCode = 0x01;
479 inline constexpr EventCode kInquiryResultEventCode = 0x02;
483 inline constexpr EventCode kConnectionCompleteEventCode = 0x03;
487 inline constexpr EventCode kConnectionRequestEventCode = 0x04;
491 inline constexpr EventCode kDisconnectionCompleteEventCode = 0x05;
495 inline constexpr EventCode kAuthenticationCompleteEventCode = 0x06;
499 inline constexpr EventCode kRemoteNameRequestCompleteEventCode = 0x07;
503 inline constexpr EventCode kEncryptionChangeEventCode = 0x08;
[all …]
/external/pigweed/pw_bluetooth_sapphire/host/transport/public/pw_bluetooth_sapphire/internal/host/transport/
Dcommand_channel.h103 hci_spec::EventCode complete_event_code =
114 hci_spec::EventCode le_meta_subevent_code);
124 hci_spec::EventCode complete_event_code =
133 std::optional<hci_spec::EventCode> le_meta_subevent_code,
196 EventHandlerId AddEventHandler(hci_spec::EventCode event_code,
204 hci_spec::EventCode le_meta_subevent_code, EventCallback event_callback);
210 EventHandlerId AddVendorEventHandler(hci_spec::EventCode vendor_subevent_code,
235 hci_spec::EventCode complete_event_code,
236 std::optional<hci_spec::EventCode> le_meta_subevent_code = std::nullopt,
260 hci_spec::EventCode complete_event_code,
[all …]
Dcontrol_packets.h93 static EventPacketT<T> New(pw::bluetooth::emboss::EventCode event_code) { in New()
105 static EventPacketT<T> New(hci_spec::EventCode event_code) { in New()
122 static EventPacketT<T> New(hci_spec::EventCode event_code, in New()
134 hci_spec::EventCode event_code() const;
/external/pigweed/pw_bluetooth_sapphire/host/transport/
Dcommand_channel.cc30 static bool IsAsync(hci_spec::EventCode code) { in IsAsync()
59 hci_spec::EventCode complete_event_code, in TransactionData()
60 std::optional<hci_spec::EventCode> le_meta_subevent_code, in TransactionData()
151 const hci_spec::EventCode complete_event_code) { in SendCommand()
159 hci_spec::EventCode le_meta_subevent_code) { in SendLeAsyncCommand()
167 const hci_spec::EventCode complete_event_code, in SendExclusiveCommand()
179 std::optional<hci_spec::EventCode> le_meta_subevent_code, in SendLeAsyncExclusiveCommand()
191 hci_spec::EventCode complete_event_code, in SendExclusiveCommandInternal()
192 std::optional<hci_spec::EventCode> le_meta_subevent_code, in SendExclusiveCommandInternal()
271 hci_spec::EventCode event_code, EventCallback event_callback) { in AddEventHandler()
[all …]
Dcontrol_packets.cc61 hci_spec::EventCode EventPacket::event_code() const { in event_code()
126 hci_spec::EventCode subevent_code = in StatusCode()
148 hci_spec::EventCode subevent_code = in StatusCode()
Dcommand_channel_test.cc113 EXPECT_EQ(pw::bluetooth::emboss::EventCode::COMMAND_COMPLETE, in TEST_F()
412 constexpr hci_spec::EventCode kTestEventCode0 = 0xFE; in TEST_F()
513 constexpr hci_spec::EventCode kTestEventCode0 = 0xF0; in TEST_F()
609 constexpr hci_spec::EventCode kTestEventCode0 = 0xFD; in TEST_F()
610 constexpr hci_spec::EventCode kTestEventCode1 = 0xFE; in TEST_F()
735 constexpr hci_spec::EventCode kTestEventCode = 0xFE; in TEST_F()
1119 constexpr hci_spec::EventCode kTestSubeventCode0 = 0x10; in TEST_F()
1120 constexpr hci_spec::EventCode kTestSubeventCode1 = 0x12; in TEST_F()
1190 constexpr hci_spec::EventCode kTestSubeventCode0 = 0xFE; in TEST_F()
1191 constexpr hci_spec::EventCode kTestSubeventCode1 = 0xFF; in TEST_F()
[all …]
/external/pigweed/pw_bluetooth_sapphire/host/hci/public/pw_bluetooth_sapphire/internal/host/hci/
Dsequential_command_runner.h73 hci_spec::EventCode complete_event_code =
81 hci_spec::EventCode le_meta_subevent_code,
127 hci_spec::EventCode complete_event_code;
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/sampling_tests/
Dmmcra_bhrb_disable_no_branch_test.c16 #define EventCode 0x500fa macro
35 event_init_sampling(&event, EventCode); in mmcra_bhrb_disable_no_branch_test()
Dmmcra_bhrb_disable_test.c16 #define EventCode 0x500fa macro
35 event_init_sampling(&event, EventCode); in mmcra_bhrb_disable_test()
Dmmcra_bhrb_ind_call_test.c16 #define EventCode 0x500fa macro
38 event_init_sampling(&event, EventCode); in mmcra_bhrb_ind_call_test()
Dmmcr1_comb_test.c14 #define EventCode 0x46880 macro
32 event_init_sampling(&event, EventCode); in mmcr1_comb()
Dmmcra_bhrb_any_test.c16 #define EventCode 0x500fa macro
34 event_init_sampling(&event, EventCode); in mmcra_bhrb_any_test()
Dmmcra_bhrb_cond_test.c16 #define EventCode 0x500fa macro
38 event_init_sampling(&event, EventCode); in mmcra_bhrb_cond_test()
Dmmcr3_src_test.c16 #define EventCode 0x1340000001c040 macro
33 event_init_sampling(&event, EventCode); in mmcr3_src()
Dmmcr2_l2l3_test.c14 #define EventCode 0x010000046080 macro
34 event_init_sampling(&event, EventCode); in mmcr2_l2l3()
Dmmcr1_sel_unit_cache_test.c16 #define EventCode 0x21c040 macro
36 event_init_sampling(&event, EventCode); in mmcr1_sel_unit_cache()
Dbhrb_filter_map_test.c39 #define EventCode 0x1001e macro
56 event_init(&event, EventCode); in bhrb_filter_map_test()
Dmmcra_thresh_marked_sample_test.c18 #define EventCode 0x35340401e0 macro
33 event_init_sampling(&event, EventCode); in mmcra_thresh_marked_sample()
/external/pigweed/pw_bluetooth_proxy/
Dproxy_host.cc120 case emboss::EventCode::NUMBER_OF_COMPLETED_PACKETS: { in HandleEventFromController()
125 case emboss::EventCode::DISCONNECTION_COMPLETE: { in HandleEventFromController()
131 case emboss::EventCode::COMMAND_COMPLETE: { in HandleEventFromController()
135 case emboss::EventCode::CONNECTION_COMPLETE: { in HandleEventFromController()
139 case emboss::EventCode::LE_META_EVENT: { in HandleEventFromController()
168 case emboss::EventCode::DISCONNECTION_COMPLETE: { in HandleEventFromHost()
Dproxy_host_test.cc59 h4_packet, emboss::EventCode::INQUIRY_COMPLETE) in CreateNonInteractingToHostBuffer()
216 h4_packet, emboss::EventCode::COMMAND_COMPLETE)); in TEST_F()
466 valid_packet, emboss::EventCode::COMMAND_COMPLETE)); in TEST_F()
533 h4_packet, emboss::EventCode::COMMAND_COMPLETE)); in TEST_F()
582 h4_packet, emboss::EventCode::COMMAND_COMPLETE)); in TEST_F()
633 h4_packet, emboss::EventCode::COMMAND_COMPLETE)); in TEST_F()
682 h4_packet, emboss::EventCode::COMMAND_COMPLETE)); in TEST_F()
728 h4_packet, emboss::EventCode::COMMAND_COMPLETE)); in TEST_F()
776 h4_packet, emboss::EventCode::COMMAND_COMPLETE)); in TEST_F()
850 emboss::EventCode::NUMBER_OF_COMPLETED_PACKETS) { in TEST_F()
[all …]
Dtest_utils.cc167 h4_packet, emboss::EventCode::COMMAND_COMPLETE)); in SendLeReadBufferResponseFromController()
186 h4_packet, emboss::EventCode::COMMAND_COMPLETE)); in SendReadBufferResponseFromController()
209 h4_packet, emboss::EventCode::CONNECTION_COMPLETE)); in SendConnectionCompleteEvent()
229 emboss::EventCode::LE_META_EVENT); in SendLeConnectionCompleteEvent()
255 view.header().event_code().Write(emboss::EventCode::DISCONNECTION_COMPLETE); in SendDisconnectionCompleteEvent()
/external/python/bumble/rust/src/internal/hci/
Dtests.rs16 packets::{Event, EventBuilder, EventCode, Sco},
65 event_code: EventCode::InquiryComplete, in test_packet_roundtrip_with_type()
/external/pigweed/pw_bluetooth/
Demboss_test.cc229 cpp23::to_underlying(emboss::EventCode::NUMBER_OF_COMPLETED_PACKETS)); in TEST()
231 emboss::EventCode::NUMBER_OF_COMPLETED_PACKETS); in TEST()
234 cpp23::to_underlying(emboss::EventCode::NUMBER_OF_COMPLETED_PACKETS)); in TEST()
238 cpp23::to_underlying(emboss::EventCode::NUMBER_OF_COMPLETED_PACKETS)); in TEST()
240 header.event_code().Write(emboss::EventCode::CONNECTION_REQUEST); in TEST()
242 cpp23::to_underlying(emboss::EventCode::CONNECTION_REQUEST)); in TEST()
/external/pigweed/pw_bluetooth_sapphire/host/gap/public/pw_bluetooth_sapphire/internal/host/gap/
Dsecure_simple_pairing_state.h403 hci_spec::EventCode expected_event;
452 static State GetStateForPairingEvent(hci_spec::EventCode event_code);
572 hci_spec::EventCode GetExpectedEvent(
/external/pigweed/pw_bluetooth_sapphire/host/hci/
Dsequential_command_runner.cc37 hci_spec::EventCode complete_event_code, in QueueCommand()
54 hci_spec::EventCode le_meta_subevent_code, in QueueLeAsyncCommand()

12