Home
last modified time | relevance | path

Searched refs:atr (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DAnswerToResetTest.java37 AnswerToReset atr = AnswerToReset.parseAtr(null); in testAnswerToRestNullString() local
38 assertNull(atr); in testAnswerToRestNullString()
45 AnswerToReset atr = AnswerToReset.parseAtr(str); in testAnswerToRestOddLength() local
46 assertNull(atr); in testAnswerToRestOddLength()
53 AnswerToReset atr = AnswerToReset.parseAtr(str); in testAnswerToRestTooShortLength() local
54 assertNull(atr); in testAnswerToRestTooShortLength()
61 AnswerToReset atr = AnswerToReset.parseAtr(str); in testAnswerToRestNoInterfaceByteNoHistoricalByte() local
62 assertNotNull(atr); in testAnswerToRestNoInterfaceByteNoHistoricalByte()
63 assertEquals(atr.getConventionByte(), (byte) 0x3B); in testAnswerToRestNoInterfaceByteNoHistoricalByte()
64 assertEquals(atr.getFormatByte(), (byte) 0x00); in testAnswerToRestNoInterfaceByteNoHistoricalByte()
[all …]
DUiccControllerTest.java248 ics.atr = "abcdef0123456789abcdef"; in testCardIdFromIccStatus()
340 ics.atr = "abcdef0123456789abcdef"; in testGetAllUiccCardInfos()
377 ics.atr = "abcdef0123456789abcdef"; in testIccidWithTrailingF()
411 ics.atr = "abcdef0123456789abcdef"; in testGetAllUiccCardInfosNullCard()
444 ics.atr = "abcdef0123456789abcdef"; in testEidNotSupported()
622 ics.atr = "abcdef0123456789abcdef"; in testEidFromPreviousApduSetsDefaultEuicc()
DUiccSlotTest.java174 iss.atr = "3F979580BFFE8210428031A073BE211797"; in testUpdateSlotStatusEuiccIsSupported()
209 iss.atr = "3F979580BFFE8110428031A073BE211797"; in testUpdateSlotStatusEuiccIsNotSupported()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccSlotStatus.java35 public String atr; field in IccSlotStatus
83 .append("atr=").append(atr).append(",iccid=") in toString()
104 && (TextUtils.equals(atr, that.atr)) in equals()
DAnswerToReset.java136 public static AnswerToReset parseAtr(String atr) { in parseAtr() argument
138 if (answerToReset.parseAtrString(atr)) { in parseAtr()
282 private boolean parseAtrString(String atr) { in parseAtrString() argument
283 if (atr == null) { in parseAtrString()
288 if (atr.length() % 2 != 0) { in parseAtrString()
289 loge("The length of input ATR string " + atr.length() + " is not even."); in parseAtrString()
293 if (atr.length() < 4) { in parseAtrString()
298 byte[] atrBytes = IccUtils.hexStringToBytes(atr); in parseAtrString()
332 log("Successfully parsed the ATR string " + atr + " into " + toString()); in parseAtrString()
DIccCardStatus.java81 public String atr; field in IccCardStatus
169 sb.append(",physical_slot_id=").append(physicalSlotIndex).append(",atr=").append(atr); in toString()
DUiccSlot.java92 parseAtr(ics.atr); in update()
149 parseAtr(iss.atr); in update()
246 private void parseAtr(String atr) { in parseAtr() argument
247 mAtr = AnswerToReset.parseAtr(atr); in parseAtr()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestSuiteBuilder.java78 AndroidTestRunner atr = new AndroidTestRunner(); in addTestClassByName() local
79 atr.setContext(context); in addTestClassByName()
80 atr.setTestClassName(testClassName, testMethodName); in addTestClassByName()
82 this.testCases.addAll(atr.getTestCases()); in addTestClassByName()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioConfig.java467 iccSlotStatus.atr = slotStatus.atr; in convertHalSlotStatus()
482 iccSlotStatus.atr = slotStatus.base.atr; in convertHalSlotStatus_1_2()
DRadioResponse.java1769 iccCardStatus.atr = cardStatus.base.base.atr; in convertHalCardStatus_1_5()
1819 iccCardStatus.atr = cardStatus.atr; in responseIccCardStatus_1_2()
1836 iccCardStatus.atr = cardStatus.base.atr; in responseIccCardStatus_1_4()