Searched refs:Pipe (Results 1 - 11 of 11) sorted by relevance

/frameworks/av/include/media/nbaio/
H A DPipe.h24 // Pipe is multi-thread safe for readers (see PipeReader), but safe for only a single writer thread.
27 class Pipe : public NBAIO_Sink { class in namespace:android
35 Pipe(size_t maxFrames, const NBAIO_Format& format, void *buffer = NULL);
38 virtual ~Pipe();
63 volatile int32_t mReaders; // number of PipeReader clients currently attached to this Pipe
H A DPipeReader.h20 #include "Pipe.h"
29 // Construct a PipeReader and associate it with a Pipe
30 // FIXME make this constructor a factory method of Pipe.
31 PipeReader(Pipe& pipe);
53 Pipe& pipe() const { return mPipe; }
57 Pipe& mPipe;
/frameworks/av/media/libnbaio/
H A DPipe.cpp17 #define LOG_TAG "Pipe"
23 #include <media/nbaio/Pipe.h>
28 Pipe::Pipe(size_t maxFrames, const NBAIO_Format& format, void *buffer) : function in class:android::Pipe
38 Pipe::~Pipe()
46 ssize_t Pipe::write(const void *buffer, size_t count)
H A DAndroid.mk12 Pipe.cpp \
H A DPipeReader.cpp26 PipeReader::PipeReader(Pipe& pipe) :
/frameworks/native/libs/input/tests/
H A DTestHelpers.h26 class Pipe { class in namespace:android
31 Pipe() { function in class:android::Pipe
39 ~Pipe() {
H A DInputChannel_test.cpp42 Pipe pipe;
56 // clean up fds of Pipe endpoints that were closed so we don't try to close them again
/frameworks/native/libs/binder/tests/
H A DbinderThroughputTest.cpp52 class Pipe { class
55 Pipe(int readFd, int writeFd) : m_readFd{readFd}, m_writeFd{writeFd} {} function in class:Pipe
56 Pipe(const Pipe &) = delete;
57 Pipe& operator=(const Pipe &) = delete;
58 Pipe& operator=(const Pipe &&) = delete;
60 Pipe(Pipe
[all...]
/frameworks/av/services/audioflinger/
H A DTracks.cpp34 #include <media/nbaio/Pipe.h>
188 Pipe *pipe = new Pipe(mTeeSinkTrackFrames, pipeFormat);
H A DAudioFlinger.cpp62 #include <media/nbaio/Pipe.h>
2150 // Try to re-use most recently used Pipe to archive a copy of input for dumpsys,
2151 // or (re-)create if current Pipe is idle and does not match the new format
2175 Pipe *pipe = new Pipe(mTeeSinkInputFrames, format);
H A DThreads.cpp49 #include <media/nbaio/Pipe.h>
3525 // create a Pipe to archive a copy of FastMixer's output for dumpsys
3526 Pipe *teeSink = new Pipe(mTeeSinkOutputFrames, origformat);
5713 // create a Pipe for FastCapture to write to, and for us and fast tracks to read from
5728 Pipe *pipe = new Pipe(pipeFramesP2, format, pipeBuffer);

Completed in 272 milliseconds