Searched defs:pipe (Results 1 - 8 of 8) sorted by relevance

/frameworks/av/media/libnbaio/
H A DMonoPipeReader.cpp26 MonoPipeReader::MonoPipeReader(MonoPipe* pipe) : argument
27 NBAIO_Source(pipe->mFormat),
28 mPipe(pipe), mFifoReader(mPipe->mFifo, true /*throttlesWriter*/)
H A DPipeReader.cpp27 PipeReader::PipeReader(Pipe& pipe) : argument
28 NBAIO_Source(pipe.mFormat),
29 mPipe(pipe), mFifoReader(mPipe.mFifo, false /*throttlesWriter*/, true /*flush*/),
33 android_atomic_inc(&pipe.mReaders);
/frameworks/native/libs/input/tests/
H A DInputChannel_test.cpp41 // of a pipe and to check for EPIPE on the other end after the channel is destroyed.
42 Pipe pipe; local
44 sp<InputChannel> inputChannel = new InputChannel(String8("channel name"), pipe.sendFd);
48 EXPECT_EQ(pipe.sendFd, inputChannel->getFd())
53 EXPECT_EQ(-EPIPE, pipe.readSignal())
57 pipe.sendFd = -1;
/frameworks/base/services/backup/java/com/android/server/backup/
H A DKeyValueAdbBackupEngine.java175 KeyValueAdbBackupDataCopier(PackageInfo pack, ParcelFileDescriptor pipe, argument
179 mPipe = ParcelFileDescriptor.dup(pipe.getFileDescriptor());
242 // created, such that we can pipe the data into mOutput. The reason we do this is that
H A DBackupManagerService.java3760 // We do not take close() responsibility for the pipe FD
3841 FullBackupRunner(PackageInfo pack, IBackupAgent agent, ParcelFileDescriptor pipe, argument
3847 mPipe = ParcelFileDescriptor.dup(pipe.getFileDescriptor());
4622 * - If preflight data size is within limit, start reading data from agent pipe and writing
4623 * to transport pipe. While there is data to send, call transport.sendBackupData(int) to
4624 * tell the transport how many bytes to expect on its pipe.
4637 * - This task blocks at 3 points: 1. Preflight result check 2. Reading on agent side pipe
4882 // The runner dup'd the pipe half, so we close it here
4891 // The transport has its own copy of the read end of the pipe,
4896 // Spin off the runner to fetch the app's data and pipe i
[all...]
/frameworks/av/services/audioflinger/
H A DTracks.cpp177 // It should references the buffer via the pipe.
205 Pipe *pipe = new Pipe(mTeeSinkTrackFrames, pipeFormat); local
208 ssize_t index = pipe->negotiate(offers, 1, NULL, numCounterOffers);
210 PipeReader *pipeReader = new PipeReader(*pipe);
214 mTeeSink = pipe;
H A DAudioFlinger.cpp2313 TEE_SINK_NEW, // copy input using a new pipe
2314 TEE_SINK_OLD, // copy input using an existing pipe
2333 Pipe *pipe = new Pipe(mTeeSinkInputFrames, format); local
2336 ssize_t index = pipe->negotiate(offers, 1, NULL, numCounterOffers);
2338 PipeReader *pipeReader = new PipeReader(*pipe);
2342 mRecordTeeSink = pipe;
2344 teeSink = pipe;
H A DThreads.cpp2651 MonoPipe *pipe = (MonoPipe *)mPipeSink.get(); local
2652 if (pipe != NULL) {
2653 pipe->setAvgFrames((mScreenState & 1) ?
2654 (pipe->maxFrames() * 7) / 8 : mNormalFrameCount * 2);
3669 // This pipe depth compensates for scheduling latency of the normal mixer thread.
3671 // finally blocking. Note the pipe implementation rounds up the request to a power of 2.
3810 MonoPipe *pipe = (MonoPipe *)mPipeSink.get(); local
3811 latency += (pipe->getAvgFrames() * 1000) / mSampleRate;
5996 ALOGE("not enough memory for pipe buffer size=%zu", pipeSize);
5999 // pipe wil
6001 Pipe *pipe = new Pipe(pipeFramesP2, format, pipeBuffer); local
[all...]

Completed in 986 milliseconds