Home
last modified time | relevance | path

Searched refs:bcdToBytes (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/asn1/
DIccUtilsTest.java227 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/
DIccUtils.java94 public static byte[] bcdToBytes(String bcd) { in bcdToBytes() method in IccUtils
96 bcdToBytes(bcd, output); in bcdToBytes()
107 public static void bcdToBytes(String bcd, byte[] bytes) { in bcdToBytes() method in IccUtils
108 bcdToBytes(bcd, bytes, 0); in bcdToBytes()
119 public static void bcdToBytes(String bcd, byte[] bytes, int offset) { in bcdToBytes() method in IccUtils
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccCard.java282 Tags.TAG_ICCID, IccUtils.bcdToBytes(padTrailingFs(iccid))) in getProfile()
315 byte[] iccidBytes = IccUtils.bcdToBytes(padTrailingFs(iccid)); in disableProfile()
354 byte[] iccidBytes = IccUtils.bcdToBytes(padTrailingFs(iccid)); in switchToProfile()
430 IccUtils.bcdToBytes(padTrailingFs(iccid))) in setNickname()
455 byte[] iccidBytes = IccUtils.bcdToBytes(padTrailingFs(iccid)); in deleteProfile()
1126 IccUtils.bcdToBytes(imei, imeiBytes); in getDeviceId()
1144 IccUtils.bcdToBytes(imei, imeiBytes); in getDeviceId()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccCardTest.java122 return IccUtils.bcdToBytes("987654321012345"); in setUp()