/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL_Android.h | 95 XAuint32 count; member in struct:XAAndroidBufferQueueState_
|
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES.h | 1381 SLuint32 count; member in struct:SLBufferQueueState_
|
H A D | OpenSLES_Android.h | 184 SLuint32 count; member in struct:SLAndroidSimpleBufferQueueState_ 253 SLuint32 count; member in struct:SLAndroidBufferQueueState_
|
/frameworks/wilhelm/src/android/ |
H A D | AudioPlayer_to_android.cpp | 116 if (ap->mBufferQueue.mState.count != 0) { 140 ap->mBufferQueue.mState.count--; 199 // the source's channel count, where zero means unknown 247 // channel mute and solo are ignored for mono and unknown channel count sources 326 // panning law depends on content channel count: mono to stereo panning vs stereo balance 332 // channel count is 0 (unknown), 2 (stereo), or > 2 (multi-channel) 1135 if (ap->mBufferQueue.mState.count != 0) { 1136 //SL_LOGV("nbBuffers in queue = %u",ap->mBufferQueue.mState.count); 1164 ap->mBufferQueue.mState.count--; 1469 0, // FIXME find appropriate frame count // notificationFram [all...] |
H A D | AudioRecorder_to_android.cpp | 225 if (ar->mBufferQueue.mState.count != 0) { 252 ar->mBufferQueue.mState.count--;
|
H A D | BufferQueueSource.cpp | 72 if (mAndroidBufferQueueSource->mState.count == 0) { 116 mAndroidBufferQueueSource->mState.count--;
|
H A D | android_StreamPlayer.cpp | 113 // Force binder to push the decremented reference count for sp<IStreamListener>. 115 // reference count, binder doesn't push that to the other process immediately. 144 if (mAndroidBufferQueue->mState.count != 0) { 145 // SL_LOGD("nbBuffers in ABQ = %u, buffSize=%u",abq->mState.count, buffSize); 229 mAndroidBufferQueue->mState.count--;
|
/frameworks/wilhelm/src/desktop/ |
H A D | SndFile.c | 46 sf_count_t count; local 47 count = sf_read_short(thiz->mSNDFILE, pBuffer, (sf_count_t) SndFile_BUFSIZE); 75 if (0 < count) { 77 SLuint32 size = (SLuint32) (count * sizeof(short)); 194 SLboolean empty = 0 == audioPlayer->mBufferQueue.mState.count;
|
/frameworks/wilhelm/src/ |
H A D | entry.c | 89 // if an engine already exists, then increment its ref count 188 SLuint32 count = 0; local 197 ++count; 206 *pNumSupportedInterfaces = count;
|
/frameworks/wilhelm/src/itf/ |
H A D | IAndroidBufferQueue.c | 273 thiz->mState.count = 0; 380 ++thiz->mState.count; 385 (1 == thiz->mState.count) && (SL_PLAYSTATE_PLAYING == getAssociatedState(thiz))) ? 407 pState->count = thiz->mState.count; 474 thiz->mState.count = 0; 508 SL_LOGI(" mState.count=%u mState.index=%u mCallback=%p mContext=%p", 509 thiz->mState.count, thiz->mState.index, thiz->mCallback, thiz->mContext);
|
H A D | IBufferQueue.c | 68 ++thiz->mState.count; 73 (1 == thiz->mState.count) && (SL_PLAYSTATE_PLAYING == getAssociatedState(thiz))) ? 96 thiz->mState.count = 0; 131 state.count = thiz->mState.count; 177 thiz->mState.count = 0;
|
H A D | IEngine.c | 287 // copy the buffer queue count from source locator (for playback) / from the 448 // always PCM buffer queue, so we know the channel count and sample rate early. 787 SLuint32 count = 0; local 796 ++count; 805 *pNumSupportedInterfaces = count;
|
H A D | IMetadataTraversal.c | 55 SLuint32 count = thiz->mCount; local 57 *pCount = count;
|
H A D | IOutputMixExt.c | 75 audioPlayer->mBufferQueue.mState.count = 0; 110 assert(0 < audioPlayer->mBufferQueue.mState.count); 137 assert(0 < audioPlayer->mBufferQueue.mState.count); 285 assert(0 < bufferQueue->mState.count); 286 --bufferQueue->mState.count; 290 assert(0 < bufferQueue->mState.count);
|
/frameworks/wilhelm/tests/automated/ |
H A D | BufferQueue_test.cpp | 209 ASSERT_EQ((SLuint32) 0, bufferqueueState.count); 219 // verify that each buffer is enqueued properly and increments the buffer count 222 ASSERT_EQ(j + 1, bufferqueueState.count); 231 // verify that the failed enqueue did not affect the buffer count 234 ASSERT_EQ(numBuffers, bufferqueueState.count); 258 ASSERT_EQ((SLuint32) 0, bufferqueueState.count); 263 // changing the play state should not affect the buffer count 266 ASSERT_EQ(ExpectedCount, bufferqueueState.count); 285 ASSERT_EQ((SLuint32) 1, bufferqueueState.count); 299 ASSERT_EQ((SLuint32) 0, bufferqueueState.count); [all...] |
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestDecodeToBuffQueue.cpp | 212 "count=%u playIndex=%u\n", 213 pCntxt->pData, decQueueState.count, decQueueState.index); 255 fprintf(stdout, " channel count = %d\n", *((SLuint32*)pcmMetaData->data));
|
H A D | slesTestSawtoothBufferQueue.cpp | 251 played. This is indicated by waiting for the count member of the 258 while (state.count) {
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | configbq.c | 203 if (state.count == 0)
|
H A D | intbufq.c | 171 unsigned count = 0; local 182 count = count * 10 + (ch - '0'); 184 count = ch - '0'; 203 expectedContext = (void *) count; 216 for (i = 0; i < (in_count ? count : 1); ++i) { 227 if (bufqstate.count != 0) 228 printf("\rcount=%u\r\n", (unsigned) bufqstate.count); 239 printf("count=%u\r\n", (unsigned) bufqstate.count); [all...] |
H A D | playbq.c | 81 sf_count_t count; local 82 count = sf_readf_short(sndfile, buffer, (sf_count_t) framesPerBuffer); 83 if (0 >= count) { 86 SLuint32 nbytes = count * sfinfo.channels * sizeof(short); 197 fprintf(stderr, "unsupported channel count %d\n", sfinfo.channels); 379 sf_count_t count; local 380 count = sf_readf_short(sndfile, buffer, frames); 381 if (0 >= count) { 387 SLuint32 nbytes = count * sfinfo.channels * sizeof(short); 421 if (0 >= bufqstate.count) { [all...] |
H A D | reverb.c | 322 SLuint32 count = 0; local 324 mix_req[count] = SL_BOOLEAN_TRUE; 325 mix_ids[count++] = SL_IID_PRESETREVERB; 328 mix_req[count] = SL_BOOLEAN_TRUE; 329 mix_ids[count++] = SL_IID_ENVIRONMENTALREVERB; 332 result = (*engineEngine)->CreateOutputMix(engineEngine, &mixObject, count, mix_ids, mix_req); 409 count = 0; 411 player_req[count] = SL_BOOLEAN_TRUE; 412 player_ids[count++] = SL_IID_PRESETREVERB; 415 player_req[count] [all...] |
/frameworks/wilhelm/tools/permute/ |
H A D | permute.c | 243 sf_count_t count; local 244 count = sf_readf_short(sf_in, ptr, sfinfo_in.frames); 245 if (count != sfinfo_in.frames) { 247 (int) sfinfo_in.frames, (int) count); 270 count = sf_writef_short(sf_out, &((short *) ptr)[sfinfo_in.channels * s.mSegmentArray[i] 272 if (count != s.mSegmentArray[i].mFrameLength) { 274 path_out, (int) s.mSegmentArray[i].mFrameLength, (int) count);
|
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/ |
H A D | AccessibilityNodeInfoDumper.java | 117 int count = node.getChildCount(); 118 for (int i = 0; i < count; i++) { 129 i, count, node.toString()));
|
H A D | UiCollection.java | 45 int count = getChildCount(childPattern); 46 for (int x = 0; x < count; x++) { 100 int count = getChildCount(childPattern); 101 for (int x = 0; x < count; x++) { 119 * currently visible. The count does not include items of a scrollable list 123 * elements to count
|
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
H A D | Allocation.java | 474 int count = data.length / eSize; 475 if ((eSize * count) != data.length) { 479 copy1DRangeFromUnchecked(xoff, count, data); 512 private void data1DChecks(int off, int count, int len, int dataSize) { argument 517 if(count < 1) { 520 if((off + count) > mCurrentCount) { 521 throw new RSIllegalArgumentException("Overflow, Available count " + mCurrentCount + 522 ", got " + count + " at offset " + off + "."); 549 * @param count The number of elements to be copied. 552 public void copy1DRangeFromUnchecked(int off, int count, in argument 566 copy1DRangeFromUnchecked(int off, int count, short[] d) argument 580 copy1DRangeFromUnchecked(int off, int count, byte[] d) argument 594 copy1DRangeFromUnchecked(int off, int count, float[] d) argument 609 copy1DRangeFrom(int off, int count, int[] d) argument 623 copy1DRangeFrom(int off, int count, short[] d) argument 637 copy1DRangeFrom(int off, int count, byte[] d) argument 651 copy1DRangeFrom(int off, int count, float[] d) argument 665 copy1DRangeFrom(int off, int count, Allocation data, int dataOff) argument 958 createSized(RenderScript rs, Element e, int count, int usage) argument 982 createSized(RenderScript rs, Element e, int count) argument [all...] |