Lines Matching refs:Base
48 Base::CloseFd(controlEp); in ~HdcDaemonUSB()
62 Base::TryCloseHandle((uv_handle_t *)&checkEP); in Stop()
113 ctxRecv.bufSizeMax = Base::GetUsbffsBulkSize(); in Initial()
205 Base::CloseFd(hUSB->bulkIn); in CloseEndpoint()
206 Base::CloseFd(hUSB->bulkOut); in CloseEndpoint()
208 Base::CloseFd(controlEp); in CloseEndpoint()
368 …Base::StartWorkThread(&daemon->loopMain, daemon->SessionWorkThread, Base::FinishWorkThread, hChild… in PrepareNewSession()
377 Base::SendToPollFd(hChildSession->ctrlFd[STREAM_MAIN], ctrl.data(), ctrl.size()); in PrepareNewSession()
380 Base::TryCloseHandle(reinterpret_cast<uv_handle_t *>(handle), Base::CloseTimerCallback); in PrepareNewSession()
382 Base::TimerUvTask(&daemon->loopMain, hChildSession, funcNewSessionUp); in PrepareNewSession()
570 …int nextReadSize = childRet == 0 ? hUSB->wMaxPacketSizeSend : std::min(childRet, Base::GetUsbffsBu… in OnUSBRead()
628 Base::CloseFd(thisClass->controlEp); in WatchEPTimer()