HomeSort by relevance Sort by last modified time
    Searched refs:kMagicHandshakeLen (Results 1 - 7 of 7) sorted by null

  /art/runtime/jdwp/
jdwp_priv.h 36 #define kMagicHandshakeLen (sizeof(kMagicHandshake)-1)
jdwp_adb.cc 415 if (memcmp(input_buffer_, kMagicHandshake, kMagicHandshakeLen) != 0) {
421 int cc = TEMP_FAILURE_RETRY(write(clientSock, input_buffer_, kMagicHandshakeLen));
422 if (cc != kMagicHandshakeLen) {
423 PLOG(ERROR) << "Failed writing handshake bytes (" << cc << " of " << kMagicHandshakeLen << ")";
427 ConsumeBytes(kMagicHandshakeLen);
jdwp_socket.cc 472 if (memcmp(input_buffer_, kMagicHandshake, kMagicHandshakeLen) != 0) {
478 int cc = TEMP_FAILURE_RETRY(write(clientSock, input_buffer_, kMagicHandshakeLen));
479 if (cc != kMagicHandshakeLen) {
480 PLOG(ERROR) << "Failed writing handshake bytes (" << cc << " of " << kMagicHandshakeLen << ")";
484 ConsumeBytes(kMagicHandshakeLen);
jdwp_main.cc 89 return (input_count_ >= kMagicHandshakeLen);
  /dalvik/vm/jdwp/
JdwpAdb.cpp 45 #define kMagicHandshakeLen (sizeof(kMagicHandshake)-1)
393 return (netState->inputCount >= (int) kMagicHandshakeLen);
625 kMagicHandshake, kMagicHandshakeLen) != 0)
633 kMagicHandshakeLen));
634 if (cc != kMagicHandshakeLen) {
636 strerror(errno), cc, (int) kMagicHandshakeLen);
640 consumeBytes(netState, kMagicHandshakeLen);
JdwpSocket.cpp 41 #define kMagicHandshakeLen (sizeof(kMagicHandshake)-1)
512 return (netState->inputCount >= (int) kMagicHandshakeLen);
785 kMagicHandshake, kMagicHandshakeLen) != 0)
793 kMagicHandshakeLen));
794 if (cc != kMagicHandshakeLen) {
796 strerror(errno), cc, (int) kMagicHandshakeLen);
800 consumeBytes(netState, kMagicHandshakeLen);
  /art/jdwpspy/
Net.cpp 28 #define kMagicHandshakeLen 14 /* "JDWP-Handshake" */
422 return (pPeer->inputCount >= kMagicHandshakeLen);
561 kMagicHandshakeLen) != kMagicHandshakeLen)
567 consumeBytes(pReadPeer, kMagicHandshakeLen);

Completed in 2292 milliseconds