Searched refs:bytesToRawLong (Results 1 – 3 of 3) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/asn1/ |
D | IccUtilsTest.java | 64 assertEquals(0, IccUtils.bytesToRawLong(new byte[] {}, 0, 0)); in testBytesToLong() 65 assertEquals(0, IccUtils.bytesToRawLong(new byte[] {0}, 0, 0)); in testBytesToLong() 68 IccUtils.bytesToRawLong(new byte[] {0x12, 0x34, 0x56, 0x78}, 0, 4)); in testBytesToLong() 69 assertEquals(0x34, IccUtils.bytesToRawLong(new byte[] {0x12, 0x34, 0x56, 0x78}, 1, 1)); in testBytesToLong() 70 assertEquals(0xFF, IccUtils.bytesToRawLong(new byte[] {-2, 0, -1, -3, -4}, 1, 2)); in testBytesToLong() 73 IccUtils.bytesToRawLong(new byte[] {-1, -1, -1, -1, -1, -1, -1, -1}, 0, 8)); in testBytesToLong() 74 assertEquals(0x80, IccUtils.bytesToRawLong(new byte[] {0x00, -128}, 0, 2)); in testBytesToLong() 80 IccUtils.bytesToRawLong(new byte[] {1, 2, 3, 4, 5, 6, 7, 8, 9}, 0, 9); in testBytesToLong_IllegalLength() 86 IccUtils.bytesToRawLong(new byte[] {1, 2}, 0, 3); in testBytesToLong_IndexOutOfBounds()
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/ |
D | Asn1Node.java | 421 return IccUtils.bytesToRawLong(mDataBytes, mDataOffset, mDataLength); in asRawLong()
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/ |
D | IccUtils.java | 752 public static long bytesToRawLong(byte[] src, int offset, int length) { in bytesToRawLong() method in IccUtils
|