Searched refs:getFD (Results 1 – 15 of 15) sorted by relevance
/cts/tests/tests/os/src/android/os/cts/ |
D | FileUtilsTest.java | 96 FileUtils.copy(in.getFD(), out.getFD()); in testCopyFileDescriptor() 106 FileUtils.copy(in.getFD(), out.getFD(), null, executor, (progress) -> { in testCopyFileDescriptorListener()
|
D | MessageQueueTest.java | 363 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()
|
D | DebugTest.java | 222 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()
|
D | SeccompTest.java | 263 fd = ParcelFileDescriptor.dup(fOut.getFD()); in doFileWriteTest()
|
/cts/suite/audio_quality/lib/include/ |
D | ClientSocket.h | 31 int getFD() { in getFD() function
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | FileUtils.java | 124 out.getFD().sync(); in copyToFile()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | FileUtils.java | 124 out.getFD().sync(); in copyToFile()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | ServicePermissionsTest.java | 104 serviceBinder.dump(out.getFD(), new String[0]); in testDumpProtected()
|
/cts/suite/audio_quality/lib/src/audio/ |
D | RemoteAudio.cpp | 88 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/ |
D | TriggerContentTest.java | 164 out.getFD().sync(); in copyToFileOrThrow()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaMuxerTest.java | 247 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()
|
D | MediaRecorderTest.java | 558 FileDescriptor fd = fos.getFD(); in testRecorderVideo() 1012 mMediaRecorder.setNextOutputFile(file.getFD()); in testRecordExceedFileSizeLimit()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | IpSecBaseTest.java | 414 FileDescriptor serverFd = serverSocket.getImpl().getFD$(); in getJavaTcpSocketPair()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | TypefaceTest.java | 515 assertNotNull(new Typeface.Builder(fis.getFD()).build()); in testTypefaceBuilder_FileSourceFD()
|
D | BitmapFactoryTest.java | 335 FileDescriptor fd = file.getFD(); in testDecodeFileDescriptor3()
|