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.java82 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
96 bcdToBytes(bcd, bytes, 0); in bcdToBytes()
107 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.java279 Tags.TAG_ICCID, IccUtils.bcdToBytes(padTrailingFs(iccid))) in getProfile()
312 byte[] iccidBytes = IccUtils.bcdToBytes(padTrailingFs(iccid)); in disableProfile()
351 byte[] iccidBytes = IccUtils.bcdToBytes(padTrailingFs(iccid)); in switchToProfile()
427 IccUtils.bcdToBytes(padTrailingFs(iccid))) in setNickname()
452 byte[] iccidBytes = IccUtils.bcdToBytes(padTrailingFs(iccid)); in deleteProfile()
1069 IccUtils.bcdToBytes(imei, imeiBytes); in getDeviceId()
1087 IccUtils.bcdToBytes(imei, imeiBytes); in getDeviceId()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccCardTest.java110 return IccUtils.bcdToBytes("987654321012345"); in onLooperPrepared()