Home
last modified time | relevance | path

Searched refs:asBytes (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/asn1/
DAsn1DecoderTest.java62 new byte[] {(byte) 0x98, 0x10, 0x21, 0, 0, 0, 0, 0, 0, 0}, node.asBytes()); in testNormalOperation()
104 new byte[] {(byte) 0x98, 0x10, 0x21, 0, 0, 0, 0, 0, 0, 0}, childOfFirst.asBytes()); in testNodeList()
117 new byte[] {(byte) 0x98, 0x10, 0x21, 0, 0, 0, 0, 0, 0, 1}, childOfSecond.asBytes()); in testNodeList()
141 new byte[] {(byte) 0x98, 0x10, 0x21, 0, 0, 0, 0, 0, 0, 0}, childOfFirst.asBytes()); in testMissingData()
169 assertArrayEquals(new byte[] {}, childOfFirst.asBytes()); in testEmptyData()
181 assertArrayEquals(new byte[] {}, childOfSecond.asBytes()); in testEmptyData()
202 assertArrayEquals(new byte[] {1, 2, 3}, node.asBytes()); in testLongFormLength()
DAsn1NodeTest.java148 assertArrayEquals(new byte[] {-1, 0, -1}, node.getChild(0x31).getChild(0x14).asBytes()); in testBuilderAndGetters()
152 assertArrayEquals(new byte[] {-1, 0, -1}, node.getChild(0x14).asBytes()); in testBuilderAndGetters()
271 node.asBytes(); in testAsBytes_ConstructedTag()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccSpecVersion.java60 versionType = node.getChild(TAG_VERSION).asBytes(); in fromOpenChannelResponse()
63 node.getChild(TAG_ISD_R_APP_TEMPLATE, TAG_VERSION).asBytes(); in fromOpenChannelResponse()
DEuiccCard.java255 stripTrailingFs(profileNode.getChild(Tags.TAG_ICCID).asBytes()); in getAllProfiles()
294 stripTrailingFs(profileNode.getChild(Tags.TAG_ICCID).asBytes()); in getProfile()
407 .getChild(Tags.TAG_EID).asBytes()); in getEid()
609 (byte[] response) -> parseResponse(response).getChild(Tags.TAG_CTX_0).asBytes(), in getEuiccChallenge()
1328 gid1 = IccUtils.bytesToHexString(node.getChild(Tags.TAG_CTX_1).asBytes()); in buildCarrierIdentifier()
1332 gid2 = IccUtils.bytesToHexString(node.getChild(Tags.TAG_CTX_2).asBytes()); in buildCarrierIdentifier()
1334 return new CarrierIdentifier(node.getChild(Tags.TAG_CTX_0).asBytes(), gid1, gid2); in buildCarrierIdentifier()
1348 byte[] signature = refDoNode.getChild(Tags.TAG_DEVICE_APP_ID_REF_DO).asBytes(); in buildUiccAccessRule()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
DTimedStatement.java97 hashStream.write(code1.asBytes()); in calibrateMethod()
98 hashStream.write(code2.asBytes()); in calibrateMethod()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccCardTest.java1061 assertTrue(Arrays.equals(new byte[] {11, 0 , 0}, child.asBytes())); in testAddDeviceCapability()
1069 assertTrue(Arrays.equals(new byte[] {11, 0 , 0}, child.asBytes())); in testAddDeviceCapability()
1077 assertTrue(Arrays.equals(new byte[] {1, 0 , 0}, child.asBytes())); in testAddDeviceCapability()
1085 assertTrue(Arrays.equals(new byte[] {1, 0 , 0}, child.asBytes())); in testAddDeviceCapability()
1093 assertTrue(Arrays.equals(new byte[] {12, 0 , 0}, child.asBytes())); in testAddDeviceCapability()
1101 assertTrue(Arrays.equals(new byte[] {11, 0 , 0}, child.asBytes())); in testAddDeviceCapability()
1109 assertTrue(Arrays.equals(new byte[] {0, 0 , 0}, child.asBytes())); in testAddDeviceCapability()
1117 assertTrue(Arrays.equals(new byte[] {0, 0 , 0}, child.asBytes())); in testAddDeviceCapability()
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
DAsn1Node.java449 public byte[] asBytes() throws InvalidAsn1DataException { in asBytes() method in Asn1Node