Home
last modified time | relevance | path

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

/cts/tests/tests/os/src/android/os/cts/
DFileUtilsTest.java96 FileUtils.copy(in.getFD(), out.getFD()); in testCopyFileDescriptor()
106 FileUtils.copy(in.getFD(), out.getFD(), null, executor, (progress) -> { in testCopyFileDescriptorListener()
DMessageQueueTest.java363 queue.addOnFileDescriptorEventListener(reader.getFD(), in testFileDescriptorCallbacks()
365 queue.addOnFileDescriptorEventListener(writer.getFD(), in testFileDescriptorCallbacks()
382 queue.removeOnFileDescriptorEventListener(reader.getFD()); in testFileDescriptorCallbacks()
383 queue.removeOnFileDescriptorEventListener(writer.getFD()); in testFileDescriptorCallbacks()
414 queue.addOnFileDescriptorEventListener(reader.getFD(), in testPathologicalFileDescriptorReuseCallbacks1()
444 queue.addOnFileDescriptorEventListener(reader2.getFD(), in testPathologicalFileDescriptorReuseCallbacks1()
496 queue.addOnFileDescriptorEventListener(reader.getFD(), in testPathologicalFileDescriptorReuseCallbacks2()
526 queue.addOnFileDescriptorEventListener(reader2.getFD(), in testPathologicalFileDescriptorReuseCallbacks2()
586 queue.addOnFileDescriptorEventListener(reader.getFD(), in testPathologicalFileDescriptorReuseCallbacks3()
671 queue.addOnFileDescriptorEventListener(reader.getFD(), in testPathologicalFileDescriptorReuseCallbacks4()
DDebugTest.java222 assertFalse(Debug.dumpService("xyzzy -- not a valid service name", out.getFD(), null)); in testDumpService()
230 assertTrue(Debug.dumpService(Context.POWER_SERVICE, out.getFD(), null)); in testDumpService()
DSeccompTest.java263 fd = ParcelFileDescriptor.dup(fOut.getFD()); in doFileWriteTest()
/cts/suite/audio_quality/lib/include/
DClientSocket.h31 int getFD() { in getFD() function
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DFileUtils.java124 out.getFD().sync(); in copyToFile()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DFileUtils.java124 out.getFD().sync(); in copyToFile()
/cts/suite/audio_quality/lib/src/audio/
DRemoteAudio.cpp88 LOGD("adding fd %d to polling", mSocket.getFD()); in threadLoop()
89 … mLooper->addFd(mSocket.getFD(), EIdSocket, android::Looper::EVENT_INPUT, socketRxCallback, this); in threadLoop()
/cts/tests/tests/security/src/android/security/cts/
DServicePermissionsTest.java106 serviceBinder.dump(out.getFD(), new String[0]); in testDumpProtected()
/cts/tests/media/src/android/mediav2/cts/
DMuxerUnitTest.java141 muxer = new MediaMuxer(fInp.getFD(), MediaMuxer.OutputFormat.MUXER_OUTPUT_3GPP); in testIfReadOnlyFdIsRejected()
157 muxer = new MediaMuxer(fOut.getFD(), MediaMuxer.OutputFormat.MUXER_OUTPUT_WEBM); in testIfWriteOnlyFdIsRejected()
DMuxerTest.java735 MediaMuxer muxer = new MediaMuxer(refFile.getFD(), mOutFormat); in testMultiTrack()
757 muxer = new MediaMuxer(outFile.getFD(), mOutFormat); in testMultiTrack()
DExtractorTest.java499 testExtractor.setDataSource(fInp.getFD());
527 testExtractor.setDataSource(fInp.getFD(), garbageAppend.length,
DExtractorUnitTest.java743 extractor.setDataSource(fOut.getFD()); in testIfWriteOnlyFDIsRejectedBySetDataSource()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsProvider.java341 return ParcelFileDescriptor.dup(fis.getFD()); in openFile()
/cts/tests/tests/media/src/android/media/cts/
DMediaMuxerTest.java247 muxer = new MediaMuxer(file.getFD(), MediaMuxer.OutputFormat.MUXER_OUTPUT_MPEG_4); in testIllegalStateExceptions()
258 muxer = new MediaMuxer(file2.getFD(), MediaMuxer.OutputFormat.MUXER_OUTPUT_MPEG_4); in testIllegalStateExceptions()
DMediaRecorderTest.java560 FileDescriptor fd = fos.getFD(); in testRecorderVideo()
1014 mMediaRecorder.setNextOutputFile(file.getFD()); in testRecordExceedFileSizeLimit()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTriggerContentTest.java164 out.getFD().sync(); in copyToFileOrThrow()
/cts/tests/tests/net/src/android/net/cts/
DIpSecBaseTest.java414 FileDescriptor serverFd = serverSocket.getImpl().getFD$(); in getJavaTcpSocketPair()
/cts/tests/tests/graphics/src/android/graphics/cts/
DTypefaceTest.java515 assertNotNull(new Typeface.Builder(fis.getFD()).build()); in testTypefaceBuilder_FileSourceFD()
DBitmapFactoryTest.java335 FileDescriptor fd = file.getFD(); in testDecodeFileDescriptor3()