Searched refs:readAllBytes (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/apct-tests/perftests/core/src/android/os/ |
D | CpuUsageTrackingPerfTest.java | 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()
|
/frameworks/base/packages/PrintSpooler/jni/ |
D | com_android_printspooler_util_BitmapSerializeUtils.cpp | 48 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/opt/gamesdk/third_party/protobuf-3.0.0/benchmarks/ |
D | ProtoBench.java | 90 final byte[] inputData = readAllBytes(file); in runTest() 190 private static byte[] readAllBytes(String filename) throws IOException { in readAllBytes() method in ProtoBench
|
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/ |
D | ShadowFullBackup.java | 44 byte[] data = Files.readAllBytes(file); in backupToTar()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ProcTimeInStateReader.java | 163 byte[] timeInStateBytes = Files.readAllBytes(timeInStatePath); in initializeTimeInStateFormat()
|
D | KernelSingleUidTimeReader.java | 231 return Files.readAllBytes(Paths.get(procFile)); in readData()
|
/frameworks/layoutlib/bridge/src/android/graphics/fonts/ |
D | Font_Builder_Delegate.java | 78 byte[] byteArray = Files.readAllBytes(new File(fullPath).toPath()); in nGetAssetBuffer()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskSnapshotLoader.java | 75 final byte[] bytes = Files.readAllBytes(protoFile.toPath()); in loadTask()
|
/frameworks/base/services/core/java/com/android/server/security/ |
D | VerityUtils.java | 80 final PKCS7 pkcs7 = new PKCS7(Files.readAllBytes(Paths.get(signaturePath))); in setUpFsverity() 262 final byte[] pkcs7Signature = Files.readAllBytes(path); in generateFsverityDescriptorAndMeasurement()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | TransferOwnershipMetadataManagerTest.java | 91 String contents = new String(Files.readAllBytes(path), Charset.forName("UTF-8")); in testFileContentValid()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTaskTest.java | 332 assertThat(Files.readAllBytes(getStateFile(mTransport, PM_PACKAGE))) in testRunTask_whenQueueEmpty_doesNotChangeStateFiles() 334 assertThat(Files.readAllBytes(getStateFile(mTransport, PACKAGE_1))) in testRunTask_whenQueueEmpty_doesNotChangeStateFiles() 547 assertThat(Files.readAllBytes(getStateFile(mTransport, PACKAGE_2))) in testRunTask_whenOnePackageAndWithPmState_doesNotInitializeTransportOrResetState() 762 assertThat(Files.readAllBytes(getStateFile(mTransport, PACKAGE_1))).isEqualTo( in testRunTask_whenSecondAgentUnavailable_commitsFirstAgentState() 856 assertThat(Files.readAllBytes(getStateFile(mTransport, PACKAGE_1))) in testRunTask_whenTransportGetBackupQuotaThrows_doesNotTouchFiles() 999 assertThat(Files.readAllBytes(getStateFile(mTransport, PACKAGE_1))) in testRunTask_whenAgentOnBackupThrows_updatesFilesAndCleansUp() 1095 assertThat(Files.readAllBytes(getStateFile(mTransport, PACKAGE_1))) in testRunTask_whenAgentUsesProhibitedKey_updatesFilesAndCleansUp() 1271 assertThat(Files.readAllBytes(getStateFile(mTransport, PACKAGE_1))).isEqualTo(new byte[0]); in testRunTask_whenAgentDoesNotWriteData_updatesFilesAndCleansUp() 1369 assertThat(Files.readAllBytes(getStateFile(mTransport, PACKAGE_1))) in testRunTask_whenFinishBackupSucceeds_updatesFilesAndCleansUp() 1391 assertThat(Files.readAllBytes(getStateFile(mTransport, PM_PACKAGE))) in testRunTask_whenFinishBackupSucceedsForPm_cleansUp() [all …]
|
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/ |
D | RemoteLayoutlibCallbackAdapter.java | 286 byte[] content = Files.readAllBytes(path); in findClass()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 27612 HSPLjava/nio/file/Files;->readAllBytes(Ljava/nio/file/Path;)[B
|
/frameworks/base/api/ |
D | current.txt | 63631 method public static byte[] readAllBytes(java.nio.file.Path) throws java.io.IOException;
|