Home
last modified time | relevance | path

Searched refs:mNextReadExpectedLen (Results 1 – 2 of 2) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleCocServerService.java178 private int mNextReadExpectedLen = -1; field in BleCocServerService
540 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 …]
DBleCocClientService.java151 private int mNextReadExpectedLen = -1; field in BleCocClientService
534 + 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 …]