/frameworks/base/core/tests/benchmarks/src/android/os/ |
D | FileUtilsBenchmark.java | 57 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/ |
D | FileUtilsTest.java | 139 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()
|
D | FileBridgeTest.java | 50 bridge.setTargetFile(fileOs.getFD()); in setUp()
|
/frameworks/base/tests/net/java/android/net/ |
D | NetworkTest.java | 67 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/ |
D | LeakDetectorTest.java | 112 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/ |
D | KeyValueAdbRestoreEngine.java | 114 BackupDataInput reader = new BackupDataInput(inputStream.getFD()); in sortKeyValueData() 115 BackupDataOutput writer = new BackupDataOutput(outputStream.getFD()); in sortKeyValueData()
|
/frameworks/base/core/java/android/os/ |
D | FileUtils.java | 197 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/ |
D | BackupTestActivity.java | 144 BackupDataOutput data = new BackupDataOutput(dataFile.getFD()); 160 BackupDataInput data = new BackupDataInput(dataFile.getFD());
|
/frameworks/base/core/java/android/util/apk/ |
D | ApkVerityBuilder.java | 262 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()
|
D | ApkSigningBlockUtils.java | 108 verifyIntegrityFor1MbChunkBasedAlgorithm(expected1MbChunkDigests, apk.getFD(), in verifyIntegrity()
|
/frameworks/base/media/java/android/media/ |
D | MediaRecorder.java | 936 _setNextOutputFile(f.getFD()); in setNextOutputFile() 961 _setOutputFile(file.getFD()); in prepare() 970 _setOutputFile(file.getFD()); in prepare()
|
D | MediaMuxer.java | 332 FileDescriptor fd = file.getFD(); in MediaMuxer()
|
D | MediaMetadataRetriever.java | 73 FileDescriptor fd = is.getFD(); in setDataSource()
|
D | ThumbnailUtils.java | 109 FileDescriptor fd = stream.getFD(); in createImageThumbnail()
|
D | ExifInterface.java | 1336 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/ |
D | AtomicFile.java | 212 stream.getFD().sync(); in sync()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaTestUtil.java | 62 Debug.dumpNativeHeap(o.getFD()); in getNativeHeapDump()
|
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/ |
D | PerfDataRecorder.java | 68 if (!Debug.dumpService(cmd, fo.getFD(), args)) { in runDumpsysStats()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | LeakReporter.java | 78 mLeakDetector.dump(fos.getFD(), w, new String[0]); in dumpLeak()
|
/frameworks/base/services/core/java/com/android/server/updates/ |
D | ConfigUpdateInstallReceiver.java | 197 out.getFD().sync(); in writeUpdate()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/dex/ |
D | DexMetadataHelperTest.java | 225 ApkLite baseApk = PackageParser.parseApkLite(is.getFD(), base.getAbsolutePath(), 0); in testPackageSizeWithPartialPackageLite()
|
/frameworks/base/drm/java/android/drm/ |
D | DrmManagerClient.java | 622 fd = is.getFD(); in getOriginalMimeType()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/timezone/ |
D | RulesManagerServiceTest.java | 879 FileDescriptor fd = fos.getFD(); in doDumpCallAndCapture()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageInstaller.java | 870 Os.fsync(((ParcelFileDescriptor.AutoCloseOutputStream) out).getFD()); in fsync()
|
/frameworks/base/graphics/java/android/graphics/ |
D | ImageDecoder.java | 312 FileDescriptor fd = stream.getFD(); in createFromFile()
|