Searched refs:mNextReadExpectedLen (Results 1 – 2 of 2) sorted by relevance
178 private int mNextReadExpectedLen = -1; field in BleCocServerService540 mNextReadExpectedLen = 8; in readData8bytes()547 mNextReadExpectedLen = BleCocServerService.TEST_DATA_EXCHANGE_BUFSIZE; in readDataLargeBuf()598 + mTotalReadLen + ", mNextReadExpectedLen=" + mNextReadExpectedLen); in handleMessageRead()601 if (mNextReadExpectedLen == mTotalReadLen) { in handleMessageRead()603 mNextReadExpectedLen = -1; in handleMessageRead()618 mNextReadExpectedLen = -1; in handleMessageRead()621 } else if (mNextReadExpectedLen > mTotalReadLen) { in handleMessageRead()623 mNextReadExpectedLen = -1; in handleMessageRead()626 } else if (mNextReadExpectedLen < mTotalReadLen) { in handleMessageRead()[all …]
151 private int mNextReadExpectedLen = -1; field in BleCocClientService534 + mTotalReadLen + ", mNextReadExpectedLen=" + mNextReadExpectedLen); in handleMessageRead()537 if (mNextReadExpectedLen == mTotalReadLen) { in handleMessageRead()539 mNextReadExpectedLen = -1; in handleMessageRead()555 mNextReadExpectedLen = -1; in handleMessageRead()558 } else if (mNextReadExpectedLen > mTotalReadLen) { in handleMessageRead()560 mNextReadExpectedLen = -1; in handleMessageRead()563 } else if (mNextReadExpectedLen < mTotalReadLen) { in handleMessageRead()565 + ", expected len=" + mNextReadExpectedLen); in handleMessageRead()673 mNextReadExpectedLen = 8; in readData8bytes()[all …]