Home
last modified time | relevance | path

Searched refs:Asn1Node (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/asn1/
DAsn1NodeTest.java29 import com.android.internal.telephony.uicc.asn1.Asn1Node;
40 Asn1Node node = Asn1Node.newBuilder(0x65).build(); in testCreateConstructedNodeWithShortTag()
51 Asn1Node node = Asn1Node.newBuilder(0x3F34).build(); in testCreateConstructedNodeWithLongTag()
62 Asn1Node node = in testChildren()
63 Asn1Node.newBuilder(0x3F34) in testChildren()
64 .addChild(Asn1Node.newBuilder(0x35).addChild(Asn1Node.newBuilder(0x36))) in testChildren()
65 .addChild(Asn1Node.newBuilder(0x35)) in testChildren()
66 .addChild(Asn1Node.newBuilder(0x37)) in testChildren()
90 Asn1Node node = in testNonExitingChildren()
91 Asn1Node.newBuilder(0x3F34) in testNonExitingChildren()
[all …]
DAsn1DecoderTest.java29 import com.android.internal.telephony.uicc.asn1.Asn1Node;
45 Asn1Node root = decoder.nextNode(); in testNormalOperation()
52 Asn1Node node = root.getChild(0x5A); in testNormalOperation()
75 Asn1Node root = decoder.nextNode(); in testHighTagNumberForm()
81 Asn1Node node = root.getChild(0x5A); in testHighTagNumberForm()
94 Asn1Node firstRoot = decoder.nextNode(); in testNodeList()
98 Asn1Node childOfFirst = firstRoot.getChild(0x5A); in testNodeList()
107 Asn1Node secondRoot = decoder.nextNode(); in testNodeList()
111 Asn1Node childOfSecond = secondRoot.getChild(0x5A); in testNodeList()
131 Asn1Node firstRoot = decoder.nextNode(); in testMissingData()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
DAsn1Node.java34 public final class Asn1Node { class
36 private static final List<Asn1Node> EMPTY_NODE_LIST = Collections.emptyList();
48 private final List<Asn1Node> mChildren;
65 public Builder addChild(Asn1Node child) { in addChild()
107 addChild(new Asn1Node(tag, dataBytes, 0, dataBytes.length)); in addChildAsInteger()
122 addChild(new Asn1Node(tag, dataBytes, 0, dataBytes.length)); in addChildAsString()
137 addChild(new Asn1Node(tag, value, 0, value.length)); in addChildAsBytes()
175 addChild(new Asn1Node(tag, dataBytes, 0, dataLength)); in addChildAsBits()
189 addChild(new Asn1Node(tag, value ? TRUE_BYTES : FALSE_BYTES, 0, 1)); in addChildAsBoolean()
194 public Asn1Node build() { in build()
[all …]
DAsn1Decoder.java84 public Asn1Node nextNode() throws InvalidAsn1DataException { in nextNode()
147 Asn1Node root = new Asn1Node(tag, mSrc, offset, dataLen); in nextNode()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccCardTest.java52 import com.android.internal.telephony.uicc.asn1.Asn1Node;
539 Asn1Node.newBuilder(0xA0).build().toBytes(), in testAuthenticateServer()
540 Asn1Node.newBuilder(0xA1).build().toBytes(), in testAuthenticateServer()
541 Asn1Node.newBuilder(0xA2).build().toBytes(), in testAuthenticateServer()
542 Asn1Node.newBuilder(0xA3).build().toBytes(), resultCaptor, mHandler); in testAuthenticateServer()
565 Asn1Node.newBuilder(0xA0).build().toBytes(), in testAuthenticateServer_Error()
566 Asn1Node.newBuilder(0xA1).build().toBytes(), in testAuthenticateServer_Error()
567 Asn1Node.newBuilder(0xA2).build().toBytes(), in testAuthenticateServer_Error()
568 Asn1Node.newBuilder(0xA3).build().toBytes(), resultCaptor, mHandler); in testAuthenticateServer_Error()
596 Asn1Node.newBuilder(0xA0).build().toBytes(), in testAuthenticateService_devCap()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccCard.java44 import com.android.internal.telephony.uicc.asn1.Asn1Node;
239 requestBuilder.addStoreData(Asn1Node.newBuilder(Tags.TAG_GET_PROFILES) in getAllProfiles()
243 List<Asn1Node> profileNodes = new Asn1Decoder(response).nextNode() in getAllProfiles()
249 Asn1Node profileNode = profileNodes.get(i); in getAllProfiles()
279 requestBuilder.addStoreData(Asn1Node.newBuilder(Tags.TAG_GET_PROFILES) in getProfile()
280 .addChild(Asn1Node.newBuilder(Tags.TAG_CTX_COMP_0) in getProfile()
287 List<Asn1Node> profileNodes = new Asn1Decoder(response).nextNode() in getProfile()
292 Asn1Node profileNode = profileNodes.get(0); in getProfile()
316 requestBuilder.addStoreData(Asn1Node.newBuilder(Tags.TAG_DISABLE_PROFILE) in disableProfile()
317 .addChild(Asn1Node.newBuilder(Tags.TAG_CTX_COMP_0) in disableProfile()
[all …]
DEuiccCardErrorException.java22 import com.android.internal.telephony.uicc.asn1.Asn1Node;
73 private final @Nullable Asn1Node mErrorDetails;
96 @Nullable Asn1Node errorDetails) { in EuiccCardErrorException()
114 public Asn1Node getErrorDetails() { in getErrorDetails()
DEuiccSpecVersion.java20 import com.android.internal.telephony.uicc.asn1.Asn1Node;
46 Asn1Node node; in fromOpenChannelResponse()