/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | IsValidUtf8Test.java | 114 assertTrue(asBytes("").isValidUtf8()); in testSomeSequences() 117 assertTrue(asBytes("\u0000abc\u007f").isValidUtf8()); in testSomeSequences() 120 assertTrue(asBytes("\u00a2\u00a2").isValidUtf8()); in testSomeSequences() 123 assertTrue(asBytes("\u020ac\u020ac").isValidUtf8()); in testSomeSequences() 126 assertTrue(asBytes("\u024B62\u024B62").isValidUtf8()); in testSomeSequences() 129 assertTrue(asBytes("a\u020ac\u00a2b\\u024B62u020acc\u00a2de\u024B62").isValidUtf8()); in testSomeSequences() 174 private static ByteString asBytes(String s) { in asBytes() method in IsValidUtf8Test
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/asn1/ |
D | Asn1DecoderTest.java | 62 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()
|
D | Asn1NodeTest.java | 148 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/ |
D | EuiccSpecVersion.java | 61 versionType = node.getChild(TAG_VERSION).asBytes(); in fromOpenChannelResponse() 64 node.getChild(TAG_ISD_R_APP_TEMPLATE, TAG_VERSION).asBytes(); in fromOpenChannelResponse()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/ |
D | TimedStatement.java | 97 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/ |
D | EuiccCardTest.java | 1031 assertTrue(Arrays.equals(new byte[] {11, 0 , 0}, child.asBytes())); in testAddDeviceCapability() 1039 assertTrue(Arrays.equals(new byte[] {11, 0 , 0}, child.asBytes())); in testAddDeviceCapability() 1047 assertTrue(Arrays.equals(new byte[] {1, 0 , 0}, child.asBytes())); in testAddDeviceCapability() 1055 assertTrue(Arrays.equals(new byte[] {1, 0 , 0}, child.asBytes())); in testAddDeviceCapability() 1063 assertTrue(Arrays.equals(new byte[] {12, 0 , 0}, child.asBytes())); in testAddDeviceCapability() 1071 assertTrue(Arrays.equals(new byte[] {11, 0 , 0}, child.asBytes())); in testAddDeviceCapability() 1079 assertTrue(Arrays.equals(new byte[] {0, 0 , 0}, child.asBytes())); in testAddDeviceCapability() 1087 assertTrue(Arrays.equals(new byte[] {0, 0 , 0}, child.asBytes())); in testAddDeviceCapability()
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/ |
D | Asn1Node.java | 449 public byte[] asBytes() throws InvalidAsn1DataException { in asBytes() method in Asn1Node
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | GeneratedMessageLite.java | 1164 private final byte[] asBytes; field in GeneratedMessageLite.SerializedForm 1172 asBytes = regularForm.toByteArray(); in SerializedForm() 1189 .mergeFrom(asBytes) in readResolve() 1216 .mergeFrom(asBytes) in readResolveFallback()
|