Searched refs:status (Results 1 - 25 of 995) sorted by last modified time

1234567891011>>

/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/sherlockholmes/
H A DAnalyzeSherlockHolmesActivity.java94 status -> {
95 boolean loading = (status != null
96 && status.getState() != SUCCEEDED
97 && status.getState() != FAILED);
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
H A DWorkContinuationImplTest.java501 for (WorkStatus status : statuses) {
502 ids.add(status.getId());
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/constraints/trackers/
H A DBatteryChargingTrackerTest.java73 int status = charging ? BatteryManager.BATTERY_STATUS_CHARGING
75 intent.putExtra(BatteryManager.EXTRA_STATUS, status);
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/support/work/workmanager/src/main/java/androidx/work/impl/
H A DWorkerWrapper.java200 State status = mWorkSpecDao.getState(mWorkSpecId);
201 if (status == RUNNING) {
207 String.format("Status for %s is %s; not doing any work", mWorkSpecId, status));
363 Log.d(TAG, String.format("Setting status to enqueued for %s", dependentWorkId));
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/constraints/trackers/
H A DBatteryChargingTracker.java100 int status = intent.getIntExtra(BatteryManager.EXTRA_STATUS, -1);
101 charging = (status == BatteryManager.BATTERY_STATUS_CHARGING
102 || status == BatteryManager.BATTERY_STATUS_FULL);
H A DBatteryNotLowTracker.java68 int status = intent.getIntExtra(BatteryManager.EXTRA_STATUS, -1);
74 || status == BatteryManager.BATTERY_STATUS_UNKNOWN
/frameworks/support/work/workmanager-test/src/androidTest/java/androidx/work/test/
H A DTestSchedulerTest.java58 WorkStatus status = workManager.synchronous().getStatusByIdSync(request.getId());
59 assertThat(status.getState().isFinished(), is(true));
/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_Effect.h145 extern SLresult android_fx_statusToResult(android::status_t status);
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);

Completed in 180 milliseconds

1234567891011>>