HomeSort by relevance Sort by last modified time
    Searched refs:IccUtils (Results 1 - 25 of 30) sorted by null

1 2

  /frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
SimUtilsTest.java 20 import com.android.internal.telephony.IccUtils;
36 data = IccUtils.hexStringToBytes("981062400510444868f2");
37 assertEquals("8901260450014484862", IccUtils.bcdToString(data, 0, data.length));
40 assertEquals("0126045001448486", IccUtils.bcdToString(data, 1, data.length - 2));
43 data = IccUtils.hexStringToBytes("98E062400510444868f2");
44 assertEquals("890", IccUtils.bcdToString(data, 0, data.length));
47 data = IccUtils.hexStringToBytes("98F062400510444868f2");
48 assertEquals("890260450014484862", IccUtils.bcdToString(data, 0, data.length));
54 assertEquals(98, IccUtils.gsmBcdByteToInt((byte) 0x89));
57 assertEquals(8, IccUtils.gsmBcdByteToInt((byte) 0x8c))
    [all...]
AdnRecordTest.java 35 IccUtils.hexStringToBytes("566F696365204D61696C07918150367742F3FFFFFFFFFFFF"));
45 IccUtils.hexStringToBytes("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"));
54 adn = new AdnRecord(IccUtils.hexStringToBytes( "FF"));
64 IccUtils.hexStringToBytes("566F696365204D61696C07FF8150367742F3FFFFFFFFFFFF"));
74 IccUtils.hexStringToBytes("566F696365204D61696C07818150367742F3FFFFFFFFFFFF"));
84 IccUtils.hexStringToBytes("566F696365204D61696C0F918150367742F3FFFFFFFFFFFF"));
94 IccUtils.hexStringToBytes("566F696365204D61696C00918150367742F3FFFFFFFFFFFF"));
104 IccUtils.hexStringToBytes("566F696365204D61696C0291FF50367742F3FFFFFFFFFFFF"));
114 IccUtils.hexStringToBytes("566F696365204D61696C0291F150367742F3FFFFFFFFFFFF"));
124 IccUtils.hexStringToBytes
    [all...]
GsmAlphabetTest.java 239 unpacked = IccUtils.hexStringToBytes("566F696365204D61696C");
243 assertEquals(IccUtils.bytesToHexString(unpacked),
244 IccUtils.bytesToHexString(
347 unpacked = IccUtils.hexStringToBytes("61626320646566FF");
352 unpacked = IccUtils.hexStringToBytes("C5D7BDBAC6AEFF");
SMSDispatcherTest.java 100 byte[] data = IccUtils.hexStringToBytes(s);
  /packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/
DialogSmsDisplayTests.java 28 import com.android.internal.telephony.IccUtils;
51 private static final byte[] etwsMessageNormal = IccUtils.hexStringToBytes("000011001101" +
56 private static final byte[] etwsMessageCancel = IccUtils.hexStringToBytes("000011001101" +
61 private static final byte[] etwsMessageTest = IccUtils.hexStringToBytes("000011031101" +
  /frameworks/base/telephony/java/android/telephony/
SmsCbMessage.java 23 import com.android.internal.telephony.IccUtils;
413 int year = IccUtils.gsmBcdByteToInt(pdu[6]);
414 int month = IccUtils.gsmBcdByteToInt(pdu[7]);
415 int day = IccUtils.gsmBcdByteToInt(pdu[8]);
416 int hour = IccUtils.gsmBcdByteToInt(pdu[9]);
417 int minute = IccUtils.gsmBcdByteToInt(pdu[10]);
418 int second = IccUtils.gsmBcdByteToInt(pdu[11]);
428 int timezoneOffset = IccUtils.gsmBcdByteToInt((byte) (tzByte & (~0x08)));
  /frameworks/base/telephony/java/com/android/internal/telephony/
IccIoResult.java 36 this(sw1, sw2, IccUtils.hexStringToBytes(hexString));
AdnRecordLoader.java 193 + "\n" + IccUtils.bytesToHexString(data));
224 + "\n" + IccUtils.bytesToHexString(data));
IccFileHandler.java 256 IccUtils.bytesToHexString(data), pin2, onComplete);
267 IccUtils.bytesToHexString(data), null, onComplete);
AdnRecord.java 286 alphaTag = IccUtils.adnStringFieldToString(
WapPushOverSms.java 137 if (false) Log.d(LOG_TAG, "Rx: " + IccUtils.bytesToHexString(pdu));
  /frameworks/base/telephony/java/com/android/internal/telephony/cdma/
CdmaLteUiccRecords.java 26 import com.android.internal.telephony.IccUtils;
69 if (DBG) log("EF_PL=" + IccUtils.bytesToHexString(mEFpl));
95 if (DBG) log("EF_LI=" + IccUtils.bytesToHexString(mEFli));
108 IccUtils.bytesToHexString(data));
160 if (DBG) log("CSIM_MDN=" + IccUtils.bytesToHexString(data));
162 mMdn = IccUtils.cdmaBcdToString(data, 1, mdnDigitsNum);
174 if (DBG) log("CSIM_IMSIM=" + IccUtils.bytesToHexString(data));
326 if (DBG) log("CSIM_EPRL=" + IccUtils.bytesToHexString(data));
RuimFileHandler.java 27 import com.android.internal.telephony.IccUtils;
RuimSmsInterfaceManager.java 28 import com.android.internal.telephony.IccUtils;
158 mPhone.mCM.writeSmsToRuim(status, IccUtils.bytesToHexString(pdu),
RuimRecords.java 40 import com.android.internal.telephony.IccUtils;
268 iccid = IccUtils.bcdToString(data, 0, data.length);
  /frameworks/base/telephony/java/com/android/internal/telephony/gsm/
SmsMessage.java 23 import com.android.internal.telephony.IccUtils;
131 msg.parsePdu(IccUtils.hexStringToBytes(lines[1]));
143 msg.parsePdu(IccUtils.hexStringToBytes(line));
547 int year = IccUtils.gsmBcdByteToInt(pdu[cur++]);
548 int month = IccUtils.gsmBcdByteToInt(pdu[cur++]);
549 int day = IccUtils.gsmBcdByteToInt(pdu[cur++]);
550 int hour = IccUtils.gsmBcdByteToInt(pdu[cur++]);
551 int minute = IccUtils.gsmBcdByteToInt(pdu[cur++]);
552 int second = IccUtils.gsmBcdByteToInt(pdu[cur++]);
562 int timezoneOffset = IccUtils.gsmBcdByteToInt((byte) (tzByte & (~0x08)))
    [all...]
SIMRecords.java 35 import com.android.internal.telephony.IccUtils;
586 IccUtils.bytesToHexString(data));
708 IccUtils.bytesToHexString(data));
769 iccid = IccUtils.bcdToString(data, 0, data.length);
788 IccUtils.bytesToHexString(data));
859 IccUtils.bytesToHexString(data));
905 = IccUtils.networkNameToString(
    [all...]
SimSmsInterfaceManager.java 29 import com.android.internal.telephony.IccUtils;
181 mPhone.mCM.writeSmsToSim(status, IccUtils.bytesToHexString(smsc),
182 IccUtils.bytesToHexString(pdu), response);
GsmSMSDispatcher.java 34 import com.android.internal.telephony.IccUtils;
124 fillIn.putExtra("pdu", IccUtils.hexStringToBytes(pduString));
239 mCm.sendSMS(IccUtils.bytesToHexString(smsc), IccUtils.bytesToHexString(pdu), reply);
UsimPhoneBookManager.java 27 import com.android.internal.telephony.IccUtils;
299 String email = IccUtils.adnStringFieldToString(emailRec, 0, emailRec.length - 2);
  /frameworks/base/telephony/java/com/android/internal/telephony/cat/
RilMessageDecoder.java 20 import com.android.internal.telephony.IccUtils;
152 rawData = IccUtils.hexStringToBytes((String) rilMsg.mData);
ValueParser.java 20 import com.android.internal.telephony.IccUtils;
120 String text = IccUtils.adnStringFieldToString(rawValue,
281 return IccUtils.adnStringFieldToString(rawValue, valueIndex,
CatService.java 27 import com.android.internal.telephony.IccUtils;
383 String hexString = IccUtils.bytesToHexString(rawData);
480 String hexString = IccUtils.bytesToHexString(rawData);
523 String hexString = IccUtils.bytesToHexString(rawData);
  /frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
BearerData.java 29 import com.android.internal.telephony.IccUtils;
241 int year = IccUtils.cdmaBcdByteToInt(data[0]);
244 int month = IccUtils.cdmaBcdByteToInt(data[1]);
247 int day = IccUtils.cdmaBcdByteToInt(data[2]);
250 int hour = IccUtils.cdmaBcdByteToInt(data[3]);
253 int minute = IccUtils.cdmaBcdByteToInt(data[4]);
256 int second = IccUtils.cdmaBcdByteToInt(data[5]);
    [all...]
  /packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/
SendTestMessages.java 29 import com.android.internal.telephony.IccUtils;
42 private static final byte[] etwsMessageNormal = IccUtils.hexStringToBytes("000011001101" +
47 private static final byte[] etwsMessageCancel = IccUtils.hexStringToBytes("000011001101" +
52 private static final byte[] etwsMessageTest = IccUtils.hexStringToBytes("000011031101" +

Completed in 333 milliseconds

1 2