Home
last modified time | relevance | path

Searched refs:getFD (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/core/tests/benchmarks/src/android/os/
DFileUtilsBenchmark.java57 copyInternalUserspace(in.getFD(), out.getFD(), null, null, Long.MAX_VALUE); in timeRegularUserspace()
66 copyInternalSendfile(in.getFD(), out.getFD(), null, null, Long.MAX_VALUE); in timeRegularSendfile()
75 copyInternalUserspace(in.getFD(), out.getFD(), null, null, Long.MAX_VALUE); in timePipeSourceUserspace()
84 copyInternalSplice(in.getFD(), out.getFD(), null, null, Long.MAX_VALUE); in timePipeSourceSplice()
93 copyInternalUserspace(in.getFD(), out.getFD(), null, null, Long.MAX_VALUE); in timePipeSinkUserspace()
102 copyInternalSplice(in.getFD(), out.getFD(), null, null, Long.MAX_VALUE); in timePipeSinkSplice()
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java139 FileUtils.copy(in.getFD(), out.getFD()); in testCopy_FileToPipe()
158 FileUtils.copy(in.getFD(), out.getFD()); in testCopy_PipeToFile()
175 FileUtils.copy(in.getFD(), out.getFD()); in testCopy_PipeToPipe()
196 FileUtils.copy(in.getFD(), out.getFD(), null, null, size); in testCopy_ShortPipeToFile()
DFileBridgeTest.java50 bridge.setTargetFile(fileOs.getFD()); in setUp()
/frameworks/base/tests/net/java/android/net/
DNetworkTest.java67 assertTrue(null != fis.getFD()); in testBindSocketOfNonSocketFdThrows()
68 assertTrue(fis.getFD().valid()); in testBindSocketOfNonSocketFdThrows()
71 mNetwork.bindSocket(fis.getFD()); in testBindSocketOfNonSocketFdThrows()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
DLeakDetectorTest.java112 mLeakDetector.dump(fos.getFD(), new PrintWriter(fos), new String[0]); in testDump()
128 mLeakDetector.dump(fos.getFD(), new PrintWriter(fos), new String[0]); in testDisabled()
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbRestoreEngine.java114 BackupDataInput reader = new BackupDataInput(inputStream.getFD()); in sortKeyValueData()
115 BackupDataOutput writer = new BackupDataOutput(outputStream.getFD()); in sortKeyValueData()
/frameworks/base/core/java/android/os/
DFileUtils.java197 stream.getFD().sync(); in sync()
252 Os.fsync(out.getFD()); in copyToFileOrThrow()
317 return copy(((FileInputStream) in).getFD(), ((FileOutputStream) out).getFD(), in copy()
1082 public FileDescriptor getFD() { in getFD() method in FileUtils.MemoryPipe
1114 IoUtils.closeQuietly(getFD()); in close()
/frameworks/base/tests/backup/src/com/android/backuptest/
DBackupTestActivity.java144 BackupDataOutput data = new BackupDataOutput(dataFile.getFD());
160 BackupDataInput data = new BackupDataInput(dataFile.getFD());
/frameworks/base/core/java/android/util/apk/
DApkVerityBuilder.java262 new MemoryMappedFileDataSource(apk.getFD(), 0, signatureInfo.apkSigningBlockOffset), in generateApkVerityDigestAtLeafLevel()
270 new MemoryMappedFileDataSource(apk.getFD(), signatureInfo.centralDirOffset, in generateApkVerityDigestAtLeafLevel()
285 new MemoryMappedFileDataSource(apk.getFD(), offsetAfterEocdCdOffsetField, in generateApkVerityDigestAtLeafLevel()
DApkSigningBlockUtils.java108 verifyIntegrityFor1MbChunkBasedAlgorithm(expected1MbChunkDigests, apk.getFD(), in verifyIntegrity()
/frameworks/base/media/java/android/media/
DMediaRecorder.java936 _setNextOutputFile(f.getFD()); in setNextOutputFile()
961 _setOutputFile(file.getFD()); in prepare()
970 _setOutputFile(file.getFD()); in prepare()
DMediaMuxer.java332 FileDescriptor fd = file.getFD(); in MediaMuxer()
DMediaMetadataRetriever.java73 FileDescriptor fd = is.getFD(); in setDataSource()
DThumbnailUtils.java109 FileDescriptor fd = stream.getFD(); in createImageThumbnail()
DExifInterface.java1336 if (isSeekableFD(in.getFD())) { in ExifInterface()
1337 mSeekableFileDescriptor = in.getFD(); in ExifInterface()
1395 && isSeekableFD(((FileInputStream) inputStream).getFD())) { in ExifInterface()
1397 mSeekableFileDescriptor = ((FileInputStream) inputStream).getFD(); in ExifInterface()
/frameworks/support/compat/src/main/java/androidx/core/util/
DAtomicFile.java212 stream.getFD().sync(); in sync()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaTestUtil.java62 Debug.dumpNativeHeap(o.getFD()); in getNativeHeapDump()
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DPerfDataRecorder.java68 if (!Debug.dumpService(cmd, fo.getFD(), args)) { in runDumpsysStats()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DLeakReporter.java78 mLeakDetector.dump(fos.getFD(), w, new String[0]); in dumpLeak()
/frameworks/base/services/core/java/com/android/server/updates/
DConfigUpdateInstallReceiver.java197 out.getFD().sync(); in writeUpdate()
/frameworks/base/core/tests/coretests/src/android/content/pm/dex/
DDexMetadataHelperTest.java225 ApkLite baseApk = PackageParser.parseApkLite(is.getFD(), base.getAbsolutePath(), 0); in testPackageSizeWithPartialPackageLite()
/frameworks/base/drm/java/android/drm/
DDrmManagerClient.java622 fd = is.getFD(); in getOriginalMimeType()
/frameworks/base/services/tests/servicestests/src/com/android/server/timezone/
DRulesManagerServiceTest.java879 FileDescriptor fd = fos.getFD(); in doDumpCallAndCapture()
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java870 Os.fsync(((ParcelFileDescriptor.AutoCloseOutputStream) out).getFD()); in fsync()
/frameworks/base/graphics/java/android/graphics/
DImageDecoder.java312 FileDescriptor fd = stream.getFD(); in createFromFile()

12