Home
last modified time | relevance | path

Searched refs:pipe (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/av/media/libnbaio/
DPipeReader.cpp26 PipeReader::PipeReader(Pipe& pipe) : in PipeReader() argument
27 NBAIO_Source(pipe.mFormat), in PipeReader()
28 mPipe(pipe), in PipeReader()
30 mFront(android_atomic_acquire_load(&pipe.mRear)), in PipeReader()
34 android_atomic_inc(&pipe.mReaders); in PipeReader()
DMonoPipeReader.cpp26 MonoPipeReader::MonoPipeReader(MonoPipe* pipe) : in MonoPipeReader() argument
27 NBAIO_Source(pipe->mFormat), in MonoPipeReader()
28 mPipe(pipe) in MonoPipeReader()
/frameworks/native/libs/input/tests/
DInputChannel_test.cpp42 Pipe pipe; in TEST_F() local
44 sp<InputChannel> inputChannel = new InputChannel(String8("channel name"), pipe.sendFd); in TEST_F()
48 EXPECT_EQ(pipe.sendFd, inputChannel->getFd()) in TEST_F()
53 EXPECT_EQ(-EPIPE, pipe.readSignal()) in TEST_F()
57 pipe.sendFd = -1; in TEST_F()
DTestHelpers.h33 ::pipe(fds); in Pipe()
/frameworks/av/include/media/nbaio/
DMonoPipeReader.h33 MonoPipeReader(MonoPipe* pipe);
57 MonoPipe* pipe() const { return mPipe; }
DPipeReader.h31 PipeReader(Pipe& pipe);
53 Pipe& pipe() const { return mPipe; }
/frameworks/base/packages/Keyguard/scripts/
Dnew_merge.py96 pipe = Popen(['git', 'diff', '--name-only', argv[1]], stdout=PIPE).stdout
97 for line in iter(pipe.readline,''):
102 pipe.close()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDocumentsProvider.java343 final ParcelFileDescriptor[] pipe; in createDocument() local
352 pipe = ParcelFileDescriptor.createReliablePipe(); in createDocument()
356 pipe[0].close(); // 0 bytes for a new document. in createDocument()
385 parentId.mDeviceId, infoUniqueName, pipe[1]); in createDocument()
393 pipe[1].close(); in createDocument()
/frameworks/support/documents-archive/src/android/support/provider/
DDocumentArchive.java375 ParcelFileDescriptor[] pipe; in openDocument() local
378 pipe = ParcelFileDescriptor.createReliablePipe(); in openDocument()
388 final ParcelFileDescriptor outputPipe = pipe[1]; in openDocument()
427 return pipe[0]; in openDocument()
/frameworks/native/cmds/bugreportz/
Dbugreportz_test.cpp37 ASSERT_EQ(0, pipe(fds)); in SetUp()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
DStubProvider.java405 ParcelFileDescriptor[] pipe; in startWrite() local
407 pipe = ParcelFileDescriptor.createReliablePipe(); in startWrite()
411 final ParcelFileDescriptor readPipe = pipe[0]; in startWrite()
412 final ParcelFileDescriptor writePipe = pipe[1]; in startWrite()
461 private void closePipeWithErrorSilently(ParcelFileDescriptor pipe, String error) { in closePipeWithErrorSilently() argument
463 pipe.closeWithError(error); in closePipeWithErrorSilently()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java835 ParcelFileDescriptor[] pipe; in doInBackground() local
837 pipe = ParcelFileDescriptor.createPipe(); in doInBackground()
839 try (ParcelFileDescriptor source = pipe[0]) { in doInBackground()
840 try (ParcelFileDescriptor destination = pipe[1]) { in doInBackground()
DRemotePrintDocument.java1019 ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createPipe(); in run() local
1020 source = pipe[0]; in run()
1021 sink = pipe[1]; in run()
/frameworks/base/core/java/android/app/
DUiAutomation.java989 ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createPipe(); in executeShellCommand() local
990 source = pipe[0]; in executeShellCommand()
991 sink = pipe[1]; in executeShellCommand()
/frameworks/native/libs/binder/tests/
DbinderThroughputTest.cpp94 int error1 = pipe(a); in createPipePair()
95 int error2 = pipe(b); in createPipePair()
DbinderLibTest.cpp76 ret = pipe(pipefd); in start_server_process()
/frameworks/base/services/core/jni/
Dcom_android_server_UsbMidiDevice.cpp112 pipe(pipeFD); in android_server_UsbMidiDevice_open()
/frameworks/native/cmds/dumpsys/
Ddumpsys.cpp182 if (pipe(sfd) != 0) { in main()
/frameworks/base/core/java/android/os/
DParcelFileDescriptor.java392 final FileDescriptor[] fds = Os.pipe(); in createPipe()
414 final FileDescriptor[] fds = Os.pipe(); in createReliablePipe()
/frameworks/base/core/jni/
Dandroid_view_InputQueue.cpp189 if (pipe(pipeFds)) { in createQueue()
Dandroid_app_NativeActivity.cpp304 if (pipe(msgpipe)) { in loadNativeCode_native()
/frameworks/av/services/audioflinger/
DTracks.cpp186 Pipe *pipe = new Pipe(mTeeSinkTrackFrames, pipeFormat); in TrackBase() local
189 ssize_t index = pipe->negotiate(offers, 1, NULL, numCounterOffers); in TrackBase()
191 PipeReader *pipeReader = new PipeReader(*pipe); in TrackBase()
195 mTeeSink = pipe; in TrackBase()
DThreads.cpp2695 MonoPipe *pipe = (MonoPipe *)mPipeSink.get(); in threadLoop_write() local
2696 if (pipe != NULL) { in threadLoop_write()
2697 pipe->setAvgFrames((mScreenState & 1) ? in threadLoop_write()
2698 (pipe->maxFrames() * 7) / 8 : mNormalFrameCount * 2); in threadLoop_write()
3808 MonoPipe *pipe = (MonoPipe *)mPipeSink.get(); in correctLatency_l() local
3809 latency += (pipe->getAvgFrames() * 1000) / mSampleRate; in correctLatency_l()
5944 Pipe *pipe = new Pipe(pipeFramesP2, format, pipeBuffer); in RecordThread() local
5947 ssize_t index = pipe->negotiate(offers, 1, NULL, numCounterOffers); in RecordThread()
5949 mPipeSink = pipe; in RecordThread()
5950 PipeReader *pipeReader = new PipeReader(*pipe); in RecordThread()
[all …]
DAudioFlinger.cpp2178 Pipe *pipe = new Pipe(mTeeSinkInputFrames, format); in openInput_l() local
2181 ssize_t index = pipe->negotiate(offers, 1, NULL, numCounterOffers); in openInput_l()
2183 PipeReader *pipeReader = new PipeReader(*pipe); in openInput_l()
2187 mRecordTeeSink = pipe; in openInput_l()
2189 teeSink = pipe; in openInput_l()
/frameworks/base/docs/html/guide/topics/resources/
Dmenu-resource.jd132 of the others as a flag set, by separating them with a pipe {@code |}.</td></tr>

12