Home
last modified time | relevance | path

Searched refs:mStatus (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/av/media/libmedia/
DAudioEffect.cpp39 : mStatus(NO_INIT) in AudioEffect()
52 : mStatus(NO_INIT) in AudioEffect()
54 mStatus = set(type, uuid, priority, cbf, user, sessionId, io); in AudioEffect()
65 : mStatus(NO_INIT) in AudioEffect()
86 mStatus = set(pType, pUuid, priority, cbf, user, sessionId, io); in AudioEffect()
131 mIEffectClient, priority, io, mSessionId, &mStatus, &mId, &enabled); in set()
133 if (iEffect == 0 || (mStatus != NO_ERROR && mStatus != ALREADY_EXISTS)) { in set()
134 ALOGE("set(): AudioFlinger could not create effect, status: %d", mStatus); in set()
135 return mStatus; in set()
143 mStatus = NO_INIT; in set()
[all …]
DAudioTrack.cpp97 : mStatus(NO_INIT), in AudioTrack()
116 : mStatus(NO_INIT), in AudioTrack()
122 mStatus = set(streamType, sampleRate, format, channelMask, in AudioTrack()
138 : mStatus(NO_INIT), in AudioTrack()
146 mStatus = BAD_VALUE; in AudioTrack()
149 mStatus = set(streamType, sampleRate, format, channelMask, in AudioTrack()
158 if (mStatus == NO_ERROR) { in ~AudioTrack()
311 mStatus = NO_ERROR; in set()
468 if (mStatus != NO_ERROR) { in setVolume()
469 return mStatus; in setVolume()
[all …]
DAudioRecord.cpp77 : mStatus(NO_INIT), mSessionId(0), in AudioRecord()
93 : mStatus(NO_INIT), mSessionId(0), in AudioRecord()
98 mStatus = set(inputSource, sampleRate, format, channelMask, in AudioRecord()
104 if (mStatus == NO_ERROR) { in ~AudioRecord()
228 mStatus = NO_ERROR; in set()
253 return mStatus; in initCheck()
492 ALOG_ASSERT(mStatus == NO_ERROR && mProxy != NULL); in obtainBuffer()
596 ALOG_ASSERT(mStatus == NO_ERROR && mProxy != NULL); in releaseBuffer()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilter.java64 private int mStatus = 0; field in Filter
77 mStatus = STATUS_PREINIT; in Filter()
111 mStatus = STATUS_UNPREPARED; in initWithValueMap()
166 mStatus = STATUS_SLEEPING; in delayNextProcess()
437 return mStatus; in getStatus()
441 mStatus &= ~flag; in unsetStatus()
446 if (mStatus == STATUS_UNPREPARED) { in performOpen()
449 mStatus = STATUS_PREPARED; in performOpen()
451 if (mStatus == STATUS_PREPARED) { in performOpen()
454 mStatus = STATUS_PROCESSING; in performOpen()
[all …]
/frameworks/av/services/camera/libcameraservice/
DCamera3Device.cpp54 mStatus(STATUS_UNINITIALIZED), in Camera3Device()
86 if (mStatus != STATUS_UNINITIALIZED) { in initialize()
171 mStatus = STATUS_IDLE; in initialize()
184 if (mStatus == STATUS_UNINITIALIZED) return OK; in disconnect()
186 if (mStatus == STATUS_ACTIVE || in disconnect()
187 (mStatus == STATUS_ERROR && mRequestThread != NULL)) { in disconnect()
199 assert(mStatus == STATUS_IDLE || mStatus == STATUS_ERROR); in disconnect()
218 mStatus = STATUS_UNINITIALIZED; in disconnect()
230 mStatus == STATUS_ERROR ? "ERROR" : in dump()
231 mStatus == STATUS_UNINITIALIZED ? "UNINITIALIZED" : in dump()
[all …]
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pServiceResponse.java49 protected int mStatus; field in WifiP2pServiceResponse
121 mStatus = status; in WifiP2pServiceResponse()
144 return mStatus; in getStatus()
297 sbuf.append(" status:").append(Status.toString(mStatus)); in toString()
315 (req.mStatus == mStatus) && in equals()
333 result = 31 * result + mStatus; in hashCode()
349 dest.writeInt(mStatus); in writeToParcel()
DWifiP2pUpnpServiceResponse.java123 sbuf.append(" status:").append(Status.toString(mStatus)); in toString()
/frameworks/support/v4/java/android/support/v4/content/
DModernAsyncTask.java81 private volatile Status mStatus = Status.PENDING; field in ModernAsyncTask
169 return mStatus; in getStatus()
406 if (mStatus != Status.PENDING) { in executeOnExecutor()
407 switch (mStatus) { in executeOnExecutor()
418 mStatus = Status.RUNNING; in executeOnExecutor()
463 mStatus = Status.FINISHED; in finish()
/frameworks/base/media/tests/players/
Dinvoke_mock_media_player.cpp94 status_t mStatus; member in __anon0f67de900111::Player
104 default: mStatus = UNKNOWN_ERROR; in invoke()
106 return mStatus; in invoke()
114 mStatus = OK; in ping()
/frameworks/base/core/java/android/os/
DAsyncTask.java217 private volatile Status mStatus = Status.PENDING; field in AsyncTask
329 return mStatus; in getStatus()
572 if (mStatus != Status.PENDING) { in executeOnExecutor()
573 switch (mStatus) { in executeOnExecutor()
584 mStatus = Status.RUNNING; in executeOnExecutor()
633 mStatus = Status.FINISHED; in finish()
/frameworks/base/services/java/com/android/server/location/
DMockProvider.java49 private int mStatus; field in MockProvider
97 return mStatus; in getStatus()
125 mStatus = status; in setStatus()
150 pw.println(prefix + "mStatus=" + mStatus); in dump()
/frameworks/av/services/audioflinger/
DEffects.cpp65 mStatus(NO_INIT), mState(IDLE), in EffectModule()
74 mStatus = EffectCreate(&desc->uuid, sessionId, thread->id(), &mEffectInterface); in EffectModule()
76 if (mStatus != NO_ERROR) { in EffectModule()
81 mStatus = lStatus; in EffectModule()
90 ALOGV("Constructor Error %d", mStatus); in EffectModule()
306 if (mStatus != NO_ERROR || mEffectInterface == NULL) { in reset_l()
413 mStatus = status; in configure()
448 if (mStatus != NO_ERROR) { in start_l()
449 return mStatus; in start_l()
487 if (mStatus != NO_ERROR) { in stop_l()
[all …]
DEffects.h73 return mStatus; in status()
138 status_t mStatus; // initialization status variable
/frameworks/av/camera/
DCameraBase.cpp107 c->mStatus = NO_ERROR; in connect()
128 mStatus(UNKNOWN_ERROR), in CameraBase()
147 return mStatus; in getStatus()
/frameworks/av/media/libstagefright/
DACodec.cpp479 info.mStatus = BufferInfo::OWNED_BY_US; in allocateBuffersOnPort()
650 info.mStatus = BufferInfo::OWNED_BY_US; in allocateOutputBuffersFromNativeWindow()
694 CHECK_EQ((int)info->mStatus, (int)BufferInfo::OWNED_BY_US); in cancelBufferToNativeWindow()
704 info->mStatus = BufferInfo::OWNED_BY_NATIVE_WINDOW; in cancelBufferToNativeWindow()
722 CHECK_EQ((int)info->mStatus, in dequeueBufferFromNativeWindow()
725 info->mStatus = BufferInfo::OWNED_BY_US; in dequeueBufferFromNativeWindow()
753 if (info->mStatus != BufferInfo::OWNED_BY_COMPONENT && in freeOutputBuffersNotOwnedByComponent()
754 info->mStatus != BufferInfo::OWNED_BY_DOWNSTREAM) { in freeOutputBuffersNotOwnedByComponent()
765 CHECK(info->mStatus == BufferInfo::OWNED_BY_US in freeBuffer()
766 || info->mStatus == BufferInfo::OWNED_BY_NATIVE_WINDOW); in freeBuffer()
[all …]
DOMXCodec.cpp1598 info.mStatus = OWNED_BY_US; in allocateBuffersOnPort()
1822 info.mStatus = OWNED_BY_US; in allocateOutputBuffersFromNativeWindow()
1865 CHECK_EQ((int)info->mStatus, (int)OWNED_BY_US); in cancelBufferToNativeWindow()
1875 info->mStatus = OWNED_BY_NATIVE_WINDOW; in cancelBufferToNativeWindow()
1911 CHECK_EQ((int)bufInfo->mStatus, (int)OWNED_BY_NATIVE_WINDOW); in dequeueBufferFromNativeWindow()
1912 bufInfo->mStatus = OWNED_BY_US; in dequeueBufferFromNativeWindow()
2113 if ((*buffers)[i].mStatus != OWNED_BY_COMPONENT) { in on_message()
2119 info->mStatus = OWNED_BY_US; in on_message()
2166 if (info->mStatus != OWNED_BY_COMPONENT) { in on_message()
2171 info->mStatus = OWNED_BY_US; in on_message()
[all …]
/frameworks/native/libs/utils/
DThreads.cpp700 mStatus(NO_ERROR), in Thread()
728 mStatus = NO_ERROR; in run()
747 mStatus = UNKNOWN_ERROR; // something happened! in run()
783 self->mStatus = self->readyToRun(); in _threadLoop()
784 result = (self->mStatus == NO_ERROR); in _threadLoop()
856 return mStatus; in requestExitAndWait()
875 return mStatus; in join()
/frameworks/wilhelm/src/itf/
DIPrefetchStatus.c31 SLuint32 status = thiz->mStatus; in IPrefetchStatus_GetPrefetchStatus()
173 thiz->mStatus = SL_PREFETCHSTATUS_UNDERFLOW; in IPrefetchStatus_init()
/frameworks/base/services/java/com/android/server/
DBackupManagerService.java1824 int mStatus; field in BackupManagerService.PerformBackupTask
1883 mStatus = BackupConstants.TRANSPORT_OK; in beginBackup()
1906 if (mStatus == BackupConstants.TRANSPORT_OK && pmState.length() <= 0) { in beginBackup()
1910 mStatus = mTransport.initializeDevice(); in beginBackup()
1912 addBackupTrace("transport.initializeDevice() == " + mStatus); in beginBackup()
1913 if (mStatus == BackupConstants.TRANSPORT_OK) { in beginBackup()
1926 if (mStatus == BackupConstants.TRANSPORT_OK) { in beginBackup()
1929 mStatus = invokeAgentForBackup(PACKAGE_MANAGER_SENTINEL, in beginBackup()
1931 addBackupTrace("PMBA invoke: " + mStatus); in beginBackup()
1934 if (mStatus == BackupConstants.TRANSPORT_NOT_INITIALIZED) { in beginBackup()
[all …]
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp422 : mStatus(NO_INIT), mComposer(Composer::getInstance()) in SurfaceComposerClient()
432 mStatus = NO_ERROR; in onFirstRef()
442 return mStatus; in initCheck()
464 mStatus = NO_INIT; in dispose()
475 if (mStatus == NO_ERROR) { in createSurface()
498 if (mStatus != NO_ERROR) in destroySurface()
499 return mStatus; in destroySurface()
/frameworks/native/include/utils/
DThread.h99 status_t mStatus; variable
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp365 mPid, mConnId, mStatus, mLoop?"true": "false"); in dump()
509 mStatus = NO_INIT; in Client()
603 mStatus = status; in setDataSource_post()
604 if (mStatus != OK) { in setDataSource_post()
605 ALOGE(" error: %d", mStatus); in setDataSource_post()
611 mStatus = p->setRetransmitEndpoint(&mRetransmitEndpoint); in setDataSource_post()
612 if (mStatus != NO_ERROR) { in setDataSource_post()
613 ALOGE("setRetransmitEndpoint error: %d", mStatus); in setDataSource_post()
617 if (mStatus == OK) { in setDataSource_post()
650 return mStatus; in setDataSource()
[all …]
/frameworks/av/include/camera/
DCameraBase.h106 status_t mStatus; variable
/frameworks/av/include/media/
DAudioTrack.h223 status_t initCheck() const { return mStatus; } in initCheck()
566 status_t mStatus; variable
/frameworks/wilhelm/src/android/
DMediaPlayer_to_android.cpp81 mp->mPrefetchStatus.mStatus = SL_PREFETCHSTATUS_UNDERFLOW; in player_handleMediaPlayerEventNotifications()
236 mp->mPrefetchStatus.mStatus = SL_PREFETCHSTATUS_SUFFICIENTDATA; in player_handleMediaPlayerEventNotifications()
238 mp->mPrefetchStatus.mStatus = SL_PREFETCHSTATUS_UNDERFLOW; in player_handleMediaPlayerEventNotifications()
273 mp->mPrefetchStatus.mStatus = SL_PREFETCHSTATUS_UNDERFLOW; in player_handleMediaPlayerEventNotifications()

12