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.java385 private int mRemainedBit; field in GsmSmsCbMessage.BitStreamReader
395 mRemainedBit = 8; in BitStreamReader()
407 if (count >= mRemainedBit) { in read()
408 val <<= mRemainedBit; in read() local
409 val |= mData[mCurrentOffset] & ((1 << mRemainedBit) - 1); in read()
410 count -= mRemainedBit; in read()
411 mRemainedBit = 8; in read()
415 val |= (mData[mCurrentOffset] & ((1 << mRemainedBit) - 1)) in read()
416 >> (mRemainedBit - count); in read()
417 mRemainedBit -= count; in read()
[all …]
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DGsmSmsCbMessage.java441 private int mRemainedBit; field in GsmSmsCbMessage.BitStreamReader
451 mRemainedBit = 8; in BitStreamReader()
463 if (count >= mRemainedBit) { in read()
464 val <<= mRemainedBit; in read() local
465 val |= mData[mCurrentOffset] & ((1 << mRemainedBit) - 1); in read()
466 count -= mRemainedBit; in read()
467 mRemainedBit = 8; in read()
471 val |= (mData[mCurrentOffset] & ((1 << mRemainedBit) - 1)) in read()
472 >> (mRemainedBit - count); in read()
473 mRemainedBit -= count; in read()
[all …]