Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTestCase.java115 protected byte[] readFully(Uri uri) throws IOException { in readFully() method in DocumentsClientTestCase
118 return readFully(in); in readFully()
126 return readFully(in); in readTypedFully()
130 protected byte[] readFully(InputStream in) throws IOException { in readFully() method in DocumentsClientTestCase
DDocumentsClientTest.java138 readFully(Uri.parse("content://com.android.cts.documentprovider/document/doc:file1")); in testOpenSimple()
174 MoreAsserts.assertEquals("fileone".getBytes(), readFully(uri)); in testOpenSimple()
178 MoreAsserts.assertEquals("replaced!".getBytes(), readFully(uri)); in testOpenSimple()
207 readFully(uri); in testOpenVirtual()
273 MoreAsserts.assertEquals("filetwo".getBytes(), readFully(uri)); in testCreateExisting()
325 MoreAsserts.assertEquals("filefour".getBytes(), readFully(file4)); in testTree()
328 MoreAsserts.assertEquals("filefour".getBytes(), readFully(file4)); in testTree()
339 MoreAsserts.assertEquals("dirPic".getBytes(), readFully(dirPic)); in testTree()
414 MoreAsserts.assertEquals("filetwo".getBytes(), readFully(uri)); in testGetContent_returnsResultToCallingActivity()
422 readFully(Uri.parse("content://com.android.cts.documentprovider/document/doc:file1")); in testTransferDocument()
/cts/tests/tests/os/src/android/os/cts/
DFileUtilsTest.java125 file.readFully(expectedRaw); in assertEquals()
130 file.readFully(actualRaw); in assertEquals()
/cts/libs/input/src/com/android/cts/input/
DHidJsonParser.java106 return readFully(inputStream); in readRawResource()
129 private String readFully(InputStream inputStream) throws IOException { in readFully() method in HidJsonParser
/cts/common/device-side/util/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/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/tests/tests/keystore/src/android/keystore/cts/
DAESCipherNistCavpKatTest.java146 readFully(zipIn, entryContents); in runTestsForKatFile()
305 private static void readFully(InputStream in, byte[] buf) throws IOException { in readFully() method in AESCipherNistCavpKatTest
/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.java108 dis.readFully(fileData); in assertFileDoesNotContain()
/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/os/src/android/os/storage/cts/
DStorageManagerTest.java740 byte[] actual = readFully(new FileInputStream(file)); in assertFileContains()
895 public static byte[] readFully(InputStream in) throws IOException { in readFully() method in StorageManagerTest
/cts/hostsidetests/security/src/android/cts/security/
DSELinuxHostTest.java346 private static final byte[] readFully(InputStream in) throws IOException { in readFully() method in SELinuxHostTest
374 + ": " + new String(readFully(p.getInputStream()))); in sepolicyAnalyzeGetTypesAssociatedWithAttribute()
/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java337 return Streams.readFully(new InputStreamReader(inputStream, StandardCharsets.UTF_8)); in httpGet()