OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:IccUtils
(Results
1 - 25
of
32
) sorted by null
1
2
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
SimUtilsTest.java
20
import com.android.internal.telephony.uicc.
IccUtils
;
37
data =
IccUtils
.hexStringToBytes("981062400510444868f2");
38
assertEquals("8901260450014484862",
IccUtils
.bcdToString(data, 0, data.length));
41
assertEquals("0126045001448486",
IccUtils
.bcdToString(data, 1, data.length - 2));
44
data =
IccUtils
.hexStringToBytes("98E062400510444868f2");
45
assertEquals("890",
IccUtils
.bcdToString(data, 0, data.length));
48
data =
IccUtils
.hexStringToBytes("98F062400510444868f2");
49
assertEquals("890260450014484862",
IccUtils
.bcdToString(data, 0, data.length));
55
assertEquals(98,
IccUtils
.gsmBcdByteToInt((byte) 0x89));
58
assertEquals(8,
IccUtils
.gsmBcdByteToInt((byte) 0x8c))
[
all
...]
AdnRecordTest.java
23
import com.android.internal.telephony.uicc.
IccUtils
;
38
IccUtils
.hexStringToBytes("566F696365204D61696C07918150367742F3FFFFFFFFFFFF"));
48
IccUtils
.hexStringToBytes("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"));
57
adn = new AdnRecord(
IccUtils
.hexStringToBytes( "FF"));
67
IccUtils
.hexStringToBytes("566F696365204D61696C07FF8150367742F3FFFFFFFFFFFF"));
77
IccUtils
.hexStringToBytes("566F696365204D61696C07818150367742F3FFFFFFFFFFFF"));
87
IccUtils
.hexStringToBytes("566F696365204D61696C0F918150367742F3FFFFFFFFFFFF"));
97
IccUtils
.hexStringToBytes("566F696365204D61696C00918150367742F3FFFFFFFFFFFF"));
107
IccUtils
.hexStringToBytes("566F696365204D61696C0291FF50367742F3FFFFFFFFFFFF"));
117
IccUtils
.hexStringToBytes("566F696365204D61696C0291F150367742F3FFFFFFFFFFFF"))
[
all
...]
GsmAlphabetTest.java
20
import com.android.internal.telephony.uicc.
IccUtils
;
240
unpacked =
IccUtils
.hexStringToBytes("566F696365204D61696C");
244
assertEquals(
IccUtils
.bytesToHexString(unpacked),
245
IccUtils
.bytesToHexString(
348
unpacked =
IccUtils
.hexStringToBytes("61626320646566FF");
353
unpacked =
IccUtils
.hexStringToBytes("C5D7BDBAC6AEFF");
SMSDispatcherTest.java
24
import com.android.internal.telephony.uicc.
IccUtils
;
102
byte[] data =
IccUtils
.hexStringToBytes(s);
/frameworks/opt/telephony/src/java/android/telephony/
SmsCbEtwsInfo.java
23
import com.android.internal.telephony.uicc.
IccUtils
;
136
int year =
IccUtils
.gsmBcdByteToInt(mWarningSecurityInformation[0]);
137
int month =
IccUtils
.gsmBcdByteToInt(mWarningSecurityInformation[1]);
138
int day =
IccUtils
.gsmBcdByteToInt(mWarningSecurityInformation[2]);
139
int hour =
IccUtils
.gsmBcdByteToInt(mWarningSecurityInformation[3]);
140
int minute =
IccUtils
.gsmBcdByteToInt(mWarningSecurityInformation[4]);
141
int second =
IccUtils
.gsmBcdByteToInt(mWarningSecurityInformation[5]);
151
int timezoneOffset =
IccUtils
.gsmBcdByteToInt((byte) (tzByte & (~0x08)));
/packages/apps/Mms/src/com/android/mms/transaction/
TransactionBundle.java
22
import com.android.internal.telephony.uicc.
IccUtils
;
153
" pushData: " +
IccUtils
.bytesToHexString(getPushData()) +
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
IccIoResult.java
37
this(sw1, sw2,
IccUtils
.hexStringToBytes(hexString));
SIMRecords.java
475
+ " mEfCfis=" +
IccUtils
.bytesToHexString(mEfCfis));
485
+ " invalid mEfCfis=" +
IccUtils
.bytesToHexString(mEfCfis));
625
log("EF_MBI: " +
IccUtils
.bytesToHexString(data));
746
log("EF_MWIS: " +
IccUtils
.bytesToHexString(data));
807
mIccId =
IccUtils
.bcdToString(data, 0, data.length);
825
log("EF_AD: " +
IccUtils
.bytesToHexString(data));
896
log("EF_CFF_CPHS: " +
IccUtils
.bytesToHexString(data));
[
all
...]
RuimRecords.java
237
if (DBG) log("EF_PL=" +
IccUtils
.bytesToHexString(mEFpl));
265
if (DBG) log("EF_LI=" +
IccUtils
.bytesToHexString(mEFli));
280
IccUtils
.bytesToHexString(data));
335
if (DBG) log("CSIM_MDN=" +
IccUtils
.bytesToHexString(data));
338
mMdn =
IccUtils
.cdmaBcdToString(data, 1, mdnDigitsNum);
352
if (DBG) log("CSIM_IMSIM=" +
IccUtils
.bytesToHexString(data));
429
if (DBG) log("CSIM_EPRL=" +
IccUtils
.bytesToHexString(data));
516
mIccId =
IccUtils
.bcdToString(data, 0, data.length);
AdnRecordLoader.java
193
+ "\n" +
IccUtils
.bytesToHexString(data));
224
+ "\n" +
IccUtils
.bytesToHexString(data));
IccFileHandler.java
289
IccUtils
.bytesToHexString(data), pin2, mAid, onComplete);
300
IccUtils
.bytesToHexString(data), null, mAid, onComplete);
AdnRecord.java
293
mAlphaTag =
IccUtils
.adnStringFieldToString(
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/
DialogSmsDisplayTests.java
31
import com.android.internal.telephony.uicc.
IccUtils
;
54
private static final byte[] etwsMessageNormal =
IccUtils
.hexStringToBytes("000011001101" +
59
private static final byte[] etwsMessageCancel =
IccUtils
.hexStringToBytes("000011001101" +
64
private static final byte[] etwsMessageTest =
IccUtils
.hexStringToBytes("000011031101" +
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
SimSmsInterfaceManager.java
28
import com.android.internal.telephony.uicc.
IccUtils
;
71
mPhone.mCi.writeSmsToSim(status,
IccUtils
.bytesToHexString(smsc),
72
IccUtils
.bytesToHexString(pdu), response);
GsmSMSDispatcher.java
45
import com.android.internal.telephony.uicc.
IccUtils
;
145
fillIn.putExtra("pdu",
IccUtils
.hexStringToBytes(pduString));
191
String smsc =
IccUtils
.bytesToHexString(
195
IccUtils
.bytesToHexString(sms.getPdu()),
313
mCi.sendSMS(
IccUtils
.bytesToHexString(smsc),
IccUtils
.bytesToHexString(pdu), reply);
UsimDataDownloadHandler.java
29
import com.android.internal.telephony.uicc.
IccUtils
;
130
String encodedEnvelope =
IccUtils
.bytesToHexString(envelope);
219
IccUtils
.bytesToHexString(smsAckPdu), null);
SmsMessage.java
26
import com.android.internal.telephony.uicc.
IccUtils
;
124
msg.parsePdu(
IccUtils
.hexStringToBytes(lines[1]));
136
msg.parsePdu(
IccUtils
.hexStringToBytes(line));
573
int year =
IccUtils
.gsmBcdByteToInt(mPdu[mCur++]);
574
int month =
IccUtils
.gsmBcdByteToInt(mPdu[mCur++]);
575
int day =
IccUtils
.gsmBcdByteToInt(mPdu[mCur++]);
576
int hour =
IccUtils
.gsmBcdByteToInt(mPdu[mCur++]);
577
int minute =
IccUtils
.gsmBcdByteToInt(mPdu[mCur++]);
578
int second =
IccUtils
.gsmBcdByteToInt(mPdu[mCur++]);
588
int timezoneOffset =
IccUtils
.gsmBcdByteToInt((byte) (tzByte & (~0x08)))
[
all
...]
UsimPhoneBookManager.java
28
import com.android.internal.telephony.uicc.
IccUtils
;
299
String email =
IccUtils
.adnStringFieldToString(emailRec, 0, emailRec.length - 2);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
RilMessageDecoder.java
20
import com.android.internal.telephony.uicc.
IccUtils
;
152
rawData =
IccUtils
.hexStringToBytes((String) rilMsg.mData);
ValueParser.java
21
import com.android.internal.telephony.uicc.
IccUtils
;
120
String text =
IccUtils
.adnStringFieldToString(rawValue,
282
return
IccUtils
.adnStringFieldToString(rawValue, valueIndex,
CatService.java
32
import com.android.internal.telephony.uicc.
IccUtils
;
405
String hexString =
IccUtils
.bytesToHexString(rawData);
502
String hexString =
IccUtils
.bytesToHexString(rawData);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
RuimSmsInterfaceManager.java
28
import com.android.internal.telephony.uicc.
IccUtils
;
69
mPhone.mCi.writeSmsToRuim(status,
IccUtils
.bytesToHexString(pdu),
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
WapPushOverSms.java
31
import com.android.internal.telephony.uicc.
IccUtils
;
139
if (DBG) Rlog.d(LOG_TAG, "Rx: " +
IccUtils
.bytesToHexString(pdu));
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
BearerData.java
30
import com.android.internal.telephony.uicc.
IccUtils
;
239
int year =
IccUtils
.cdmaBcdByteToInt(data[0]);
242
int month =
IccUtils
.cdmaBcdByteToInt(data[1]);
245
int day =
IccUtils
.cdmaBcdByteToInt(data[2]);
248
int hour =
IccUtils
.cdmaBcdByteToInt(data[3]);
251
int minute =
IccUtils
.cdmaBcdByteToInt(data[4]);
254
int second =
IccUtils
.cdmaBcdByteToInt(data[5]);
[
all
...]
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/
SendTestMessages.java
29
import com.android.internal.telephony.uicc.
IccUtils
;
44
private static final byte[] etwsMessageNormal =
IccUtils
.hexStringToBytes("000011001101" +
49
private static final byte[] etwsMessageCancel =
IccUtils
.hexStringToBytes("000011001101" +
54
private static final byte[] etwsMessageTest =
IccUtils
.hexStringToBytes("000011031101" +
Completed in 6261 milliseconds
1
2