Home
last modified time | relevance | path

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

/frameworks/base/apct-tests/perftests/core/src/android/os/
DCpuUsageTrackingPerfTest.java56 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()
/frameworks/base/packages/PrintSpooler/jni/
Dcom_android_printspooler_util_BitmapSerializeUtils.cpp48 static bool readAllBytes(const int fd, void* buffer, const size_t byteCount) { in readAllBytes() function
92 bool read = readAllBytes(fd, (void*) &readInfo, sizeof(AndroidBitmapInfo)); in readBitmapPixels()
124 read = readAllBytes(fd, (void*) pixels, byteCount); in readBitmapPixels()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowFullBackup.java44 byte[] data = Files.readAllBytes(file); in backupToTar()
/frameworks/base/core/java/com/android/internal/os/
DProcTimeInStateReader.java163 byte[] timeInStateBytes = Files.readAllBytes(timeInStatePath); in initializeTimeInStateFormat()
DKernelSingleUidTimeReader.java247 return Files.readAllBytes(Paths.get(procFile)); in readData()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotLoader.java75 final byte[] bytes = Files.readAllBytes(protoFile.toPath()); in loadTask()
/frameworks/layoutlib/bridge/src/android/graphics/fonts/
DFont_Builder_Delegate.java78 byte[] byteArray = Files.readAllBytes(new File(fullPath).toPath()); in nGetAssetBuffer()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DPersistAtomsStorage.java132 Files.readAllBytes(mContext.getFileStreamPath(FILENAME).toPath())); in loadAtomsFromFile()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DTransferOwnershipMetadataManagerTest.java91 String contents = new String(Files.readAllBytes(path), Charset.forName("UTF-8")); in testFileContentValid()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java331 assertThat(Files.readAllBytes(getStateFile(mTransport, PM_PACKAGE))) in testRunTask_whenQueueEmpty_doesNotChangeStateFiles()
333 assertThat(Files.readAllBytes(getStateFile(mTransport, PACKAGE_1))) in testRunTask_whenQueueEmpty_doesNotChangeStateFiles()
546 assertThat(Files.readAllBytes(getStateFile(mTransport, PACKAGE_2))) in testRunTask_whenOnePackageAndWithPmState_doesNotInitializeTransportOrResetState()
761 assertThat(Files.readAllBytes(getStateFile(mTransport, PACKAGE_1))).isEqualTo( in testRunTask_whenSecondAgentUnavailable_commitsFirstAgentState()
855 assertThat(Files.readAllBytes(getStateFile(mTransport, PACKAGE_1))) in testRunTask_whenTransportGetBackupQuotaThrows_doesNotTouchFiles()
998 assertThat(Files.readAllBytes(getStateFile(mTransport, PACKAGE_1))) in testRunTask_whenAgentOnBackupThrows_updatesFilesAndCleansUp()
1094 assertThat(Files.readAllBytes(getStateFile(mTransport, PACKAGE_1))) in testRunTask_whenAgentUsesProhibitedKey_updatesFilesAndCleansUp()
1270 assertThat(Files.readAllBytes(getStateFile(mTransport, PACKAGE_1))).isEqualTo(new byte[0]); in testRunTask_whenAgentDoesNotWriteData_updatesFilesAndCleansUp()
1368 assertThat(Files.readAllBytes(getStateFile(mTransport, PACKAGE_1))) in testRunTask_whenFinishBackupSucceeds_updatesFilesAndCleansUp()
1390 assertThat(Files.readAllBytes(getStateFile(mTransport, PM_PACKAGE))) in testRunTask_whenFinishBackupSucceedsForPm_cleansUp()
[all …]
/frameworks/base/services/core/java/com/android/server/security/
DVerityUtils.java73 byte[] pkcs7Signature = Files.readAllBytes(Paths.get(signaturePath)); in setUpFsverity()
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/
DRemoteLayoutlibCallbackAdapter.java286 byte[] content = Files.readAllBytes(path); in findClass()
/frameworks/base/config/
Dboot-image-profile.txt27611 HSPLjava/nio/file/Files;->readAllBytes(Ljava/nio/file/Path;)[B
/frameworks/base/non-updatable-api/
Dcurrent.txt64995 method public static byte[] readAllBytes(java.nio.file.Path) throws java.io.IOException;
/frameworks/base/api/
Dcurrent.txt65139 method public static byte[] readAllBytes(java.nio.file.Path) throws java.io.IOException;