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.cpp712 int HdcServerForClient::BindChannelToSession(HChannel hChannel, uint8_t *bufPtr, const int bytesIO) in BindChannelToSession() argument
767 int HdcServerForClient::ChannelHandShake(HChannel hChannel, uint8_t *bufPtr, const int bytesIO) in ChannelHandShake() argument
770 rebuildHandshake.insert(rebuildHandshake.end(), bufPtr, bufPtr + bytesIO); in ChannelHandShake()
809 int HdcServerForClient::ReadChannel(HChannel hChannel, uint8_t *bufPtr, const int bytesIO) in ReadChannel() argument
813 return ChannelHandShake(hChannel, bufPtr, bytesIO); in ReadChannel()
819 … if (!SendToDaemon(hChannel, command, bufPtr + sizeof(uint16_t), bytesIO - sizeof(uint16_t))) { in ReadChannel()
826 … string retEcho = String2FormatCommand(reinterpret_cast<char *>(bufPtr), bytesIO, &formatCommand); in ReadChannel()
844 formatCommand.parameters = string(reinterpret_cast<char *>(bufPtr), bytesIO); in ReadChannel()
851 ret = bytesIO; in ReadChannel()
Dclient.cpp571 int HdcClient::ReadChannel(HChannel hChannel, uint8_t *buf, const int bytesIO) in ReadChannel() argument
580 WRITE_LOG(LOG_DEBUG, "Client ReadChannel :%d", bytesIO); in ReadChannel()
584 if (bytesIO >= static_cast<int>(sizeof(uint16_t))) { in ReadChannel()
590 … string version(reinterpret_cast<char *>(buf + sizeof(uint16_t)), bytesIO - sizeof(uint16_t)); in ReadChannel()
603 … if (!fileTask->CommandDispatch(cmd, buf + sizeof(uint16_t), bytesIO - sizeof(uint16_t))) { in ReadChannel()
614 … if (!appTask->CommandDispatch(cmd, buf + sizeof(uint16_t), bytesIO - sizeof(uint16_t))) { in ReadChannel()
621 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.cpp465 void HdcDaemon::JdwpNewFileDescriptor(const uint8_t *buf, const int bytesIO) in JdwpNewFileDescriptor() argument
470 if (bytesIO < cnt) { in JdwpNewFileDescriptor()
471 WRITE_LOG(LOG_FATAL, "jdwp newfd data insufficient bytesIO:%d", bytesIO); in JdwpNewFileDescriptor()
480 if (bytesIO < cnt) { in JdwpNewFileDescriptor()
481 WRITE_LOG(LOG_FATAL, "ark newfd data insufficient bytesIO:%d", bytesIO); in JdwpNewFileDescriptor()
486 … reinterpret_cast<char *>(const_cast<uint8_t *>(buf + 5)), bytesIO - 5); // 5 : fd offset in JdwpNewFileDescriptor()
Ddaemon.h48 void JdwpNewFileDescriptor(const uint8_t *buf, const int bytesIO) override;
/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.cpp1000 const int bytesIO) in DispatchSessionThreadCommand() argument
1008 JdwpNewFileDescriptor(baseBuf, bytesIO); in DispatchSessionThreadCommand()