Home
last modified time | relevance | path

Searched refs:IccUtils (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSimUtilsTest.java20 import com.android.internal.telephony.uicc.IccUtils;
37 data = IccUtils.hexStringToBytes("981062400510444868f2"); in testBasic()
38 assertEquals("8901260450014484862", IccUtils.bcdToString(data, 0, data.length)); in testBasic()
41 assertEquals("0126045001448486", IccUtils.bcdToString(data, 1, data.length - 2)); in testBasic()
44 data = IccUtils.hexStringToBytes("98E062400510444868f2"); in testBasic()
45 assertEquals("890", IccUtils.bcdToString(data, 0, data.length)); in testBasic()
48 data = IccUtils.hexStringToBytes("98F062400510444868f2"); in testBasic()
49 assertEquals("890260450014484862", IccUtils.bcdToString(data, 0, data.length)); in testBasic()
55 assertEquals(98, IccUtils.gsmBcdByteToInt((byte) 0x89)); in testBasic()
58 assertEquals(8, IccUtils.gsmBcdByteToInt((byte) 0x8c)); in testBasic()
[all …]
DAdnRecordTest.java23 import com.android.internal.telephony.uicc.IccUtils;
38 IccUtils.hexStringToBytes("566F696365204D61696C07918150367742F3FFFFFFFFFFFF")); in testBasic()
48 IccUtils.hexStringToBytes("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF")); in testBasic()
57 adn = new AdnRecord(IccUtils.hexStringToBytes( "FF")); in testBasic()
67 IccUtils.hexStringToBytes("566F696365204D61696C07FF8150367742F3FFFFFFFFFFFF")); in testBasic()
77 IccUtils.hexStringToBytes("566F696365204D61696C07818150367742F3FFFFFFFFFFFF")); in testBasic()
87 IccUtils.hexStringToBytes("566F696365204D61696C0F918150367742F3FFFFFFFFFFFF")); in testBasic()
97 IccUtils.hexStringToBytes("566F696365204D61696C00918150367742F3FFFFFFFFFFFF")); in testBasic()
107 IccUtils.hexStringToBytes("566F696365204D61696C0291FF50367742F3FFFFFFFFFFFF")); in testBasic()
117 IccUtils.hexStringToBytes("566F696365204D61696C0291F150367742F3FFFFFFFFFFFF")); in testBasic()
[all …]
DGsmAlphabetTest.java20 import com.android.internal.telephony.uicc.IccUtils;
240 unpacked = IccUtils.hexStringToBytes("566F696365204D61696C"); in testBasic()
244 assertEquals(IccUtils.bytesToHexString(unpacked), in testBasic()
245 IccUtils.bytesToHexString( in testBasic()
348 unpacked = IccUtils.hexStringToBytes("61626320646566FF"); in testGsm8BitUpackedWithEuckr()
353 unpacked = IccUtils.hexStringToBytes("C5D7BDBAC6AEFF"); in testGsm8BitUpackedWithEuckr()
DSMSDispatcherTest.java.broken24 import com.android.internal.telephony.uicc.IccUtils;
102 byte[] data = IccUtils.hexStringToBytes(s);
DSubscriptionInfoUpdaterTest.java39 import com.android.internal.telephony.uicc.IccUtils;
325 AsyncResult.forMessage(msg).result = IccUtils in testSimLockedWithOutIccId()
/frameworks/opt/telephony/src/java/android/telephony/
DSmsCbEtwsInfo.java23 import com.android.internal.telephony.uicc.IccUtils;
150 int year = IccUtils.gsmBcdByteToInt(mWarningSecurityInformation[0]); in getPrimaryNotificationTimestamp()
151 int month = IccUtils.gsmBcdByteToInt(mWarningSecurityInformation[1]); in getPrimaryNotificationTimestamp()
152 int day = IccUtils.gsmBcdByteToInt(mWarningSecurityInformation[2]); in getPrimaryNotificationTimestamp()
153 int hour = IccUtils.gsmBcdByteToInt(mWarningSecurityInformation[3]); in getPrimaryNotificationTimestamp()
154 int minute = IccUtils.gsmBcdByteToInt(mWarningSecurityInformation[4]); in getPrimaryNotificationTimestamp()
155 int second = IccUtils.gsmBcdByteToInt(mWarningSecurityInformation[5]); in getPrimaryNotificationTimestamp()
165 int timezoneOffset = IccUtils.gsmBcdByteToInt((byte) (tzByte & (~0x08))); in getPrimaryNotificationTimestamp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSMSDispatcher.java41 import com.android.internal.telephony.uicc.IccUtils;
137 fillIn.putExtra("pdu", IccUtils.hexStringToBytes(pduString)); in handleStatusReport()
308 mCi.sendSMSExpectMore(IccUtils.bytesToHexString(smsc), in sendSmsByPstn()
309 IccUtils.bytesToHexString(pdu), reply); in sendSmsByPstn()
311 mCi.sendSMS(IccUtils.bytesToHexString(smsc), in sendSmsByPstn()
312 IccUtils.bytesToHexString(pdu), reply); in sendSmsByPstn()
315 mCi.sendImsGsmSms(IccUtils.bytesToHexString(smsc), in sendSmsByPstn()
316 IccUtils.bytesToHexString(pdu), tracker.mImsRetry, in sendSmsByPstn()
DUsimDataDownloadHandler.java31 import com.android.internal.telephony.uicc.IccUtils;
86 String smsc = IccUtils.bytesToHexString( in handleUsimDataDownload()
90 IccUtils.bytesToHexString(smsMessage.getPdu()), in handleUsimDataDownload()
168 String encodedEnvelope = IccUtils.bytesToHexString(envelope); in handleDataDownload()
257 IccUtils.bytesToHexString(smsAckPdu), null); in sendSmsAckForEnvelopeResponse()
DSmsMessage.java28 import com.android.internal.telephony.uicc.IccUtils;
132 msg.parsePdu(IccUtils.hexStringToBytes(lines[1])); in newFromCMT()
144 msg.parsePdu(IccUtils.hexStringToBytes(line)); in newFromCDS()
582 int year = IccUtils.gsmBcdByteToInt(mPdu[mCur++]); in getSCTimestampMillis()
583 int month = IccUtils.gsmBcdByteToInt(mPdu[mCur++]); in getSCTimestampMillis()
584 int day = IccUtils.gsmBcdByteToInt(mPdu[mCur++]); in getSCTimestampMillis()
585 int hour = IccUtils.gsmBcdByteToInt(mPdu[mCur++]); in getSCTimestampMillis()
586 int minute = IccUtils.gsmBcdByteToInt(mPdu[mCur++]); in getSCTimestampMillis()
587 int second = IccUtils.gsmBcdByteToInt(mPdu[mCur++]); in getSCTimestampMillis()
597 int timezoneOffset = IccUtils.gsmBcdByteToInt((byte) (tzByte & (~0x08))); in getSCTimestampMillis()
DUsimPhoneBookManager.java30 import com.android.internal.telephony.uicc.IccUtils;
457 return IccUtils.adnStringFieldToString(emailRec, 0, emailRec.length - 2); in readEmailRecord()
584 log("PBR rec: " + IccUtils.bytesToHexString(record)); in PbrRecord()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DSIMRecords.java552 + " mEfCfis=" + IccUtils.bytesToHexString(mEfCfis)); in setVoiceCallForwardingFlag()
572 + " invalid mEfCfis=" + IccUtils.bytesToHexString(mEfCfis)); in setVoiceCallForwardingFlag()
721 log("EF_MBI: " + IccUtils.bytesToHexString(data)); in handleMessage()
844 if(DBG) log("EF_MWIS : " + IccUtils.bytesToHexString(data)); in handleMessage()
866 if(DBG) log("EF_CPHS_MWI: " + IccUtils.bytesToHexString(data)); in handleMessage()
887 mIccId = IccUtils.bcdToString(data, 0, data.length); in handleMessage()
888 mFullIccId = IccUtils.bchToString(data, 0, data.length); in handleMessage()
906 log("EF_AD: " + IccUtils.bytesToHexString(data)); in handleMessage()
984 log("EF_CFF_CPHS: " + IccUtils.bytesToHexString(data)); in handleMessage()
1025 = IccUtils.networkNameToString( in handleMessage()
[all …]
DRuimRecords.java245 if (DBG) log("EF_PL=" + IccUtils.bytesToHexString(mEFpl)); in onRecordLoaded()
273 if (DBG) log("EF_LI=" + IccUtils.bytesToHexString(mEFli)); in onRecordLoaded()
288 IccUtils.bytesToHexString(data)); in onRecordLoaded()
360 if (DBG) log("CSIM_MDN=" + IccUtils.bytesToHexString(data)); in onRecordLoaded()
363 mMdn = IccUtils.cdmaBcdToString(data, 1, mdnDigitsNum); in onRecordLoaded()
377 if (VDBG) log("CSIM_IMSIM=" + IccUtils.bytesToHexString(data)); in onRecordLoaded()
454 if (DBG) log("CSIM_EPRL=" + IccUtils.bytesToHexString(data)); in onGetCSimEprlDone()
673 mIccId = IccUtils.bcdToString(data, 0, data.length); in handleMessage()
674 mFullIccId = IccUtils.bchToString(data, 0, data.length); in handleMessage()
DUiccCarrierPrivilegeRules.java35 import com.android.internal.telephony.uicc.IccUtils;
140 return "cert: " + IccUtils.bytesToHexString(certificateHash) + " pkg: " + in toString()
458 … mRules += IccUtils.bytesToHexString(response.payload).toUpperCase(Locale.US); in handleMessage()
497 IccUtils.hexStringToBytes(cert), "", 0x00); in handleMessage()
587 packageName = new String(IccUtils.hexStringToBytes(pkgDo.value)); in parseRefArdo()
608 AccessRule accessRule = new AccessRule(IccUtils.hexStringToBytes(certificateHash), in parseRefArdo()
DIccIoResult.java37 this(sw1, sw2, IccUtils.hexStringToBytes(hexString)); in IccIoResult()
DAdnRecordLoader.java206 + "\n" + IccUtils.bytesToHexString(data)); in handleMessage()
234 + "\n" + IccUtils.bytesToHexString(data)); in handleMessage()
DIccFileHandler.java357 IccUtils.bytesToHexString(data), pin2, mAid, onComplete); in updateEFLinearFixed()
373 IccUtils.bytesToHexString(data), pin2, mAid, onComplete); in updateEFLinearFixed()
384 IccUtils.bytesToHexString(data), null, mAid, onComplete); in updateEFTransparent()
DUiccPkcs15.java28 import com.android.internal.telephony.uicc.IccUtils;
126 String result = IccUtils.bytesToHexString(response.payload) in handleMessage()
DIsimUiccRecords.java246 mIsimIst = IccUtils.bytesToHexString(data); in onRecordLoaded()
282 Rlog.d(LOG_TAG, "[ISIM] can't find TLV. record = " + IccUtils.bytesToHexString(record)); in isimTlvToString()
DAdnRecord.java305 mAlphaTag = IccUtils.adnStringFieldToString( in parseRecord()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmSmsCbTest.java26 import com.android.internal.telephony.uicc.IccUtils;
720 private static final byte[] etwsMessageNormal = IccUtils.hexStringToBytes("000011001101" +
725 private static final byte[] etwsMessageCancel = IccUtils.hexStringToBytes("000011001101" +
730 private static final byte[] etwsMessageTest = IccUtils.hexStringToBytes("000011031101" +
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DValueParser.java21 import com.android.internal.telephony.uicc.IccUtils;
122 String text = IccUtils.adnStringFieldToString(rawValue, in retrieveItem()
284 return IccUtils.adnStringFieldToString(rawValue, valueIndex, in retrieveAlphaId()
DRilMessageDecoder.java26 import com.android.internal.telephony.uicc.IccUtils;
174 rawData = IccUtils.hexStringToBytes((String) rilMsg.mData); in decodeMessageParams()
DCatService.java37 import com.android.internal.telephony.uicc.IccUtils;
596 String hexString = IccUtils.bytesToHexString(rawData); in sendTerminalResponse()
692 String hexString = IccUtils.bytesToHexString(rawData); in sendMenuSelection()
762 String hexString = IccUtils.bytesToHexString(rawData); in eventDownload()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
DBearerData.java31 import com.android.internal.telephony.uicc.IccUtils;
240 int year = IccUtils.cdmaBcdByteToInt(data[0]); in fromByteArray()
243 int month = IccUtils.cdmaBcdByteToInt(data[1]); in fromByteArray()
246 int day = IccUtils.cdmaBcdByteToInt(data[2]); in fromByteArray()
249 int hour = IccUtils.cdmaBcdByteToInt(data[3]); in fromByteArray()
252 int minute = IccUtils.cdmaBcdByteToInt(data[4]); in fromByteArray()
255 int second = IccUtils.cdmaBcdByteToInt(data[5]); in fromByteArray()
1324 bData.numberOfMessages = IccUtils.cdmaBcdByteToInt((byte)inStream.read(8)); in decodeMsgCount()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccSmsInterfaceManager.java42 import com.android.internal.telephony.uicc.IccUtils;
263 mPhone.mCi.writeSmsToSim(status, IccUtils.bytesToHexString(smsc), in copyMessageToIccEf()
264 IccUtils.bytesToHexString(pdu), response); in copyMessageToIccEf()
266 mPhone.mCi.writeSmsToRuim(status, IccUtils.bytesToHexString(pdu), in copyMessageToIccEf()

12