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);
Dclient.cpp418 int HdcClient::ReadChannel(HChannel hChannel, uint8_t *buf, const int bytesIO) in ReadChannel() argument
427 WRITE_LOG(LOG_DEBUG, "Client ReadChannel :%d", bytesIO); in ReadChannel()
431 if (bytesIO >= static_cast<int>(sizeof(uint16_t))) { in ReadChannel()
437 … string version(reinterpret_cast<char *>(buf + sizeof(uint16_t)), bytesIO - sizeof(uint16_t)); in ReadChannel()
450 … if (!fileTask->CommandDispatch(cmd, buf + sizeof(uint16_t), bytesIO - sizeof(uint16_t))) { in ReadChannel()
461 … if (!appTask->CommandDispatch(cmd, buf + sizeof(uint16_t), bytesIO - sizeof(uint16_t))) { in ReadChannel()
468 string s(reinterpret_cast<char *>(buf), bytesIO); in ReadChannel()
Dserver_for_client.cpp651 int HdcServerForClient::BindChannelToSession(HChannel hChannel, uint8_t *bufPtr, const int bytesIO) in BindChannelToSession() argument
702 int HdcServerForClient::ChannelHandShake(HChannel hChannel, uint8_t *bufPtr, const int bytesIO) in ChannelHandShake() argument
705 rebuildHandshake.insert(rebuildHandshake.end(), bufPtr, bufPtr + bytesIO); in ChannelHandShake()
743 int HdcServerForClient::ReadChannel(HChannel hChannel, uint8_t *bufPtr, const int bytesIO) in ReadChannel() argument
747 return ChannelHandShake(hChannel, bufPtr, bytesIO); in ReadChannel()
753 … if (!SendToDaemon(hChannel, command, bufPtr + sizeof(uint16_t), bytesIO - sizeof(uint16_t))) { in ReadChannel()
760 … string retEcho = String2FormatCommand(reinterpret_cast<char *>(bufPtr), bytesIO, &formatCommand); in ReadChannel()
777 formatCommand.parameters = string(reinterpret_cast<char *>(bufPtr), bytesIO); in ReadChannel()
784 ret = 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.cpp400 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
193 const int bytesIO);
Dsession.cpp969 const int bytesIO) in DispatchSessionThreadCommand() argument
976 JdwpNewFileDescriptor(baseBuf, bytesIO); in DispatchSessionThreadCommand()