Searched refs:bcdToBytes (Results 1 – 4 of 4) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/asn1/ |
D | IccUtilsTest.java | 227 assertArrayEquals(new byte[] {}, IccUtils.bcdToBytes("")); in testBcdToBytes() 228 assertArrayEquals(new byte[] {0}, IccUtils.bcdToBytes("00")); in testBcdToBytes() 229 assertArrayEquals(new byte[] {0x21, 0x43, 0x65}, IccUtils.bcdToBytes("123456")); in testBcdToBytes() 230 assertArrayEquals(new byte[] {0x21, 0x43, 0x05}, IccUtils.bcdToBytes("12345")); in testBcdToBytes() 234 IccUtils.bcdToBytes("123456", output); in testBcdToBytes() 238 IccUtils.bcdToBytes("123456", output); in testBcdToBytes() 242 IccUtils.bcdToBytes("12345", output); in testBcdToBytes()
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/ |
D | IccUtils.java | 82 public static byte[] bcdToBytes(String bcd) { in bcdToBytes() method in IccUtils 84 bcdToBytes(bcd, output); in bcdToBytes() 95 public static void bcdToBytes(String bcd, byte[] bytes) { in bcdToBytes() method in IccUtils
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/ |
D | EuiccCard.java | 253 Tags.TAG_ICCID, IccUtils.bcdToBytes(padTrailingFs(iccid))) in getProfile() 286 byte[] iccidBytes = IccUtils.bcdToBytes(padTrailingFs(iccid)); in disableProfile() 325 byte[] iccidBytes = IccUtils.bcdToBytes(padTrailingFs(iccid)); in switchToProfile() 401 IccUtils.bcdToBytes(padTrailingFs(iccid))) in setNickname() 426 byte[] iccidBytes = IccUtils.bcdToBytes(padTrailingFs(iccid)); in deleteProfile() 982 IccUtils.bcdToBytes(phone.getDeviceId(), imeiBytes); in getDeviceId()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/ |
D | EuiccCardTest.java | 109 return IccUtils.bcdToBytes("987654321012345"); in onLooperPrepared()
|