/developtools/hdc/src/host/ |
H A D | server_for_client.h | 37 int ReadChannel(HChannel hChannel, uint8_t *bufPtr, const int bytesIO) override; 44 int BindChannelToSession(HChannel hChannel, uint8_t *bufPtr, const int bytesIO); 57 int ChannelHandShake(HChannel hChannel, uint8_t *bufPtr, const int bytesIO);
|
H A D | client.cpp | 647 int HdcClient::ReadChannel(HChannel hChannel, uint8_t *buf, const int bytesIO) in ReadChannel() argument 656 WRITE_LOG(LOG_DEBUG, "Client ReadChannel :%d", bytesIO); in ReadChannel() 660 if (bytesIO >= static_cast<int>(sizeof(uint16_t))) { in ReadChannel() 666 string version(reinterpret_cast<char *>(buf + sizeof(uint16_t)), bytesIO - sizeof(uint16_t)); in ReadChannel() 679 if (!fileTask->CommandDispatch(cmd, buf + sizeof(uint16_t), bytesIO - sizeof(uint16_t))) { in ReadChannel() 690 if (!appTask->CommandDispatch(cmd, buf + sizeof(uint16_t), bytesIO - sizeof(uint16_t))) { in ReadChannel() 697 string s(reinterpret_cast<char *>(buf), bytesIO); in ReadChannel() local
|
H A D | server_for_client.cpp | 728 int HdcServerForClient::BindChannelToSession(HChannel hChannel, uint8_t *bufPtr, const int bytesIO) in BindChannelToSession() argument 791 int HdcServerForClient::ChannelHandShake(HChannel hChannel, uint8_t *bufPtr, const int bytesIO) in ChannelHandShake() argument 794 rebuildHandshake.insert(rebuildHandshake.end(), bufPtr, bufPtr + bytesIO); in ChannelHandShake() 835 int HdcServerForClient::ReadChannel(HChannel hChannel, uint8_t *bufPtr, const int bytesIO) in ReadChannel() argument 839 return ChannelHandShake(hChannel, bufPtr, bytesIO); in ReadChannel() 851 if (!SendToDaemon(hChannel, command, bufPtr + sizeof(uint16_t), bytesIO - sizeof(uint16_t))) { in ReadChannel() 858 string retEcho = String2FormatCommand(reinterpret_cast<char *>(bufPtr), bytesIO, &formatCommand); in ReadChannel() 876 formatCommand.parameters = string(reinterpret_cast<char *>(bufPtr), bytesIO); in ReadChannel() 883 ret = bytesIO; in ReadChannel()
|
H A D | client.h | 43 int ReadChannel(HChannel hChannel, uint8_t *buf, const int bytesIO) override;
|
/developtools/hdc/src/test/ |
H A D | ut_mod.cpp | 25 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/common/ |
H A D | session.h | 145 virtual void JdwpNewFileDescriptor(const uint8_t *buf, const int bytesIO) in JdwpNewFileDescriptor() argument 197 const int bytesIO);
|
H A D | channel.h | 44 virtual int ReadChannel(HChannel hChannel, uint8_t *bufPtr, const int bytesIO) in ReadChannel() argument
|
H A D | session.cpp | 1017 const int bytesIO) in DispatchSessionThreadCommand() 1025 JdwpNewFileDescriptor(baseBuf, bytesIO); in DispatchSessionThreadCommand() 1016 DispatchSessionThreadCommand(HSession hSession, const uint8_t *baseBuf, const int bytesIO) DispatchSessionThreadCommand() argument
|
/developtools/hdc/src/daemon/ |
H A D | daemon.cpp | 958 void HdcDaemon::JdwpNewFileDescriptor(const uint8_t *buf, const int bytesIO) in InitMod() argument 963 if (bytesIO < cnt) { in InitMod() 964 WRITE_LOG(LOG_FATAL, "jdwp newfd data insufficient bytesIO:%d", bytesIO); in InitMod() 973 if (bytesIO < cnt) { in InitMod() 974 WRITE_LOG(LOG_FATAL, "ark newfd data insufficient bytesIO:%d", bytesIO); in InitMod() 979 reinterpret_cast<char *>(const_cast<uint8_t *>(buf + 5)), bytesIO - 5); // 5 : fd offset in InitMod()
|
H A D | daemon.h | 70 void JdwpNewFileDescriptor(const uint8_t *buf, const int bytesIO) override;
|