Home
last modified time | relevance | path

Searched refs:toByteArray (Results 1 – 25 of 29) sorted by relevance

12

/cts/tests/tests/ndef/src/android/ndef/cts/
DNdefTest.java302 new NdefMessage(NdefRecord.createUri("http://www.google.com")).toByteArray())), in testValidParsing()
314 NdefRecord.createUri(Uri.parse("http://www.nfc.com"))).toByteArray()); in testCreateUri()
318 new NdefMessage(NdefRecord.createUri("tel:+35891234567")).toByteArray()); in testCreateUri()
322 new NdefMessage(NdefRecord.createUri("foo")).toByteArray()); in testCreateUri()
327 new NdefMessage(NdefRecord.createUri("\u00A2")).toByteArray()); in testCreateUri()
413 r.toByteArray()); in testCreateApplicationRecord()
440 new NdefRecord(NdefRecord.TNF_EMPTY, null, null, null)).toByteArray()); in testToByteArray()
445 NdefRecord.TNF_UNKNOWN, null, new byte[] {9}, null)).toByteArray()); in testToByteArray()
450 NdefRecord.TNF_EXTERNAL_TYPE, new byte[] {9}, null, null)).toByteArray()); in testToByteArray()
455 NdefRecord.TNF_UNKNOWN, null, null, new byte[] {9})).toByteArray()); in testToByteArray()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/
DNfcUtils.java46 return Arrays.equals(record.toByteArray(), otherRecord.toByteArray()); in areRecordsEqual()
/cts/tests/tests/content/src/android/content/pm/cts/
DSignatureTest.java38 byte[] actualByteArray = signature.toByteArray(); in testSignatureStringConstructorValid()
141 byte[] actualByteArray = signature.toByteArray(); in testSignatureStringToByteArray()
/cts/tools/dex-tools/test/dex/reader/util/
DMemoryByteCode.java58 return baos.toByteArray(); in getBytes()
/cts/tests/tests/security/src/android/security/cts/
DPackageSignatureTest.java128 return new Signature(output.toByteArray()); in getSignature()
157 byte[] signatureBytes = signature.toByteArray(); in writeSignature()
DHwRngTest.java135 return result.toByteArray(); in readyFully()
DOpenSSLHeartbleedTest.java914 return result.toByteArray(); in readResource()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPictureTest.java65 Picture serialized = Picture.createFromStream(new ByteArrayInputStream(bout.toByteArray())); in testSaveRestoreBalance()
126 picture = Picture.createFromStream(new ByteArrayInputStream(bout.toByteArray())); in testPicture()
DMovieTest.java107 return out.toByteArray(); in inputStreamToBytes()
DBitmapFactoryTest.java217 InputStream iStreamWebp2 = new ByteArrayInputStream(oStreamWebp.toByteArray()); in testDecodeStream4()
253 InputStream iStreamWebp2 = new ByteArrayInputStream(oStreamWebp.toByteArray()); in testDecodeStream5()
582 return(stm.toByteArray()); in obtainArray()
DYuvImageTest.java293 byte[] jpegData = stream.toByteArray(); in compressDecompress()
DBitmapRegionDecoderTest.java365 byte[] data = os.toByteArray(); in obtainByteArray()
/cts/libs/deviceutil/src/android/cts/util/
DFileUtils.java161 return os.toByteArray(); in readInputStreamFully()
/cts/tests/tests/gesture/src/android/gesture/cts/
DGestureStoreTest.java149 inStream = new ByteArrayInputStream(outStream.toByteArray()); in testSaveLoadOutputStream()
/cts/tools/dex-tools/src/dex/reader/
DDexBuffer.java44 byte[] bytes = bos.toByteArray(); in DexBuffer()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DDngCreatorTest.java127 fileStream.write(outputStream.toByteArray()); in testSingleImageBasic()
238 fileStream.write(outputStream.toByteArray()); in testSingleImageThumbnail()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DMultipartForm.java126 return byteOutput.toByteArray(); in getContentBody()
DIssueReporter.java129 return byteOutput.toByteArray(); in getBytes()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsBackupHelper.java79 byte[] rawBytes = byteOutput.toByteArray(); in performBackup()
/cts/tools/cfassembler/src/dxconvext/
DClassFileAssembler.java200 byte[] outBytes = baos.toByteArray(); in writeClassFile()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java279 return bytes.toByteArray(); in readFully()
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java280 return bytes.toByteArray(); in readFullyNoClose()
/cts/tests/tests/util/src/android/util/cts/
DRationalTest.java446 return byteStream.toByteArray(); in serialize()
DXmlTest.java202 bout.toByteArray()))); in testParseReaderContentHander()
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Dcrypto.js1306 BigInteger.prototype.toByteArray = bnToByteArray; method in BigInteger
1552 var b = d.toByteArray();

12