Home
last modified time | relevance | path

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

/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DGsmSmsCbMessage.java377 private int mRemainedBit; field in GsmSmsCbMessage.BitStreamReader
387 mRemainedBit = 8; in BitStreamReader()
399 if (count >= mRemainedBit) { in read()
400 val <<= mRemainedBit; in read() local
401 val |= mData[mCurrentOffset] & ((1 << mRemainedBit) - 1); in read()
402 count -= mRemainedBit; in read()
403 mRemainedBit = 8; in read()
407 val |= (mData[mCurrentOffset] & ((1 << mRemainedBit) - 1)) in read()
408 >> (mRemainedBit - count); in read()
409 mRemainedBit -= count; in read()
[all …]
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DGsmSmsCbMessage.java447 private int mRemainedBit; field in GsmSmsCbMessage.BitStreamReader
457 mRemainedBit = 8; in BitStreamReader()
469 if (count >= mRemainedBit) { in read()
470 val <<= mRemainedBit; in read() local
471 val |= mData[mCurrentOffset] & ((1 << mRemainedBit) - 1); in read()
472 count -= mRemainedBit; in read()
473 mRemainedBit = 8; in read()
477 val |= (mData[mCurrentOffset] & ((1 << mRemainedBit) - 1)) in read()
478 >> (mRemainedBit - count); in read()
479 mRemainedBit -= count; in read()
[all …]