Home
last modified time | relevance | path

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

/developtools/hdc/src/test/
Dut_mod.cpp25 int bytesIO = 0; in TestBaseCommand() local
29 if ((bytesIO = Base::ReadBinFile((UT_TMP_PATH + "/base-discover.result").c_str(), in TestBaseCommand()
43 if ((bytesIO = Base::ReadBinFile((UT_TMP_PATH + "/base-list.result").c_str(), in TestBaseCommand()
54 if ((bytesIO = Base::ReadBinFile((UT_TMP_PATH + "/base-any.result").c_str(), in TestBaseCommand()
76 int bytesIO = 0; in TestShellExecute() local
84 if ((bytesIO = Base::ReadBinFile((UT_TMP_PATH + "/" + resultFile).c_str(), in TestShellExecute()
98 if ((bytesIO = Base::ReadBinFile((UT_TMP_PATH + "/" + resultFile).c_str(), in TestShellExecute()
/developtools/hdc/src/host/
Dserver_for_client.h37 int ReadChannel(HChannel hChannel, uint8_t *bufPtr, const int bytesIO) override;
44 int BindChannelToSession(HChannel hChannel, uint8_t *bufPtr, const int bytesIO);
56 int ChannelHandShake(HChannel hChannel, uint8_t *bufPtr, const int bytesIO);
Dserver_for_client.cpp704 int HdcServerForClient::BindChannelToSession(HChannel hChannel, uint8_t *bufPtr, const int bytesIO) in BindChannelToSession() argument
755 int HdcServerForClient::ChannelHandShake(HChannel hChannel, uint8_t *bufPtr, const int bytesIO) in ChannelHandShake() argument
758 rebuildHandshake.insert(rebuildHandshake.end(), bufPtr, bufPtr + bytesIO); in ChannelHandShake()
796 int HdcServerForClient::ReadChannel(HChannel hChannel, uint8_t *bufPtr, const int bytesIO) in ReadChannel() argument
800 return ChannelHandShake(hChannel, bufPtr, bytesIO); in ReadChannel()
806 … if (!SendToDaemon(hChannel, command, bufPtr + sizeof(uint16_t), bytesIO - sizeof(uint16_t))) { in ReadChannel()
813 … string retEcho = String2FormatCommand(reinterpret_cast<char *>(bufPtr), bytesIO, &formatCommand); in ReadChannel()
830 formatCommand.parameters = string(reinterpret_cast<char *>(bufPtr), bytesIO); in ReadChannel()
837 ret = bytesIO; in ReadChannel()
Dclient.cpp567 int HdcClient::ReadChannel(HChannel hChannel, uint8_t *buf, const int bytesIO) in ReadChannel() argument
576 WRITE_LOG(LOG_DEBUG, "Client ReadChannel :%d", bytesIO); in ReadChannel()
580 if (bytesIO >= static_cast<int>(sizeof(uint16_t))) { in ReadChannel()
586 … string version(reinterpret_cast<char *>(buf + sizeof(uint16_t)), bytesIO - sizeof(uint16_t)); in ReadChannel()
599 … if (!fileTask->CommandDispatch(cmd, buf + sizeof(uint16_t), bytesIO - sizeof(uint16_t))) { in ReadChannel()
610 … if (!appTask->CommandDispatch(cmd, buf + sizeof(uint16_t), bytesIO - sizeof(uint16_t))) { in ReadChannel()
617 string s(reinterpret_cast<char *>(buf), bytesIO); in ReadChannel()
Dclient.h42 int ReadChannel(HChannel hChannel, uint8_t *buf, const int bytesIO) override;
/developtools/hdc/src/daemon/
Ddaemon.h48 void JdwpNewFileDescriptor(const uint8_t *buf, const int bytesIO) override;
Ddaemon.cpp465 void HdcDaemon::JdwpNewFileDescriptor(const uint8_t *buf, const int bytesIO) in JdwpNewFileDescriptor() argument
/developtools/hdc/src/common/
Dchannel.h44 virtual int ReadChannel(HChannel hChannel, uint8_t *bufPtr, const int bytesIO) in ReadChannel() argument
Dsession.h142 virtual void JdwpNewFileDescriptor(const uint8_t *buf, const int bytesIO) in JdwpNewFileDescriptor() argument
194 const int bytesIO);
Dsession.cpp980 const int bytesIO) in DispatchSessionThreadCommand() argument
987 JdwpNewFileDescriptor(baseBuf, bytesIO); in DispatchSessionThreadCommand()