Searched refs:Pipe (Results 1 - 10 of 10) 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/av/services/audioflinger/
H A DTracks.cpp36 #include <media/nbaio/Pipe.h>
188 Pipe *pipe = new Pipe(mTeeSinkTrackFrames, pipeFormat);
H A DAudioFlinger.cpp61 #include <media/nbaio/Pipe.h>
2022 // Try to re-use most recently used Pipe to archive a copy of input for dumpsys,
2023 // or (re-)create if current Pipe is idle and does not match the new format
2047 Pipe *pipe = new Pipe(mTeeSinkInputFrames, format);
H A DThreads.cpp46 #include <media/nbaio/Pipe.h>
2861 // create a Pipe to archive a copy of FastMixer's output for dumpsys
2862 Pipe *teeSink = new Pipe(mTeeSinkOutputFrames, origformat);
4996 // create a Pipe for FastMixer to write to, and for us and fast tracks to read from
5011 Pipe *pipe = new Pipe(pipeFramesP2, format, pipeBuffer);

Completed in 929 milliseconds