Home
last modified time | relevance | path

Searched defs:ScopedAioContext (Results 1 – 1 of 1) sorted by relevance

/system/core/adb/daemon/
Dusb.cpp128 struct ScopedAioContext { struct
130 ~ScopedAioContext() { reset(); } in ~ScopedAioContext() argument
132 ScopedAioContext(ScopedAioContext&& move) { reset(move.release()); } in ScopedAioContext() function
135 ScopedAioContext& operator=(ScopedAioContext&& move) { in operator =() argument
141 static ScopedAioContext Create(size_t max_events) { in Create() argument
151 aio_context_t release() { in release()
157 void reset(aio_context_t new_context = 0) { in reset()
165 aio_context_t get() { return context_; } in get()
191 aio_context_ = ScopedAioContext::Create(kUsbReadQueueDepth + kUsbWriteQueueDepth); in UsbFfsConnection() argument