Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/benchmarks/src/android/os/
DFileUtilsBenchmark.java57 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/tests/net/common/java/android/net/
DNetworkTest.java64 assertTrue(null != fis.getFD()); in testBindSocketOfNonSocketFdThrows()
65 assertTrue(fis.getFD().valid()); in testBindSocketOfNonSocketFdThrows()
68 mNetwork.bindSocket(fis.getFD()); in testBindSocketOfNonSocketFdThrows()
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java161 FileUtils.copy(in.getFD(), out.getFD()); in testCopy_FileToPipe()
180 FileUtils.copy(in.getFD(), out.getFD()); in testCopy_PipeToFile()
197 FileUtils.copy(in.getFD(), out.getFD()); in testCopy_PipeToPipe()
218 FileUtils.copy(in.getFD(), out.getFD(), size, null, null, null); in testCopy_ShortPipeToFile()
DFileBridgeTest.java50 bridge.setTargetFile(fileOs.getFD()); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
DLeakDetectorTest.java110 mLeakDetector.dump(fos.getFD(), new PrintWriter(fos), new String[0]); in testDump()
126 mLeakDetector.dump(fos.getFD(), new PrintWriter(fos), new String[0]); in testDisabled()
/frameworks/base/core/java/android/util/apk/
DVerityBuilder.java292 new MemoryMappedFileDataSource(file.getFD(), 0, file.length()), in generateFsVerityDigestAtLeafLevel()
313 new MemoryMappedFileDataSource(apk.getFD(), 0, signatureInfo.apkSigningBlockOffset), in generateApkVerityDigestAtLeafLevel()
321 new MemoryMappedFileDataSource(apk.getFD(), signatureInfo.centralDirOffset, in generateApkVerityDigestAtLeafLevel()
336 new MemoryMappedFileDataSource(apk.getFD(), offsetAfterEocdCdOffsetField, in generateApkVerityDigestAtLeafLevel()
DApkSigningBlockUtils.java108 verifyIntegrityFor1MbChunkBasedAlgorithm(expected1MbChunkDigests, apk.getFD(), in verifyIntegrity()
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbRestoreEngine.java111 BackupDataInput reader = new BackupDataInput(inputStream.getFD()); in sortKeyValueData()
112 BackupDataOutput writer = new BackupDataOutput(outputStream.getFD()); in sortKeyValueData()
/frameworks/base/tests/backup/src/com/android/backuptest/
DBackupTestActivity.java144 BackupDataOutput data = new BackupDataOutput(dataFile.getFD());
160 BackupDataInput data = new BackupDataInput(dataFile.getFD());
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/
DDecoderTest.java126 FileDescriptor fileDescriptor = fileInput.getFD(); in testDecoder()
200 FileDescriptor fileDescriptor = fileInput.getFD(); in testNativeDecoder()
DExtractorTest.java96 FileDescriptor fileDescriptor = fileInput.getFD(); in testExtractor()
DMuxerTest.java118 FileDescriptor fileDescriptor = fileInput.getFD(); in testMuxer()
DEncoderTest.java173 FileDescriptor fileDescriptor = fileInput.getFD(); in decodeFile()
/frameworks/base/core/java/android/os/
DFileUtils.java245 stream.getFD().sync(); in sync()
306 Os.fsync(out.getFD()); in copyToFileOrThrow()
375 return copy(((FileInputStream) in).getFD(), ((FileOutputStream) out).getFD(), in copy()
1453 public FileDescriptor getFD() { in getFD() method in FileUtils.MemoryPipe
1485 IoUtils.closeQuietly(getFD()); in close()
/frameworks/base/media/java/android/media/
DMediaRecorder.java1022 _setNextOutputFile(f.getFD()); in setNextOutputFile()
1048 _setOutputFile(file.getFD()); in prepare()
1057 _setOutputFile(file.getFD()); in prepare()
DMediaMuxer.java343 FileDescriptor fd = file.getFD(); in MediaMuxer()
DMediaMetadataRetriever.java74 FileDescriptor fd = is.getFD(); in setDataSource()
/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.java89 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.java219 ApkLite baseApk = PackageParser.parseApkLite(is.getFD(), base.getAbsolutePath(), 0); in testPackageSizeWithPartialPackageLite()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/fullbackup/
DAppMetadataBackupWriterTest.java402 BackupDataInput input = new BackupDataInput(new FileInputStream(file).getFD()); in getWrittenBytes()
/frameworks/base/drm/java/android/drm/
DDrmManagerClient.java622 fd = is.getFD(); in getOriginalMimeType()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java1298 BackupDataInput backupData = new BackupDataInput(inputStream.getFD()); in testRunTask_whenAgentWritesData_callsTransportPerformBackupWithAgentData()
1330 BackupDataInput backupData = new BackupDataInput(inputStream.getFD()); in testRunTask_whenPmAgentWritesData_callsTransportPerformBackupWithAgentData()
1851 BackupDataInput backupData = new BackupDataInput(inputStream.getFD()); in testRunTask_whenIncrementalAndTransportRequestsNonIncremental()
1856 BackupDataInput backupData = new BackupDataInput(inputStream.getFD()); in testRunTask_whenIncrementalAndTransportRequestsNonIncremental()

12