Searched refs:count (Results 1 - 25 of 1592) sorted by last modified time

1234567891011>>

/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/imageprocessing/
H A DImageProcessingActivity.java94 int count = data.getClipData().getItemCount();
95 OneTimeWorkRequest[] processingWork = new OneTimeWorkRequest[count];
96 OneTimeWorkRequest[] setupWork = new OneTimeWorkRequest[count];
97 for (int i = 0; i < count; i++) {
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/sherlockholmes/
H A DTextMappingWorker.java72 int count = 1;
74 count = mWordCount.get(word) + 1;
76 mWordCount.put(word, count);
H A DTextReducingWorker.java60 int count = dataInputStream.readInt();
62 count += mWordCount.get(word);
64 mWordCount.put(word, count);
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemalarm/
H A DSystemAlarmDispatcherTest.java476 Integer count = mActionCount.get(intent.getAction());
477 int incremented = count != null ? count + 1 : 1;
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL_Android.h97 XAuint32 count; member in struct:XAAndroidBufferQueueState_
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h1381 SLuint32 count; member in struct:SLBufferQueueState_
H A DOpenSLES_Android.h65 // corresponding to the maximum channel count (currently FCC_8).
242 SLuint32 count; member in struct:SLAndroidSimpleBufferQueueState_
311 SLuint32 count; member in struct:SLAndroidBufferQueueState_
/frameworks/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp160 if (ap->mBufferQueue.mState.count != 0) {
184 ap->mBufferQueue.mState.count--;
219 // the source's channel count, where zero means unknown
267 // channel mute and solo are ignored for mono and unknown channel count sources
346 // panning law depends on content channel count: mono to stereo panning vs stereo balance
352 // channel count is 0 (unknown), 2 (stereo), or > 2 (multi-channel)
989 SL_LOGE("Channel mask %#x does not match channel count %u", mask, numChans);
1267 if (ap->mBufferQueue.mState.count != 0) {
1268 //SL_LOGV("nbBuffers in queue = %u",ap->mBufferQueue.mState.count);
1295 ap->mBufferQueue.mState.count
[all...]
H A DAudioRecorder_to_android.cpp327 if (ar->mBufferQueue.mState.count != 0) {
352 ar->mBufferQueue.mState.count--;
683 "channel count of %d)", df_pcm->channelMask, channelMask,
H A DBufferQueueSource.cpp72 if (mAndroidBufferQueueSource->mState.count == 0) {
116 mAndroidBufferQueueSource->mState.count--;
H A Dandroid_StreamPlayer.cpp114 // Force binder to push the decremented reference count for sp<IStreamListener>.
116 // reference count, binder doesn't push that to the other process immediately.
145 if (mAndroidBufferQueue->mState.count != 0) {
146 // SL_LOGD("nbBuffers in ABQ = %u, buffSize=%u",abq->mState.count, buffSize);
230 mAndroidBufferQueue->mState.count--;
/frameworks/wilhelm/src/
H A Ddata.cpp442 // We can derive the channel mask from the channel count,
451 "requested speaker count of %u", pDataFormat->mPCM.numChannels);
456 "speaker count of %u",
463 SLuint32 count = sles_channel_count_from_mask(mask); local
464 if (count != pDataFormat->mPCM.numChannels) {
469 count);
H A Dentry.cpp88 // if an engine already exists, then increment its ref count
186 SLuint32 count = 0; local
195 ++count;
204 *pNumSupportedInterfaces = count;
/frameworks/wilhelm/src/desktop/
H A DSndFile.cpp46 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/itf/
H A DIAndroidBufferQueue.cpp273 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 DIBufferQueue.cpp67 ++thiz->mState.count;
72 (1 == thiz->mState.count) && (SL_PLAYSTATE_PLAYING == getAssociatedState(thiz))) ?
97 thiz->mState.count = 0;
135 state.count = thiz->mState.count;
181 thiz->mState.count = 0;
H A DIEngine.cpp289 // copy the buffer queue count from source locator (for playback) / from the
454 // always PCM buffer queue, so we know the channel count and sample rate early.
798 SLuint32 count = 0; local
807 ++count;
816 *pNumSupportedInterfaces = count;
H A DIMetadataTraversal.cpp55 SLuint32 count = thiz->mCount; local
57 *pCount = count;
H A DIOutputMixExt.cpp75 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 DBufferQueue_test.cpp209 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 DslesTestDecodeToBuffQueue.cpp212 "count=%u playIndex=%u\n",
213 pCntxt->pData, decQueueState.count, decQueueState.index);
255 fprintf(stdout, " channel count = %d\n", *((SLuint32*)pcmMetaData->data));
H A DslesTestSawtoothBufferQueue.cpp248 played. This is indicated by waiting for the count member of the
255 while (state.count) {
/frameworks/wilhelm/tests/sandbox/
H A Dconfigbq.c203 if (state.count == 0)
H A Dintbufq.c171 uintptr_t 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 Dplaybq.cpp80 ssize_t count = fifoReader->read(buffer, framesPerBuffer); local
82 if (0 >= count) {
84 count = framesPerBuffer;
87 if (count > 0) {
88 SLuint32 nbytes = count * sfframesize;
105 sf_count_t count; local
109 count = sf_readf_float(sndfile, (float *) temp, READ_FRAMES);
113 count = sf_readf_int(sndfile, (int *) temp, READ_FRAMES);
117 count = sf_readf_short(sndfile, (short *) temp, READ_FRAMES);
120 count
484 sf_count_t count; local
[all...]

Completed in 257 milliseconds

1234567891011>>