class EventRingHarness
Defined at line 44 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
Public Methods
void EventRingHarness ()
Defined at line 46 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
void SetUp ()
Defined at line 47 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
void TearDown ()
Defined at line 83 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
void Interrupt ()
Defined at line 85 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
void AddTRB (const TRB & trb)
Defined at line 87 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
void ConnectDevice ()
Defined at line 94 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
void DisconnectDevice ()
Defined at line 102 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
void MakeQuantumPort ()
Defined at line 107 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
void LinkUp ()
Defined at line 113 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
bool PortResetPending ()
Defined at line 118 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
void InsertPortStatusChangeEvent ()
Defined at line 120 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
TRB * trb ()
Defined at line 131 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
template <typename Callback>
zx_status_t AllocateRequest (std::optional<TestRequest> *request,uint32_tdevice_id,uint64_tdata_size,uint8_tendpoint,Callbackcallback)
Defined at line 135 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
std::unique_ptr<TRBContext> AllocateContext ()
Defined at line 147 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
void RequestQueue (usb_request_t * usb_request, const usb_request_complete_callback_t * complete_cb)
Defined at line 149 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
Request Borrow (TestRequest request)
Defined at line 154 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
zx_status_t InitRing (EventRing * ring)
Defined at line 172 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
void SetShortPacketHandler (fit::function<void (usb_xhci::TRB *, size_t, usb_xhci::TRB **)> handler)
Defined at line 196 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
void HandleShortPacket (TRB *short_trb,size_tshort_length,TRB **first_trb)
Defined at line 200 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
zx_status_t CompleteTRB (TRB * trb, std::unique_ptr<TRBContext> * context)
Defined at line 204 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
void SetCompletion (TRB * expected)
Defined at line 212 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
void AddContext (std::unique_ptr<TRBContext> context)
Defined at line 214 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
void AddCommand (std::unique_ptr<Command> command)
Defined at line 218 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
std::unique_ptr<Command> GetCommand ()
Defined at line 220 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
bool HasCommand ()
Defined at line 222 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
void InitSlot (uint8_t i)
Defined at line 224 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc
fdf_testing::ForegroundDriverTest<EmptyTestConfig> & driver_test ()
Defined at line 232 of file ../../src/devices/usb/drivers/xhci/tests/xhci-event-ring-test.cc