Home
last modified time | relevance | path

Searched refs:readFully (Results 1 – 18 of 18) sorted by relevance

/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/util/
DUtils.java56 return readFully(is); in executeShellCommand()
67 private static String readFully(InputStream in) throws IOException { in readFully() method in Utils
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTestCase.java118 protected byte[] readFully(Uri uri) throws IOException { in readFully() method in DocumentsClientTestCase
121 return readFully(in); in readFully()
129 return readFully(in); in readTypedFully()
133 protected byte[] readFully(InputStream in) throws IOException { in readFully() method in DocumentsClientTestCase
DDocumentsClientTest.java249 readFully(Uri.parse("content://com.android.cts.documentprovider/document/doc:file1")); in testOpenSimple()
285 MoreAsserts.assertEquals("fileone".getBytes(), readFully(uri)); in testOpenSimple()
289 MoreAsserts.assertEquals("replaced!".getBytes(), readFully(uri)); in testOpenSimple()
318 readFully(uri); in testOpenVirtual()
384 MoreAsserts.assertEquals("filetwo".getBytes(), readFully(uri)); in testCreateExisting()
436 MoreAsserts.assertEquals("filefour".getBytes(), readFully(file4)); in testTree()
439 MoreAsserts.assertEquals("filefour".getBytes(), readFully(file4)); in testTree()
450 MoreAsserts.assertEquals("dirPic".getBytes(), readFully(dirPic)); in testTree()
688 MoreAsserts.assertEquals("filetwo".getBytes(), readFully(uri)); in testGetContent_returnsResultToCallingActivity()
696 readFully(Uri.parse("content://com.android.cts.documentprovider/document/doc:file1")); in testTransferDocument()
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingTestUtil.java464 boolean refResult = readFully(referenceStream, yRef); in computePsnr()
465 boolean decResult = readFully(decodedStream, yDec); in computePsnr()
477 assertTrue(readFully(referenceStream, uvRef)); in computePsnr()
478 assertTrue(readFully(decodedStream, uvDec)); in computePsnr()
485 assertTrue(readFully(referenceStream, uvRef)); in computePsnr()
486 assertTrue(readFully(decodedStream, uvDec)); in computePsnr()
534 private static boolean readFully(InputStream in, byte[] out) throws IOException { in readFully() method in MediaTranscodingTestUtil
/cts/tests/tests/os/src/android/os/cts/
DFileUtilsTest.java127 file.readFully(expectedRaw); in assertEquals()
132 file.readFully(actualRaw); in assertEquals()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DReadElf.java225 mFile.readFully(mBuffer, 0, EI_NIDENT); in readHeader()
436 mFile.readFully(mBuffer, 0, byteCount); in readX()
456 mFile.readFully(mBuffer, 0, (int) Math.min(mBuffer.length, mFile.length() - offset)); in readString()
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
DIcmpMessage.java46 stream.readFully(original); in IcmpMessage()
DIpv4Packet.java79 stream.readFully(original); in Ipv4Packet()
/cts/tests/tests/security/src/android/security/cts/
DBannedFilesTest.java106 dis.readFully(fileData); in assertFileDoesNotContain()
/cts/tests/tests/keystore/src/android/keystore/cts/
DAESCipherNistCavpKatTest.java184 readFully(zipIn, entryContents); in runTestsForKatFile()
343 private static void readFully(InputStream in, byte[] buf) throws IOException { in readFully() method in AESCipherNistCavpKatTest
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DVdexParser.java69 raFile.readFully(buffer, 0, HEADER_SIZE); in parse()
DArtParser.java71 raFile.readFully(buffer, 0, HEADER_SIZE); in parse()
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/util/
DAtomicFileHelperTest.java152 String atomicFileReadContent = new String(atomicFile3.readFully()); in testAtomicFileRewrite()
/cts/libs/input/src/com/android/cts/input/
DInputJsonParser.java112 return readFully(inputStream); in readRawResource()
135 private String readFully(InputStream inputStream) throws IOException { in readFully() method in InputJsonParser
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java944 byte[] actual = readFully(new FileInputStream(file)); in assertFileContains()
1178 public static byte[] readFully(InputStream in) throws IOException { in readFully() method in StorageManagerTest
/cts/hostsidetests/security/src/android/security/cts/
DSELinuxHostTest.java544 private static final byte[] readFully(InputStream in) throws IOException { in readFully() method in SELinuxHostTest
572 + ": " + new String(readFully(p.getInputStream()))); in sepolicyAnalyzeGetTypesAssociatedWithAttribute()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiBackupRestoreTest.java339 dis.readFully(data); in loadResourceFile()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt49732 method public byte[] readFully() throws java.io.IOException;