Searched refs:readAllBytes (Results 1 – 18 of 18) sorted by relevance
56 byte[] data = Files.readAllBytes(Paths.get(procFile)); in timeReadStatFileDirectly()66 byte[] data = Files.readAllBytes(Paths.get(procFile)); in timeReadPidProcDirectly()77 byte[] data = Files.readAllBytes(Paths.get(procFile)); in timeReadThreadProcDirectly()
48 static bool readAllBytes(const int fd, void* buffer, const size_t byteCount) { in readAllBytes() function92 bool read = readAllBytes(fd, (void*) &readInfo, sizeof(AndroidBitmapInfo)); in readBitmapPixels()124 read = readAllBytes(fd, (void*) pixels, byteCount); in readBitmapPixels()
44 byte[] data = Files.readAllBytes(file); in backupToTar()
163 byte[] timeInStateBytes = Files.readAllBytes(timeInStatePath); in initializeTimeInStateFormat()
247 return Files.readAllBytes(Paths.get(procFile)); in readData()
253 assertArrayEquals(mExpectedBytes, readAllBytes(inputStream)); in testAtomicFile()268 private static byte[] readAllBytes(@NonNull InputStream inputStream) throws IOException { in readAllBytes() method in AtomicFileTest
136 return Files.readAllBytes(Paths.get(mEventBufferPath)); in readTrace()
159 assertThat(Files.readAllBytes(Paths.get(mOutputFile.toURI()))).isEqualTo(backupData); in decryptFile_withExplicitStarts_decryptsEncryptedData()185 assertThat(Files.readAllBytes(Paths.get(mOutputFile.toURI()))).isEqualTo(backupData); in decryptFile_withNoChunkOrderingType_decryptsUsingExplicitStarts()257 assertThat(Files.readAllBytes(Paths.get(mOutputFile.toURI()))).isEqualTo(backupData); in decryptFile_withExplicitStarts_noChunks_returnsNoData()
132 Files.readAllBytes(mContext.getFileStreamPath(FILENAME).toPath())); in loadAtomsFromFile()
152 byte[] certificateBytes = Files.readAllBytes(cert.toPath()); in loadCertificatesFromDirectory()
73 byte[] pkcs7Signature = Files.readAllBytes(Paths.get(signaturePath)); in setUpFsverity()
145 final byte[] bytes = Files.readAllBytes(protoFile.toPath()); in loadTask()
91 String contents = new String(Files.readAllBytes(path), Charset.forName("UTF-8")); in testFileContentValid()
335 assertThat(Files.readAllBytes(getStateFile(mTransport, PM_PACKAGE))) in testRunTask_whenQueueEmpty_doesNotChangeStateFiles()337 assertThat(Files.readAllBytes(getStateFile(mTransport, PACKAGE_1))) in testRunTask_whenQueueEmpty_doesNotChangeStateFiles()548 assertThat(Files.readAllBytes(getStateFile(mTransport, PACKAGE_2))) in testRunTask_whenOnePackageAndWithPmState_doesNotInitializeTransportOrResetState()763 assertThat(Files.readAllBytes(getStateFile(mTransport, PACKAGE_1))) in testRunTask_whenSecondAgentUnavailable_commitsFirstAgentState()858 assertThat(Files.readAllBytes(getStateFile(mTransport, PACKAGE_1))) in testRunTask_whenTransportGetBackupQuotaThrows_doesNotTouchFiles()1001 assertThat(Files.readAllBytes(getStateFile(mTransport, PACKAGE_1))) in testRunTask_whenAgentOnBackupThrows_updatesFilesAndCleansUp()1097 assertThat(Files.readAllBytes(getStateFile(mTransport, PACKAGE_1))) in testRunTask_whenAgentUsesProhibitedKey_updatesFilesAndCleansUp()1273 assertThat(Files.readAllBytes(getStateFile(mTransport, PACKAGE_1))).isEqualTo(new byte[0]); in testRunTask_whenAgentDoesNotWriteData_updatesFilesAndCleansUp()1371 assertThat(Files.readAllBytes(getStateFile(mTransport, PACKAGE_1))) in testRunTask_whenFinishBackupSucceeds_updatesFilesAndCleansUp()1393 assertThat(Files.readAllBytes(getStateFile(mTransport, PM_PACKAGE))) in testRunTask_whenFinishBackupSucceedsForPm_cleansUp()[all …]
268 byte[] content = Files.readAllBytes(path); in findClass()
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
34416 HSPLjava/nio/file/Files;->readAllBytes(Ljava/nio/file/Path;)[B
67608 method public static byte[] readAllBytes(java.nio.file.Path) throws java.io.IOException;