Home
last modified time | relevance | path

Searched refs:mStatus (Results 1 – 25 of 41) 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.cpp95 : mStatus(NO_INIT), in AudioTrack()
113 : mStatus(NO_INIT), in AudioTrack()
118 mStatus = set(streamType, sampleRate, format, channelMask, in AudioTrack()
135 : mStatus(NO_INIT), in AudioTrack()
139 mStatus = set((audio_stream_type_t)streamType, sampleRate, (audio_format_t)format, in AudioTrack()
156 : mStatus(NO_INIT), in AudioTrack()
161 mStatus = set(streamType, sampleRate, format, channelMask, in AudioTrack()
170 if (mStatus == NO_ERROR) { in ~AudioTrack()
304 mStatus = NO_ERROR; in set()
327 return mStatus; in initCheck()
[all …]
DAudioRecord.cpp77 : mStatus(NO_INIT), mSessionId(0), in AudioRecord()
92 : mStatus(NO_INIT), mSessionId(0), in AudioRecord()
95 mStatus = set(inputSource, sampleRate, format, channelMask, in AudioRecord()
101 if (mStatus == NO_ERROR) { in ~AudioRecord()
208 mStatus = NO_ERROR; in set()
235 return mStatus; in initCheck()
/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/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/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/media/tests/players/
Dinvoke_mock_media_player.cpp94 status_t mStatus; member in __anon89fc15700111::Player
104 default: mStatus = UNKNOWN_ERROR; in invoke()
106 return mStatus; in invoke()
114 mStatus = OK; in ping()
/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()
DGpsLocationProvider.java204 private int mStatus = LocationProvider.TEMPORARILY_UNAVAILABLE; field in GpsLocationProvider
764 return mStatus; in getStatus()
768 if (status != mStatus || svCount != mSvCount) { in updateStatus()
769 mStatus = status; in updateStatus()
1086 if (mStarted && mStatus != LocationProvider.AVAILABLE) { in reportLocation()
1199 updateStatus(mStatus, Integer.bitCount(mSvMasks[USED_FOR_FIX_MASK])); in reportSvStatus()
1201 if (mNavigating && mStatus == LocationProvider.AVAILABLE && mLastFixTime > 0 && in reportSvStatus()
/frameworks/av/media/libstagefright/
DACodec.cpp443 info.mStatus = BufferInfo::OWNED_BY_US; in allocateBuffersOnPort()
614 info.mStatus = BufferInfo::OWNED_BY_US; in allocateOutputBuffersFromNativeWindow()
658 CHECK_EQ((int)info->mStatus, (int)BufferInfo::OWNED_BY_US); in cancelBufferToNativeWindow()
668 info->mStatus = BufferInfo::OWNED_BY_NATIVE_WINDOW; in cancelBufferToNativeWindow()
686 CHECK_EQ((int)info->mStatus, in dequeueBufferFromNativeWindow()
689 info->mStatus = BufferInfo::OWNED_BY_US; in dequeueBufferFromNativeWindow()
715 if (info->mStatus != in freeOutputBuffersNotOwnedByComponent()
719 CHECK_NE((int)info->mStatus, (int)BufferInfo::OWNED_BY_DOWNSTREAM); in freeOutputBuffersNotOwnedByComponent()
731 CHECK(info->mStatus == BufferInfo::OWNED_BY_US in freeBuffer()
732 || info->mStatus == BufferInfo::OWNED_BY_NATIVE_WINDOW); in freeBuffer()
[all …]
DOMXCodec.cpp1592 info.mStatus = OWNED_BY_US; in allocateBuffersOnPort()
1816 info.mStatus = OWNED_BY_US; in allocateOutputBuffersFromNativeWindow()
1859 CHECK_EQ((int)info->mStatus, (int)OWNED_BY_US); in cancelBufferToNativeWindow()
1869 info->mStatus = OWNED_BY_NATIVE_WINDOW; in cancelBufferToNativeWindow()
1905 CHECK_EQ((int)bufInfo->mStatus, (int)OWNED_BY_NATIVE_WINDOW); in dequeueBufferFromNativeWindow()
1906 bufInfo->mStatus = OWNED_BY_US; in dequeueBufferFromNativeWindow()
2107 if ((*buffers)[i].mStatus != OWNED_BY_COMPONENT) { in on_message()
2113 info->mStatus = OWNED_BY_US; in on_message()
2160 if (info->mStatus != OWNED_BY_COMPONENT) { in on_message()
2165 info->mStatus = OWNED_BY_US; in on_message()
[all …]
/frameworks/native/libs/utils/
DThreads.cpp696 mStatus(NO_ERROR), in Thread()
724 mStatus = NO_ERROR; in run()
743 mStatus = UNKNOWN_ERROR; // something happened! in run()
779 self->mStatus = self->readyToRun(); in _threadLoop()
780 result = (self->mStatus == NO_ERROR); in _threadLoop()
852 return mStatus; in requestExitAndWait()
871 return mStatus; in join()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp399 : mStatus(NO_INIT), mComposer(Composer::getInstance()) in SurfaceComposerClient()
409 mStatus = NO_ERROR; in onFirstRef()
419 return mStatus; in initCheck()
441 mStatus = NO_INIT; in dispose()
452 if (mStatus == NO_ERROR) { in createSurface()
473 if (mStatus != NO_ERROR) in destroySurface()
474 return mStatus; in destroySurface()
/frameworks/base/services/java/com/android/server/
DBackupManagerService.java1817 int mStatus; field in BackupManagerService.PerformBackupTask
1876 mStatus = BackupConstants.TRANSPORT_OK; in beginBackup()
1899 if (mStatus == BackupConstants.TRANSPORT_OK && pmState.length() <= 0) { in beginBackup()
1903 mStatus = mTransport.initializeDevice(); in beginBackup()
1905 addBackupTrace("transport.initializeDevice() == " + mStatus); in beginBackup()
1906 if (mStatus == BackupConstants.TRANSPORT_OK) { in beginBackup()
1919 if (mStatus == BackupConstants.TRANSPORT_OK) { in beginBackup()
1922 mStatus = invokeAgentForBackup(PACKAGE_MANAGER_SENTINEL, in beginBackup()
1924 addBackupTrace("PMBA invoke: " + mStatus); in beginBackup()
1927 if (mStatus == BackupConstants.TRANSPORT_NOT_INITIALIZED) { in beginBackup()
[all …]
/frameworks/wilhelm/src/itf/
DIPrefetchStatus.c31 SLuint32 status = thiz->mStatus; in IPrefetchStatus_GetPrefetchStatus()
173 thiz->mStatus = SL_PREFETCHSTATUS_UNDERFLOW; in IPrefetchStatus_init()
/frameworks/av/include/camera/
DCamera.h84 status_t getStatus() { return mStatus; } in getStatus()
183 status_t mStatus; variable
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp351 mPid, mConnId, mStatus, mLoop?"true": "false"); in dump()
495 mStatus = NO_INIT; in Client()
589 mStatus = status; in setDataSource_post()
590 if (mStatus != OK) { in setDataSource_post()
591 ALOGE(" error: %d", mStatus); in setDataSource_post()
597 mStatus = p->setRetransmitEndpoint(&mRetransmitEndpoint); in setDataSource_post()
598 if (mStatus != NO_ERROR) { in setDataSource_post()
599 ALOGE("setRetransmitEndpoint error: %d", mStatus); in setDataSource_post()
603 if (mStatus == OK) { in setDataSource_post()
636 return mStatus; in setDataSource()
[all …]
/frameworks/native/include/utils/
DThread.h96 status_t mStatus; variable
/frameworks/av/camera/
DCamera.cpp82 c->mStatus = NO_ERROR; in create()
92 mStatus = UNKNOWN_ERROR; in init()
129 c->mStatus = NO_ERROR; in connect()
/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()
DAudioPlayer_to_android.cpp723 ap->mPrefetchStatus.mStatus = SL_PREFETCHSTATUS_UNDERFLOW; in sfplayer_handlePrefetchEvent()
781 ap->mPrefetchStatus.mStatus = SL_PREFETCHSTATUS_SUFFICIENTDATA; in sfplayer_handlePrefetchEvent()
783 ap->mPrefetchStatus.mStatus = SL_PREFETCHSTATUS_UNDERFLOW; in sfplayer_handlePrefetchEvent()
849 ap->mPrefetchStatus.mStatus = SL_PREFETCHSTATUS_UNDERFLOW; in sfplayer_handlePrefetchEvent()
1186 ap->mPrefetchStatus.mStatus = SL_PREFETCHSTATUS_UNDERFLOW; in audioTrack_callBack_pullFromBuffQueue()
2185 assert(SL_PREFETCHSTATUS_UNDERFLOW == ap->mPrefetchStatus.mStatus); in android_audioPlayer_bufferQueue_onRefilled_l()
2187 ap->mPrefetchStatus.mStatus = SL_PREFETCHSTATUS_SUFFICIENTDATA; in android_audioPlayer_bufferQueue_onRefilled_l()
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
DKeyguardStatusViewManager.java62 private StatusMode mStatus; field in KeyguardStatusViewManager
475 mStatus = getStatusForIccState(simState); in updateCarrierStateWithSimStatus()
477 switch (mStatus) { in updateCarrierStateWithSimStatus()
/frameworks/native/include/gui/
DSurfaceComposerClient.h149 status_t mStatus; variable

12