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

/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
40 Pipe::~Pipe()
48 ssize_t Pipe::write(const void *buffer, size_t count)
H A DPipeReader.cpp27 PipeReader::PipeReader(Pipe& pipe) :
/frameworks/av/include/media/nbaio/
H A DPipe.h25 // Pipe is multi-thread safe for readers (see PipeReader), but safe for only a single writer thread.
28 class Pipe : public NBAIO_Sink { class in namespace:android
36 Pipe(size_t maxFrames, const NBAIO_Format& format, void *buffer = NULL);
39 virtual ~Pipe();
65 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);
55 Pipe& pipe() const { return mPipe; }
59 Pipe& mPipe;
/frameworks/av/media/libnbaio/include/media/nbaio/
H A DPipe.h25 // Pipe is multi-thread safe for readers (see PipeReader), but safe for only a single writer thread.
28 class Pipe : public NBAIO_Sink { class in namespace:android
36 Pipe(size_t maxFrames, const NBAIO_Format& format, void *buffer = NULL);
39 virtual ~Pipe();
65 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);
55 Pipe& pipe() const { return mPipe; }
59 Pipe& mPipe;
/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...]
H A Dschd-dbg.cpp151 class Pipe { class
154 Pipe(int readFd, int writeFd) : m_readFd{readFd}, m_writeFd{writeFd} { function in class:Pipe
156 Pipe(const Pipe&) = delete;
157 Pipe& operator=(const Pipe&) = delete;
158 Pipe& operator=(const Pipe&&) = delete;
161 Pipe(Pipe
[all...]
/frameworks/av/services/audioflinger/
H A DTracks.cpp33 #include <media/nbaio/Pipe.h>
213 Pipe *pipe = new Pipe(mTeeSinkTrackFrames, pipeFormat);
H A DAudioFlinger.cpp63 #include <media/nbaio/Pipe.h>
2299 // Try to re-use most recently used Pipe to archive a copy of input for dumpsys,
2300 // or (re-)create if current Pipe is idle and does not match the new format
2324 Pipe *pipe = new Pipe(mTeeSinkInputFrames, format);
H A DThreads.cpp52 #include <media/nbaio/Pipe.h>
3691 // create a Pipe to archive a copy of FastMixer's output for dumpsys
3692 Pipe *teeSink = new Pipe(mTeeSinkOutputFrames, origformat);
6014 // create a Pipe for FastCapture to write to, and for us and fast tracks to read from
6033 Pipe *pipe = new Pipe(pipeFramesP2, format, pipeBuffer);

Completed in 242 milliseconds