Home
last modified time | relevance | path

Searched refs:CtxFile (Results 1 – 10 of 10) sorted by relevance

/developtools/hdc/src/common/
Dfile.h30 void TransferNext(CtxFile *context);
32 void CheckMaster(CtxFile *context) override;
33 void WhenTransferFinish(CtxFile *context) override;
34 bool BeginTransfer(CtxFile *context, const string &command);
35 void TransferSummary(CtxFile *context);
36 bool SetMasterParameters(CtxFile *context, const char *command, int argc, char **argv);
Dtransfer.h62 struct CtxFile { // The structure cannot be initialized by MEMSET, will rename to CtxTransfer struct
104 virtual void CheckMaster(CtxFile *context) in CheckMaster() argument
107 virtual void WhenTransferFinish(CtxFile *context) in WhenTransferFinish()
111 bool ResetCtx(CtxFile *context, bool full = false);
115 void SetFileTime(CtxFile *context);
118 CtxFile ctxNow;
129 CtxFile *context;
133 int SimpleFileIO(CtxFile *context, uint64_t index, uint8_t *sendBuf, int bytes);
134 bool SendIOPayload(CtxFile *context, uint64_t index, uint8_t *data, int dataSize);
135 bool RecvIOPayload(CtxFile *context, uint8_t *data, int dataSize);
Dtransfer.cpp46 bool HdcTransferBase::ResetCtx(CtxFile *context, bool full) in ResetCtx()
64 int HdcTransferBase::SimpleFileIO(CtxFile *context, uint64_t index, uint8_t *sendBuf, int bytes) in SimpleFileIO()
126 CtxFile *context = (CtxFile *)req->data; in OnFileClose()
138 void HdcTransferBase::SetFileTime(CtxFile *context) in SetFileTime()
153 bool HdcTransferBase::SendIOPayload(CtxFile *context, uint64_t index, uint8_t *data, int dataSize) in SendIOPayload()
206 CtxFile *context = reinterpret_cast<CtxFile *>(contextIO->context); in OnFileIO()
283 CtxFile *context = (CtxFile *)req->data; in OnFileOpen()
622 bool HdcTransferBase::RecvIOPayload(CtxFile *context, uint8_t *data, int dataSize) in RecvIOPayload()
680 CtxFile *context = &ctxNow; in CommandDispatch()
693 CtxFile *context = &ctxNow; in CommandDispatch()
Dfile.cpp37 bool HdcFile::BeginTransfer(CtxFile *context, const string &command) in BeginTransfer()
68 bool HdcFile::SetMasterParameters(CtxFile *context, const char *command, int argc, char **argv) in SetMasterParameters()
150 void HdcFile::CheckMaster(CtxFile *context) in CheckMaster()
162 void HdcFile::WhenTransferFinish(CtxFile *context) in WhenTransferFinish()
171 void HdcFile::TransferSummary(CtxFile *context) in TransferSummary()
296 void HdcFile::TransferNext(CtxFile *context) in TransferNext()
/developtools/hdc/src/host/
Dhost_app.h27 bool BeginInstall(CtxFile *context, const char *command);
28 void CheckMaster(CtxFile *context) override;
30 void RunQueue(CtxFile *context);
31 bool BeginSideload(CtxFile *context, const char *localPath);
Dhost_updater.h32 void CheckMaster(CtxFile *context) override;
38 void RunQueue(CtxFile &context);
Dhost_app.cpp29 bool HdcHostApp::BeginInstall(CtxFile *context, const char *command) in BeginInstall()
80 bool HdcHostApp::BeginSideload(CtxFile *context, const char *localPath) in BeginSideload()
90 void HdcHostApp::RunQueue(CtxFile *context) in RunQueue()
98 void HdcHostApp::CheckMaster(CtxFile *context) in CheckMaster()
Dhost_updater.cpp79 void HostUpdater::RunQueue(CtxFile &context) in RunQueue()
129 void HostUpdater::CheckMaster(CtxFile *context) in CheckMaster()
/developtools/hdc/src/daemon/
Ddaemon_app.h28 void WhenTransferFinish(CtxFile *context) override;
Ddaemon_app.cpp166 void HdcDaemonApp::WhenTransferFinish(CtxFile *context) in WhenTransferFinish()