Home
last modified time | relevance | path

Searched refs:fifo (Results 1 – 6 of 6) sorted by relevance

/cts/apps/CtsVerifier/jni/audio_loopback/audio_utils/
Dfifo.c28 void audio_utils_fifo_init(struct audio_utils_fifo *fifo, size_t frameCount, size_t frameSize, in audio_utils_fifo_init() argument
32 ALOG_ASSERT(fifo != NULL && frameCount > 0 && frameSize > 0 && buffer != NULL); in audio_utils_fifo_init()
33 fifo->mFrameCount = frameCount; in audio_utils_fifo_init()
34 fifo->mFrameCountP2 = roundup(frameCount); in audio_utils_fifo_init()
35 fifo->mFudgeFactor = fifo->mFrameCountP2 - fifo->mFrameCount; in audio_utils_fifo_init()
36 fifo->mFrameSize = frameSize; in audio_utils_fifo_init()
37 fifo->mBuffer = buffer; in audio_utils_fifo_init()
38 fifo->mFront = 0; in audio_utils_fifo_init()
39 fifo->mRear = 0; in audio_utils_fifo_init()
42 void audio_utils_fifo_deinit(struct audio_utils_fifo *fifo __unused) in audio_utils_fifo_deinit()
[all …]
Dfifo.h54 void audio_utils_fifo_init(struct audio_utils_fifo *fifo, size_t frameCount, size_t frameSize,
60 void audio_utils_fifo_deinit(struct audio_utils_fifo *fifo);
70 ssize_t audio_utils_fifo_write(struct audio_utils_fifo *fifo, const void *buffer, size_t count);
80 ssize_t audio_utils_fifo_read(struct audio_utils_fifo *fifo, void *buffer, size_t count);
/cts/tests/tests/security/src/android/security/cts/
DBinderExploitTest.java179 File fifo = new File(dir, "p" + i); in makePipes() local
180 if (fifo.exists()) in makePipes()
181 fifo.delete(); in makePipes()
182 Os.mkfifo(fifo.getPath(), 0600); in makePipes()
/cts/apps/CtsVerifier/jni/audio_loopback/
DAndroid.bp7 "audio_utils/fifo.c",
Dsles.cpp110 ssize_t actual = audio_utils_fifo_write(&(pSles->fifo), buffer, in recorderCallback()
170 ssize_t actual = audio_utils_fifo_read(&(pSles->fifo), buffer, pSles->bufSizeInFrames); in playerCallback()
323 audio_utils_fifo_init(&(pSles->fifo), FIFO_FRAMES, frameSize, pSles->fifoBuffer); in slesCreateServer()
635 audio_utils_fifo_deinit(&(pSles->fifo)); in slesDestroyServer()
Dsles.h59 struct audio_utils_fifo fifo; //(*) member