Searched defs:status (Results 1 - 25 of 693) sorted by last modified time

1234567891011>>

/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/constraints/trackers/
H A DBatteryNotLowTrackerTest.java73 private Intent createBatteryChangedIntent(int plugged, int status, float percent) { argument
79 intent.putExtra(BatteryManager.EXTRA_STATUS, status);
86 int plugged, int status, float percentage, boolean expectedBatteryNotLow) {
87 mockContextReturns(createBatteryChangedIntent(plugged, status, percentage));
85 testGetInitialStateHelper( int plugged, int status, float percentage, boolean expectedBatteryNotLow) argument
/frameworks/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp801 // - SL_PREFETCHEVENT_STATUSCHANGE with a status of SL_PREFETCHSTATUS_UNDERFLOW
1306 // signal underflow to prefetch status itf
1696 android::status_t status = pat->initCheck(); local
1697 if (status != android::NO_ERROR) {
1698 SL_LOGE("AudioTrack::initCheck status %u", status);
1699 // FIXME should return a more specific result depending on status
2471 // when the queue became empty, an underflow on the prefetch status itf was sent. Now the queue
H A DAudioRecorder_to_android.cpp705 android::status_t status = ar->mAudioRecord->initCheck(); local
706 if (android::NO_ERROR != status) {
707 SL_LOGE("android_audioRecorder_realize(%p) error creating AudioRecord object; status %d",
708 ar, status);
709 // FIXME should return a more specific result depending on status
H A Dandroid_AudioSfDecoder.cpp169 // All error returns from this method are via notifyPrepared(status) followed by "return".
422 CacheStatus_t status = getCacheRemaining(&eos); local
424 if (eos || status == kStatusHigh
425 || ((mStateFlags & kFlagPreparing) && (status >= kStatusEnough))) {
599 // Prepared state, prefetch status notifications
604 // to replace by a new signalPrepareCompletion(status) if we re-visit this later.
610 // status code but we can provide a more specific one.
715 // cache status is evaluated against duration thresholds
732 // cache status is evaluated against cache amount thresholds
H A Dandroid_Effect.cpp202 android::status_t status; local
212 status = pFx->getParameter(p);
213 if (android::NO_ERROR == status) {
214 status = p->status;
215 if (android::NO_ERROR == status) {
220 return status;
228 android::status_t status; local
239 status = pFx->setParameter(p);
240 if (android::NO_ERROR == status) {
389 android::status_t status = android_fx_setParam(pFx, REVERB_PARAM_PRESET, local
537 android::status_t status = ap->mTrackPlayer->mAudioTrack->attachAuxEffect(pFx->id()); local
613 android::status_t status; local
633 android::status_t status; local
653 android_fx_statusToResult(android::status_t status) argument
675 android::status_t status = effect->initCheck(); local
733 android::status_t status = local
766 android::status_t status = local
819 android::status_t status = pFx->initCheck(); local
855 android::status_t status = pFx->setEnabled(SL_BOOLEAN_TRUE == enabled); local
887 android::status_t status = pFx->command( local
[all...]
H A Dandroid_GenericMediaPlayer.cpp463 status_t status; local
464 status = mPlayer->attachAuxEffect(effectId);
465 // attachAuxEffect returns a status but we have no way to report it back to app
466 (void) status;
477 status_t status; local
478 status = mPlayer->setAuxEffectSendLevel(level);
479 // setAuxEffectSendLevel returns a status but we have no way to report it back to app
480 (void) status;
497 // handle prefetch status update
504 // evaluate prefetch status base
551 status_t status = mPlayer->getParameter(KEY_PARAMETER_AUDIO_CHANNEL_COUNT, reply); local
[all...]
H A Dandroid_LocAVPlayer.cpp66 status_t status = mPlayer->setDataSource( local
68 if (status != NO_ERROR) {
/frameworks/wilhelm/src/itf/
H A DIAcousticEchoCancellation.cpp41 android::status_t status = thiz->mAECEffect->setEnabled((bool) thiz->mEnabled); local
42 result = android_fx_statusToResult(status);
H A DIAutomaticGainControl.cpp40 android::status_t status = thiz->mAGCEffect->setEnabled((bool) thiz->mEnabled); local
41 result = android_fx_statusToResult(status);
H A DIBassBoost.cpp51 android::status_t status = thiz->mBassBoostEffect->setEnabled((bool) thiz->mEnabled); local
52 result = android_fx_statusToResult(status);
105 android::status_t status = local
107 result = android_fx_statusToResult(status);
133 android::status_t status = local
135 result = android_fx_statusToResult(status);
163 android::status_t status =
166 result = android_fx_statusToResult(status);
H A DIEffectSend.cpp93 /** \brief This is a private function that translates an Android effect framework status code
97 static SLresult translateEnableFxSendError(android::status_t status) { argument
98 switch (status) {
104 SL_LOGE("EffectSend status %u", status);
H A DIEnvironmentalReverb.cpp59 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
61 result = android_fx_statusToResult(status);
86 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
88 result = android_fx_statusToResult(status);
120 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
122 result = android_fx_statusToResult(status);
148 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
150 result = android_fx_statusToResult(status);
179 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
181 result = android_fx_statusToResult(status);
207 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
238 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
266 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
299 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
327 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
358 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
386 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
419 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
447 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
478 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
506 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
537 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
565 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
596 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
624 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
680 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
708 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
[all...]
H A DIEqualizer.cpp68 android::status_t status = local
70 result = android_fx_statusToResult(status);
163 android::status_t status = local
165 result = android_fx_statusToResult(status);
196 android::status_t status = local
198 result = android_fx_statusToResult(status);
231 android::status_t status =
233 result = android_fx_statusToResult(status);
270 android::status_t status =
272 result = android_fx_statusToResult(status);
326 android::status_t status = local
358 android::status_t status = local
394 android::status_t status = local
[all...]
H A DINoiseSuppression.cpp38 android::status_t status = thiz->mNSEffect->setEnabled((bool) thiz->mEnabled); local
39 result = android_fx_statusToResult(status);
H A DIPrefetchStatus.cpp31 SLuint32 status = thiz->mStatus; local
33 *pStatus = status;
H A DIPresetReverb.cpp51 android::status_t status = android_prev_setPreset(thiz->mPresetReverbEffect, preset); local
52 result = android_fx_statusToResult(status);
83 android::status_t status = android_prev_getPreset(thiz->mPresetReverbEffect, &preset); local
84 result = android_fx_statusToResult(status);
H A DIVirtualizer.cpp51 android::status_t status = local
53 result = android_fx_statusToResult(status);
107 android::status_t status = android_virt_setParam(thiz->mVirtualizerEffect, local
109 result = android_fx_statusToResult(status);
135 android::status_t status = android_virt_getParam(thiz->mVirtualizerEffect, local
137 result = android_fx_statusToResult(status);
165 android::status_t status =
168 result = android_fx_statusToResult(status);
/frameworks/wilhelm/tests/examples/
H A DslesTestDecodeAac.cpp165 SLuint32 status; local
166 result = (*caller)->GetPrefetchStatus(caller, &status);
168 printf("prefetch level=%d status=0x%x event=%d\n", level, status, event);
171 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) {
175 new_prefetch_status = status;
474 /* for prefetch status */
597 /* Get the prefetch status interface which was explicitly requested */
757 // wait for prefetch status callback to indicate either sufficient data or error
H A DslesTestDecodeToBuffQueue.cpp133 SLuint32 status; local
135 result = (*caller)->GetPrefetchStatus(caller, &status);
138 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) {
391 /* Get the prefetch status interface which was explicitly requested */
H A DslesTestPlayFdPath.cpp58 SLuint32 status; local
59 result = (*caller)->GetPrefetchStatus(caller, &status);
62 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) {
H A DslesTestSendToPresetReverb.cpp47 // Prefetch status callback
60 SLuint32 status; local
61 result = (*caller)->GetPrefetchStatus(caller, &status);
64 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) {
/frameworks/wilhelm/tests/listening/
H A DslesTest_playMuteSolo.cpp68 // Prefetch status callback
77 SLuint32 status; local
78 result = (*caller)->GetPrefetchStatus(caller, &status);
82 && level == 0 && status == SL_PREFETCHSTATUS_UNDERFLOW) {
85 status == SL_PREFETCHSTATUS_SUFFICIENTDATA) {
86 new_prefetch_status = status;
250 // get the prefetch status interface
254 // enable prefetch status callbacks
312 // wait for prefetch status callback to indicate either sufficient data or error
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestGetPositionUri.cpp70 SLuint32 status; local
72 res = (*caller)->GetPrefetchStatus(caller, &status); CheckErr(res);
74 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) {
83 fprintf(stdout, "PrefetchEventCallback: Prefetch Status is = %u\n", status);
H A DslesTestLoopUri.cpp71 SLuint32 status; local
72 result = (*caller)->GetPrefetchStatus(caller, &status);
78 fprintf(stdout, "\t\tPrefetchEventCallback: Prefetch Status is = %u\n", status);
82 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) {
86 status == SL_PREFETCHSTATUS_SUFFICIENTDATA) {
87 new_prefetch_status = status;
237 // wait for prefetch status callback to indicate either sufficient data or error
H A DslesTestManyPlayers.cpp80 SLuint32 status; local
82 res = (*caller)->GetPrefetchStatus(caller, &status); CheckErrPlyr(res, *pPlayerId);
84 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) {
95 status, *pPlayerId);

Completed in 1806 milliseconds

1234567891011>>