/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/ |
NfcUtils.java | 46 return Arrays.equals(record.toByteArray(), otherRecord.toByteArray());
|
/external/smack/src/com/kenai/jbosh/ |
GZIPCodec.java | 69 return byteOut.toByteArray(); 97 return byteOut.toByteArray();
|
ZLIBCodec.java | 69 return byteOut.toByteArray(); 97 return byteOut.toByteArray();
|
/frameworks/volley/tests/src/com/android/volley/toolbox/ |
PoolingByteArrayOutputStreamTest.java | 63 assertTrue(Arrays.equals(data, os.toByteArray())); 76 assertTrue(Arrays.equals(data, os.toByteArray()));
|
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLECPointContext.java | 79 point.getContext(), javaPoint.getAffineX().toByteArray(), 80 javaPoint.getAffineY().toByteArray());
|
/libcore/luni/src/main/java/libcore/icu/ |
CollationKeyICU.java | 40 rhsBytes = other.toByteArray(); 111 @Override public byte[] toByteArray() {
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
ObjectInputStreamTest.java | 148 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 167 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 169 new ByteArrayInputStream(bao.toByteArray())); 216 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 227 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 240 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 257 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 269 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 282 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 293 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
ThrowableTest.java | 83 String s = fixStacktrace(new String(bao.toByteArray(), 0, bao.size())); 92 String s2 = fixStacktrace(new String(bao.toByteArray(), 0, bao.size())); 137 String s = new String(bao.toByteArray(), 0, bao.size()); 153 String s = new String(bao.toByteArray(), 0, bao.size()); 170 String s = new String(bao.toByteArray(), 0, bao.size());
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldBufferedOutputStreamTest.java | 91 bais = new java.io.ByteArrayInputStream(baos.toByteArray()); 95 bais = new java.io.ByteArrayInputStream(baos.toByteArray()); 99 bais = new java.io.ByteArrayInputStream(baos.toByteArray()); 159 bais = new java.io.ByteArrayInputStream(baos.toByteArray()); 163 bais = new java.io.ByteArrayInputStream(baos.toByteArray());
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
MicroTest.java | 93 byte [] result = msg.toByteArray(); 132 byte [] result = msg.toByteArray(); 169 byte [] result = msg.toByteArray(); 196 byte [] result = msg.toByteArray(); 222 byte [] result = msg.toByteArray(); 248 byte [] result = msg.toByteArray(); 274 byte [] result = msg.toByteArray(); 300 byte [] result = msg.toByteArray(); 326 byte [] result = msg.toByteArray(); 352 byte [] result = msg.toByteArray(); [all...] |
NanoTest.java | 86 byte [] result = MessageNano.toByteArray(msg); 119 byte [] result = MessageNano.toByteArray(msg); 143 byte [] result = MessageNano.toByteArray(msg); 163 byte [] result = MessageNano.toByteArray(msg); 184 byte [] result = MessageNano.toByteArray(msg); 205 byte [] result = MessageNano.toByteArray(msg); 226 byte [] result = MessageNano.toByteArray(msg); 247 byte [] result = MessageNano.toByteArray(msg); 268 byte [] result = MessageNano.toByteArray(msg); 289 byte [] result = MessageNano.toByteArray(msg) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
BigIntegerCompareTest.java | 41 resBytes = result.toByteArray(); 58 resBytes = result.toByteArray(); 307 resBytes = result.toByteArray(); 328 resBytes = result.toByteArray(); 349 resBytes = result.toByteArray(); 368 resBytes = result.toByteArray(); 389 resBytes = result.toByteArray(); 410 resBytes = result.toByteArray(); 431 resBytes = result.toByteArray(); 450 resBytes = result.toByteArray(); [all...] |
/external/smack/src/org/xbill/DNS/ |
Address.java | 121 byte [] v4addr = Address.toByteArray(tokens[i], IPv4); 167 byte [] byteArray = toByteArray(s, family); 193 toByteArray(String s, int family) { 209 byte [] address = Address.toByteArray(s, IPv4); 299 bytes = toByteArray(addr, IPv4); 302 bytes = toByteArray(addr, IPv6); 322 bytes = toByteArray(addr, family);
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
BitwiseStreamsTest.java | 40 byte[] outBuf = outStream.toByteArray(); 55 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray()); 69 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray()); 86 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray()); 108 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray()); 127 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray()); 152 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray());
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
ObjectOutputStreamTest.java | 634 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 653 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 699 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 726 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 742 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 756 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 768 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 779 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 792 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 806 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); [all...] |
FilterOutputStreamTest.java | 80 bis = new ByteArrayInputStream(bos.toByteArray()); 97 bis = new ByteArrayInputStream(bos.toByteArray()); 114 bis = new ByteArrayInputStream(bos.toByteArray());
|
ObjectOutputStream2Test.java | 52 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
|
PrintWriterTest.java | 238 assertTrue("Failed to flush", new String(bao.toByteArray()) 277 assertEquals("Wrote incorrect char string", "c", new String(bao.toByteArray()) 290 .toByteArray()).equals(String.valueOf(dub))); 302 new String(bao.toByteArray()).equals(String.valueOf(flo))); 312 assertEquals("Wrote incorrect int string", "4908765", new String(bao.toByteArray()) 323 assertEquals("Wrote incorrect long string", "49087650000", new String(bao.toByteArray()) 334 assertEquals("Did not write null", "null", new String(bao.toByteArray()) 341 .toByteArray())); 351 assertEquals("did not write null", "null", new String(bao.toByteArray()) 357 assertEquals("Wrote incorrect string", "Hello World", new String(bao.toByteArray()) [all...] |
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
IsValidUtf8Test.java | 127 private byte[] toByteArray(int... bytes) { 136 return ByteString.copyFrom(toByteArray(bytes)); 140 byte[] realBytes = toByteArray(bytes);
|
/external/smack/src/org/jivesoftware/smack/util/ |
Base32Encoder.java | 58 byte[] in = bs.toByteArray(); 99 return new String(bs.toByteArray()); 147 return new String(os.toByteArray());
|
/external/smack/src/org/xbill/DNS/utils/ |
base64.java | 58 return new String(os.toByteArray()); 102 byte [] in = bs.toByteArray(); 142 return bs.toByteArray();
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
DeflaterInputStreamTest.java | 42 assertEquals(Arrays.toString(data), Arrays.toString(inflate(out.toByteArray()))); 60 return out.toByteArray(); 76 assertEquals(Arrays.toString(data), Arrays.toString(inflate(out.toByteArray())));
|
/build/libs/host/ |
list.java | 25 byte[] array = stream.toByteArray();
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/pkcs7/ |
SignerInfoTest.java | 37 BigInteger.TEN.toByteArray() };
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Streams.java | 42 return out.toByteArray();
|