Searched refs:mState (Results 1 - 25 of 136) sorted by last modified time

123456

/frameworks/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp116 if (ap->mBufferQueue.mState.count != 0) {
140 ap->mBufferQueue.mState.count--;
141 ap->mBufferQueue.mState.playIndex++;
441 ap->mPlay.mState = SL_PLAYSTATE_PAUSED;
496 if (SL_OBJECT_STATE_UNREALIZED != ap->mObject.mState) {
1135 if (ap->mBufferQueue.mState.count != 0) {
1136 //SL_LOGV("nbBuffers in queue = %u",ap->mBufferQueue.mState.count);
1164 ap->mBufferQueue.mState.count--;
1165 ap->mBufferQueue.mState.playIndex++;
1948 SLuint32 playState = ap->mPlay.mState;
[all...]
H A DAudioRecorder_to_android.cpp65 if (SL_OBJECT_STATE_UNREALIZED != ar->mObject.mState) {
225 if (ar->mBufferQueue.mState.count != 0) {
252 ar->mBufferQueue.mState.count--;
253 ar->mBufferQueue.mState.playIndex++;
H A DBufferQueueSource.cpp72 if (mAndroidBufferQueueSource->mState.count == 0) {
116 mAndroidBufferQueueSource->mState.count--;
117 mAndroidBufferQueueSource->mState.index++;
H A DMediaPlayer_to_android.cpp167 mp->mPlay.mState = XA_PLAYSTATE_PAUSED;
H A Dandroid_StreamPlayer.cpp144 if (mAndroidBufferQueue->mState.count != 0) {
145 // SL_LOGD("nbBuffers in ABQ = %u, buffSize=%u",abq->mState.count, buffSize);
229 mAndroidBufferQueue->mState.count--;
230 mAndroidBufferQueue->mState.index++;
/frameworks/wilhelm/src/desktop/
H A DSndFile.c30 SLuint32 state = thisAP->mPlay.mState;
84 thisAP->mPlay.mState = SL_PLAYSTATE_PAUSED;
194 SLboolean empty = 0 == audioPlayer->mBufferQueue.mState.count;
/frameworks/wilhelm/src/
H A Dhandler_bodies.c120 android_Player_setPlayState(avp, mp->mPlay.mState, &(mp->mAndroidObjState));
131 assert(SL_PLAYSTATE_PLAYING == ap->mPlay.mState);
142 assert(SL_PLAYSTATE_PLAYING == ap->mPlay.mState);
152 if (SL_PLAYSTATE_PLAYING == mp->mPlay.mState) {
H A Ditfstruct.h50 SLuint8 mState; // really SLuint32, but SLuint8 to save space member in struct:Object_interface
230 SLBufferQueueState mState; member in struct:BufferQueue_interface
464 SLuint32 mState; member in struct:Play_interface
533 SLuint32 mState; member in struct:__anon1667
667 SLAndroidBufferQueueState mState; member in struct:__anon1681
H A Dsles.c87 } else if (SL_OBJECT_STATE_REALIZED != object->mState) {
111 if ((0 == --object->mStrongRefCount) && (SL_OBJECT_STATE_DESTROYING == object->mState)) {
/frameworks/wilhelm/src/itf/
H A DIAndroidBufferQueue.c35 state = ((CMediaPlayer *) thiz->mThis)->mPlay.mState;
38 state = ((CAudioPlayer *) thiz->mThis)->mPlay.mState;
273 thiz->mState.count = 0;
274 thiz->mState.index = 0;
380 ++thiz->mState.count;
385 (1 == thiz->mState.count) && (SL_PLAYSTATE_PLAYING == getAssociatedState(thiz))) ?
407 pState->count = thiz->mState.count;
408 pState->index = thiz->mState.index;
474 thiz->mState.count = 0;
475 thiz->mState
[all...]
H A DIBufferQueue.c31 state = ((CAudioPlayer *) thiz->mThis)->mPlay.mState;
34 state = ((CAudioRecorder *) thiz->mThis)->mRecord.mState;
68 ++thiz->mState.count;
73 (1 == thiz->mState.count) && (SL_PLAYSTATE_PLAYING == getAssociatedState(thiz))) ?
96 thiz->mState.count = 0;
97 thiz->mState.playIndex = 0;
131 state.count = thiz->mState.count;
132 state.playIndex = thiz->mState.playIndex;
134 state = thiz->mState;
177 thiz->mState
[all...]
H A DIObject.c39 state = thiz->mState;
44 thiz->mState = SL_OBJECT_STATE_REALIZING_2;
48 assert(SL_OBJECT_STATE_REALIZING_2 == thiz->mState);
70 thiz->mState = state;
102 state = thiz->mState;
120 thiz->mState = state;
129 thiz->mState = SL_OBJECT_STATE_UNREALIZED;
139 assert(SL_OBJECT_STATE_REALIZING_2 == thiz->mState);
142 thiz->mState = state;
182 state = thiz->mState;
[all...]
H A DIOutputMixExt.c75 audioPlayer->mBufferQueue.mState.count = 0;
76 audioPlayer->mBufferQueue.mState.playIndex = 0;
99 switch (audioPlayer->mPlay.mState) {
110 assert(0 < audioPlayer->mBufferQueue.mState.count);
114 audioPlayer->mPlay.mState = SL_PLAYSTATE_PLAYING;
132 audioPlayer->mPlay.mState = SL_PLAYSTATE_STOPPED;
137 assert(0 < audioPlayer->mBufferQueue.mState.count);
285 assert(0 < bufferQueue->mState.count);
286 --bufferQueue->mState.count;
290 assert(0 < bufferQueue->mState
[all...]
H A DIPlay.c39 SLuint32 oldState = thiz->mState;
69 thiz->mState = state;
84 thiz->mState = SL_PLAYSTATE_STOPPING;
99 thiz->mState = state;
126 SLuint32 state = thiz->mState;
460 thiz->mState = SL_PLAYSTATE_STOPPED;
H A DIRecord.c33 thiz->mState = state;
59 SLuint32 state = thiz->mState;
315 thiz->mState = SL_RECORDSTATE_STOPPED;
/frameworks/support/v4/java/android/support/v4/app/
H A DFragment.java166 int mState = INITIALIZING; field in class:Fragment
299 final Bundle mState; field in class:Fragment.SavedState
302 mState = state;
306 mState = in.readBundle();
307 if (loader != null && mState != null) {
308 mState.setClassLoader(loader);
319 dest.writeBundle(mState);
525 mSavedFragmentState = state != null && state.mState != null
526 ? state.mState : null;
630 if (mState >
[all...]
H A DFragmentManager.java576 if (fragment.mState > Fragment.INITIALIZING) {
817 if (f.mRemoving && newState > f.mState) {
819 newState = f.mState;
823 if (f.mDeferStart && f.mState < Fragment.STARTED && newState > Fragment.STOPPED) {
826 if (f.mState < newState) {
841 switch (f.mState) {
952 } else if (f.mState > newState) {
953 switch (f.mState) {
1062 f.mState = newState;
1654 if (f.mState > Fragmen
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DDataConnectionTracker.java183 protected DctConstants.State mState = DctConstants.State.IDLE; field in class:DataConnectionTracker
272 log("Reconnect alarm. Previous state was " + mState);
405 if (mState == DctConstants.State.FAILED) {
821 switch (mState) {
889 + ", isApnIdEnabled =" + isApnIdEnabled(id) + " and state = " + mState);
1448 pw.println(" mState=" + mState);
H A DApnContext.java38 private DctConstants.State mState; field in class:ApnContext
67 mState = DctConstants.State.IDLE;
155 log("setState: " + s + ", previous state:" + mState);
158 mState = s;
160 if (mState == DctConstants.State.FAILED) {
168 return mState;
179 log("set reason as " + reason + ",current state " + mState);
232 return "{mApnType=" + mApnType + " mState=" + getState() + " mWaitingApns=" + mWaitingApns +
H A DBaseCommands.java42 protected RadioState mState = RadioState.RADIO_UNAVAILABLE; field in class:BaseCommands
111 return mState;
135 if (mState.isOn()) {
153 if (mState.isAvailable()) {
171 if (!mState.isAvailable()) {
189 if (mState == RadioState.RADIO_OFF || !mState.isAvailable()) {
595 Log.v(LOG_TAG, "setRadioState old: " + mState
599 oldState = mState;
600 mState
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DIconLoader.java39 private int mState = STATE_SINGLE_ICON; field in class:IconLoader
99 mState = STATE_MULTI_ICONS;
108 mState = STATE_SINGLE_ICON;
215 if (mState == STATE_SINGLE_ICON) {
218 } else if (mState == STATE_MULTI_ICONS) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaDataConnectionTracker.java184 if (mState != s) {
186 mState.toString(), s.toString());
187 mState = s;
193 return mState;
198 return mState;
264 mState == DctConstants.State.FAILED);
266 log("Data not possible. No coverage: dataState = " + mState);
289 if ((mState == DctConstants.State.IDLE || mState == DctConstants.State.SCANNING) &&
445 if (mState
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmDataConnectionTracker.java138 log("onActionIntentReconnectAlarm: mState=" + mState + " reason=" + reason +
486 if (DBG) log("enableApnType: " + apnType + " mState(" + apnContext.getState() + ")");
2330 if (mState ==DctConstants.State.FAILED) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhone.java612 private Call.State mState = Call.State.IDLE; field in class:SipPhone.SipConnection
645 if (mState == Call.State.ACTIVE) call.startAudio();
651 if (mState == Call.State.HOLDING) call.startAudio();
658 if (mState == newState) return;
678 + mPeer.getUriString() + ": " + mState
777 if (state == mState) return;
779 mState = state;
784 return mState;
814 + ": " + mState + ": on phone "
816 if (!mState
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java444 if ((mState == RadioState.RADIO_ON) && !isSimLocked()) {

Completed in 251 milliseconds

123456