Home
last modified time | relevance | path

Searched refs:getFD (Results 1 – 15 of 15) 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/tests/tests/security/src/android/security/cts/
DServicePermissionsTest.java104 serviceBinder.dump(out.getFD(), new String[0]); in testDumpProtected()
/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/JobScheduler/src/android/jobscheduler/cts/
DTriggerContentTest.java164 out.getFD().sync(); in copyToFileOrThrow()
/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.java558 FileDescriptor fd = fos.getFD(); in testRecorderVideo()
1012 mMediaRecorder.setNextOutputFile(file.getFD()); in testRecordExceedFileSizeLimit()
/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()