Searched refs:fifo (Results 1 – 6 of 6) sorted by relevance
/cts/apps/CtsVerifier/jni/audio_loopback/audio_utils/ |
D | fifo.c | 28 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 …]
|
D | fifo.h | 54 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/ |
D | BinderExploitTest.java | 179 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/ |
D | Android.bp | 7 "audio_utils/fifo.c",
|
D | sles.cpp | 110 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()
|
D | sles.h | 59 struct audio_utils_fifo fifo; //(*) member
|