Searched refs:mNextReadExpectedLen (Results 1 – 2 of 2) sorted by relevance
147 private int mNextReadExpectedLen = -1; field in BleCocClientService531 + mTotalReadLen + ", mNextReadExpectedLen=" + mNextReadExpectedLen); in handleMessageRead()534 if (mNextReadExpectedLen == mTotalReadLen) { in handleMessageRead()536 mNextReadExpectedLen = -1; in handleMessageRead()552 mNextReadExpectedLen = -1; in handleMessageRead()555 } else if (mNextReadExpectedLen > mTotalReadLen) { in handleMessageRead()557 mNextReadExpectedLen = -1; in handleMessageRead()560 } else if (mNextReadExpectedLen < mTotalReadLen) { in handleMessageRead()562 + ", expected len=" + mNextReadExpectedLen); in handleMessageRead()670 mNextReadExpectedLen = 8; in readData8bytes()[all …]
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 …]