Searched refs:bytesToInt (Results 1 – 5 of 5) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/asn1/ |
D | IccUtilsTest.java | 34 assertEquals(0, IccUtils.bytesToInt(new byte[] {}, 0, 0)); in testBytesToInt() 35 assertEquals(0, IccUtils.bytesToInt(new byte[] {0}, 0, 0)); in testBytesToInt() 36 assertEquals(0x1234, IccUtils.bytesToInt(new byte[] {0x12, 0x34}, 0, 2)); in testBytesToInt() 37 assertEquals(0x34, IccUtils.bytesToInt(new byte[] {0x12, 0x34}, 1, 1)); in testBytesToInt() 38 assertEquals(0xFF, IccUtils.bytesToInt(new byte[] {-2, 0, -1, -3, -4}, 1, 2)); in testBytesToInt() 39 assertEquals(0x7FFFFFFF, IccUtils.bytesToInt(new byte[] {0x7F, -1, -1, -1}, 0, 4)); in testBytesToInt() 40 assertEquals(0x80, IccUtils.bytesToInt(new byte[] {0x00, -128}, 0, 2)); in testBytesToInt() 46 IccUtils.bytesToInt(new byte[] {1, 2, 3, 4, 4}, 0, 5); in testBytesToInt_IllegalLength() 52 IccUtils.bytesToInt(new byte[] {1, 2}, 0, 3); in testBytesToInt_IndexOutOfBounds() 58 IccUtils.bytesToInt(new byte[] {-1, 1, 2, 3}, 0, 4); in testBytesToInt_NegativeResult()
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/ |
D | Asn1Decoder.java | 106 tag = IccUtils.bytesToInt(mSrc, tagStart, offset - tagStart); in nextNode() 127 dataLen = IccUtils.bytesToInt(mSrc, offset, lenLen); in nextNode()
|
D | Asn1Node.java | 402 return IccUtils.bytesToInt(mDataBytes, mDataOffset, mDataLength); in asInteger() 482 bits = IccUtils.bytesToInt(mDataBytes, mDataOffset + 1, mDataLength - 1); in asBits()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | TimerRecordingAction.java | 116 tv().announceTimerRecordingResult(mRecorderAddress, bytesToInt(timerStatusData)); in handleTimerStatus() 147 private static int bytesToInt(byte[] data) { in bytesToInt() method in TimerRecordingAction
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/ |
D | IccUtils.java | 658 public static int bytesToInt(byte[] src, int offset, int length) { in bytesToInt() method in IccUtils
|