/frameworks/base/core/tests/benchmarks/src/android/os/ |
D | FileUtilsBenchmark.java | 57 copyInternalUserspace(in.getFD(), out.getFD(), Long.MAX_VALUE, null, null, null); in timeRegularUserspace() 66 copyInternalSendfile(in.getFD(), out.getFD(), Long.MAX_VALUE, null, null, null); in timeRegularSendfile() 75 copyInternalUserspace(in.getFD(), out.getFD(), Long.MAX_VALUE, null, null, null); in timePipeSourceUserspace() 84 copyInternalSplice(in.getFD(), out.getFD(), Long.MAX_VALUE, null, null, null); in timePipeSourceSplice() 93 copyInternalUserspace(in.getFD(), out.getFD(), Long.MAX_VALUE, null, null, null); in timePipeSinkUserspace() 102 copyInternalSplice(in.getFD(), out.getFD(), Long.MAX_VALUE, null, null, null); in timePipeSinkSplice()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ResilientAtomicFile.java | 65 FileUtils.setPermissions(str.getFD(), mFileMode, -1, -1); in finalizeOutStream() 149 try (ParcelFileDescriptor mainPfd = ParcelFileDescriptor.dup(mainInStream.getFD()); in finishWrite() 150 ParcelFileDescriptor copyPfd = ParcelFileDescriptor.dup(reserveInStream.getFD())) { in finishWrite()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileUtilsTest.java | 173 FileUtils.copy(in.getFD(), out.getFD()); in testCopy_FileToPipe() 193 FileUtils.copy(in.getFD(), out.getFD()); in testCopy_PipeToFile() 211 FileUtils.copy(in.getFD(), out.getFD()); in testCopy_PipeToPipe() 233 FileUtils.copy(in.getFD(), out.getFD(), size, null, null, null); in testCopy_ShortPipeToFile() 298 … FileUtils.copy(srvConnFd, fileOutputStream.getFD(), rcvFileSize, null, null, null); in testCopy_SocketToFile_FileToSocket$noRavenwood() 327 FileUtils.copy(fileInputStream.getFD(), clientFd, src.length(), null, null, null); in testCopy_SocketToFile_FileToSocket$noRavenwood()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | KeyValueAdbRestoreEngine.java | 111 BackupDataInput reader = new BackupDataInput(inputStream.getFD()); in sortKeyValueData() 112 BackupDataOutput writer = new BackupDataOutput(outputStream.getFD()); in sortKeyValueData()
|
/frameworks/base/core/java/android/util/apk/ |
D | VerityBuilder.java | 278 DataSource.create(file.getFD(), 0, file.length()), in generateFsVerityDigestAtLeafLevel() 299 DataSource.create(apk.getFD(), 0, signatureInfo.apkSigningBlockOffset), in generateApkVerityDigestAtLeafLevel() 307 DataSource.create(apk.getFD(), signatureInfo.centralDirOffset, in generateApkVerityDigestAtLeafLevel() 322 DataSource.create(apk.getFD(), offsetAfterEocdCdOffsetField, in generateApkVerityDigestAtLeafLevel()
|
/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/services/tests/powerstatstests/src/com/android/server/powerstats/ |
D | PowerStatsServiceTest.java | 349 mPowerStatsLogger.writeMeterDataToFile(fos.getFD()); in testWrittenMeterDataMatchesReadIncidentReportData() 395 mPowerStatsLogger.writeModelDataToFile(fos.getFD()); in testWrittenModelDataMatchesReadIncidentReportData() 442 mPowerStatsLogger.writeResidencyDataToFile(fos.getFD()); in testWrittenResidencyDataMatchesReadIncidentReportData() 502 mPowerStatsLogger.writeMeterDataToFile(incidentReportFos.getFD()); in testCorruptOnDeviceMeterStorage() 545 mPowerStatsLogger.writeModelDataToFile(incidentReportFos.getFD()); in testCorruptOnDeviceModelStorage() 586 mPowerStatsLogger.writeResidencyDataToFile(incidentReportFos.getFD()); in testCorruptOnDeviceResidencyStorage() 636 mPowerStatsLogger.writeMeterDataToFile(incidentReportFos.getFD()); in testNotEnoughBytesAfterMeterLengthField() 680 mPowerStatsLogger.writeModelDataToFile(incidentReportFos.getFD()); in testNotEnoughBytesAfterModelLengthField() 722 mPowerStatsLogger.writeResidencyDataToFile(incidentReportFos.getFD()); in testNotEnoughBytesAfterResidencyLengthField()
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/ |
D | DecoderTest.java | 126 FileDescriptor fileDescriptor = fileInput.getFD(); in testDecoder() 200 FileDescriptor fileDescriptor = fileInput.getFD(); in testNativeDecoder()
|
D | ExtractorTest.java | 96 FileDescriptor fileDescriptor = fileInput.getFD(); in testExtractor()
|
D | MuxerTest.java | 116 FileDescriptor fileDescriptor = fileInput.getFD(); in testMuxer()
|
D | EncoderTest.java | 173 FileDescriptor fileDescriptor = fileInput.getFD(); in decodeFile()
|
/frameworks/base/services/tests/RemoteProvisioningServiceTests/src/com/android/server/security/rkp/ |
D | RemoteProvisioningShellCommandTest.java | 121 new FileInputStream(in).getFD(), in exec() 122 new FileOutputStream(out).getFD(), in exec() 123 new FileOutputStream(err).getFD(), in exec()
|
/frameworks/base/ravenwood/runtime-helper-src/framework/com/android/platform/test/ravenwood/nativesubstitution/ |
D | ParcelFileDescriptor_host.java | 89 final FileDescriptor fd = raf.getFD(); in native_open$ravenwood()
|
/frameworks/base/ravenwood/runtime-test/test/com/android/ravenwood/runtimetest/ |
D | OsTest.java | 47 var fd = raf.getFD(); in withTestFile()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaTestUtil.java | 62 Debug.dumpNativeHeap(o.getFD()); in getNativeHeapDump()
|
/frameworks/base/media/java/android/media/ |
D | MediaRecorder.java | 1278 _setNextOutputFile(f.getFD()); in setNextOutputFile() 1304 _setOutputFile(file.getFD()); in prepare() 1313 _setOutputFile(file.getFD()); in prepare()
|
D | MediaMuxer.java | 356 FileDescriptor fd = file.getFD(); in MediaMuxer()
|
/frameworks/base/services/core/java/com/android/server/updates/ |
D | ConfigUpdateInstallReceiver.java | 207 out.getFD().sync(); in writeUpdate()
|
/frameworks/base/core/java/android/os/ |
D | FileUtils.java | 278 stream.getFD().sync(); in sync() 404 return copy(((FileInputStream) in).getFD(), ((FileOutputStream) out).getFD(), in copy() 1732 public FileDescriptor getFD() { in getFD() method in FileUtils.MemoryPipe 1764 IoUtils.closeQuietly(getFD()); in close()
|
D | Binder.java | 1259 in = new FileInputStream("/dev/null").getFD(); in onShellCommand() 1262 out = new FileOutputStream("/dev/null").getFD(); in onShellCommand()
|
/frameworks/base/core/java/android/util/ |
D | Xml.java | 225 Os.pread(((FileInputStream) in).getFD(), magic, 0, magic.length, 0); in resolvePullParser()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | FileRotator.java | 415 fos.getFD().sync(); in writeFile()
|
/frameworks/base/core/java/android/content/res/ |
D | AssetFileDescriptor.java | 429 int res = Os.pread(getFD(), buffer, offset, count, mFileOffset + mOffset); in read()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | DexMetadataHelperTest.java | 416 ParseTypeImpl.forDefaultParsing().reset(), is.getFD(), in testPackageSizeWithPartialPackageLite()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | BrailleDisplayConnection.java | 489 return readFn.apply(stream.getFD().getInt$()); in getDefaultNativeScanner()
|