/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/tests/net/common/java/android/net/ |
D | NetworkTest.java | 64 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/ |
D | FileUtilsTest.java | 161 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()
|
D | FileBridgeTest.java | 50 bridge.setTargetFile(fileOs.getFD()); in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/ |
D | LeakDetectorTest.java | 110 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/ |
D | VerityBuilder.java | 292 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()
|
D | ApkSigningBlockUtils.java | 108 verifyIntegrityFor1MbChunkBasedAlgorithm(expected1MbChunkDigests, apk.getFD(), in verifyIntegrity()
|
/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/tests/backup/src/com/android/backuptest/ |
D | BackupTestActivity.java | 144 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/ |
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 | 118 FileDescriptor fileDescriptor = fileInput.getFD(); in testMuxer()
|
D | EncoderTest.java | 173 FileDescriptor fileDescriptor = fileInput.getFD(); in decodeFile()
|
/frameworks/base/core/java/android/os/ |
D | FileUtils.java | 245 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/ |
D | MediaRecorder.java | 1022 _setNextOutputFile(f.getFD()); in setNextOutputFile() 1048 _setOutputFile(file.getFD()); in prepare() 1057 _setOutputFile(file.getFD()); in prepare()
|
D | MediaMuxer.java | 343 FileDescriptor fd = file.getFD(); in MediaMuxer()
|
D | MediaMetadataRetriever.java | 74 FileDescriptor fd = is.getFD(); in setDataSource()
|
/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 | 89 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 | 219 ApkLite baseApk = PackageParser.parseApkLite(is.getFD(), base.getAbsolutePath(), 0); in testPackageSizeWithPartialPackageLite()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/fullbackup/ |
D | AppMetadataBackupWriterTest.java | 402 BackupDataInput input = new BackupDataInput(new FileInputStream(file).getFD()); in getWrittenBytes()
|
/frameworks/base/drm/java/android/drm/ |
D | DrmManagerClient.java | 622 fd = is.getFD(); in getOriginalMimeType()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTaskTest.java | 1298 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()
|