/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
NetworkState.java | 122 State curState = mStateDepository.get(i); 123 if ((preState == State.CONNECTED) && ((curState == State.DISCONNECTING) || 124 (curState == State.DISCONNECTED))) { 126 } else if ((preState == State.DISCONNECTING) && (curState == State.DISCONNECTED)) { 128 } else if ((preState == State.DISCONNECTED) && (curState == State.DISCONNECTED)) { 132 curState.toString() + " is not valid."; 154 State curState = mStateDepository.get(i); 155 if ((preState == State.DISCONNECTED) && ((curState == State.CONNECTING) || 156 (curState == State.CONNECTED) || (curState == State.DISCONNECTED))) [all...] |
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
NetworkState.java | 158 State curState = mStateDepository.get(i); 159 if ((preState == State.CONNECTED) && ((curState == State.DISCONNECTING) || 160 (curState == State.DISCONNECTED))) { 162 } else if ((preState == State.DISCONNECTING) && (curState == State.DISCONNECTED)) { 164 } else if ((preState == State.DISCONNECTED) && (curState == State.DISCONNECTED)) { 168 preState.toString(), curState.toString())); 199 State curState = mStateDepository.get(i); 200 if ((preState == State.DISCONNECTED) && ((curState == State.CONNECTING) || 201 (curState == State.CONNECTED) || (curState == State.DISCONNECTED))) [all...] |
/frameworks/base/core/java/android/app/ |
LocalActivityManager.java | 59 int curState = RESTORED; // Current state the activity is in. 111 if (r.curState == RESTORED || r.curState == DESTROYED) { 116 if (r.curState == INITIALIZING) { 142 r.curState = STARTED; 147 r.curState = RESUMED; 159 switch (r.curState) { 164 r.curState = STARTED; 170 r.curState = RESUMED; 180 r.curState = RESUMED [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/ |
OMX_WmaDec_ComponentThread.c | 137 if (pComponentPrivate->curState != OMX_StateIdle) { 142 if (pComponentPrivate->curState != OMX_StateIdle) { 186 pComponentPrivate->curState = OMX_StateLoaded; 196 pComponentPrivate->curState, 203 pComponentPrivate->curState, 212 pComponentPrivate->curState,
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/ |
OMX_G711Enc_ComponentThread.c | 131 if (pComponentPrivate->curState != OMX_StateIdle) { 132 G711ENC_DPRINT("%d :: pComponentPrivate->curState is not OMX_StateIdle\n",__LINE__); 167 pComponentPrivate->curState = OMX_StateLoaded; 173 pComponentPrivate->curState, 181 pComponentPrivate->curState,
|
OMX_G711Enc_Utils.c | 620 G711ENC_DPRINT("%d :: pComponentPrivate->curState = %d\n",__LINE__,pComponentPrivate->curState); 636 if ( pComponentPrivate->curState==commandedState){ 648 G711ENC_DPRINT("%d :: pComponentPrivate->curState = %d\n",__LINE__,pComponentPrivate->curState); 649 if (pComponentPrivate->curState == OMX_StateLoaded || 650 pComponentPrivate->curState == OMX_StateWaitForResources) { 659 pComponentPrivate->curState = OMX_StateInvalid; 746 if (pComponentPrivate->curState != OMX_StateWaitForResources) { 754 pComponentPrivate->curState = OMX_StateIdle [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/ |
OMX_G726Enc_ComponentThread.c | 117 if (pComponentPrivate->curState != OMX_StateIdle) {
118 G726ENC_DPRINT("%d :: pComponentPrivate->curState is not OMX_StateIdle\n",__LINE__);
142 pComponentPrivate->curState = OMX_StateLoaded;
149 pComponentPrivate->curState,
156 OMX_ErrorResourcesLost,pComponentPrivate->curState, NULL);
|
OMX_G726Enc_Utils.c | 677 G726ENC_DPRINT("%d :: pComponentPrivate->curState = %d\n",__LINE__,pComponentPrivate->curState); 678 if (pComponentPrivate->curState == commandedState){ 687 else if (pComponentPrivate->curState == OMX_StateLoaded || pComponentPrivate->curState == OMX_StateWaitForResources) { 745 if (pComponentPrivate->curState != OMX_StateWaitForResources) { 753 pComponentPrivate->curState = OMX_StateIdle; 761 pComponentPrivate->curState = OMX_StateWaitForResources; 766 pComponentPrivate->curState, 775 pComponentPrivate->curState = OMX_StateIdle [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/ |
OMX_G711Dec_ComponentThread.c | 112 if (pComponentPrivate->curState != OMX_StateIdle) { 154 pComponentPrivate->curState = OMX_StateLoaded; 159 pComponentPrivate->curState,
|
OMX_G711Dec_Utils.c | 656 G711DEC_DPRINT ("%d :: Entering G711DECHandleCommand Function - curState = %d\n",__LINE__,pComponentPrivate->curState); 685 G711DEC_DPRINT("%d :: pComponentPrivate->curState = %d\n",__LINE__,pComponentPrivate->curState); 687 if (pComponentPrivate->curState == commandedState){ 694 else if (pComponentPrivate->curState == OMX_StateLoaded || 695 pComponentPrivate->curState == OMX_StateWaitForResources) { 709 pComponentPrivate->curState = OMX_StateInvalid; 806 if (pComponentPrivate->curState != OMX_StateWaitForResources){ 819 pComponentPrivate->curState = OMX_StateIdle [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/ |
OMX_G726Dec_CompThread.c | 172 pComponentPrivate->curState = OMX_StateLoaded; 178 OMX_ErrorNone,pComponentPrivate->curState, NULL); 184 OMX_ErrorResourcesLost,pComponentPrivate->curState, NULL);
|
OMX_G726Dec_Utils.c | 589 if (pComponentPrivate->curState == commandedState) { 598 if (pComponentPrivate->curState == OMX_StateLoaded || pComponentPrivate->curState == OMX_StateWaitForResources) { 612 pComponentPrivate->curState = OMX_StateInvalid; 662 pComponentPrivate->curState = OMX_StateInvalid; 673 pComponentPrivate->curState = OMX_StateInvalid; 717 if (pComponentPrivate->curState != OMX_StateWaitForResources) { 722 pComponentPrivate->curState = OMX_StateIdle; 727 pComponentPrivate->curState = OMX_StateWaitForResources; 732 pComponentPrivate->curState, [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/ |
OMX_G729Dec_ComponentThread.c | 171 if (pComponentPrivate->curState != OMX_StateIdle) { 215 pComponentPrivate->curState = OMX_StateLoaded; 220 OMX_ErrorNone,pComponentPrivate->curState, NULL); 226 OMX_ErrorResourcesLost,pComponentPrivate->curState, NULL);
|
OMX_G729Dec_Utils.c | 705 if (pComponentPrivate->curState == commandedState){ 720 if (pComponentPrivate->curState == OMX_StateLoaded || pComponentPrivate->curState == OMX_StateWaitForResources) { 816 pComponentPrivate->curState = OMX_StateIdle; 821 pComponentPrivate->curState, 826 pComponentPrivate->curState = OMX_StateWaitForResources; 831 pComponentPrivate->curState, 836 pComponentPrivate->curState = OMX_StateIdle [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/ |
OMX_G729Enc_ComponentThread.c | 162 if (pComponentPrivate->curState != OMX_StateIdle) 164 G729ENC_DPRINT("pComponentPrivate->curState not OMX_StateIdle\n"); 211 pComponentPrivate->curState = OMX_StateLoaded; 220 OMX_ErrorNone,pComponentPrivate->curState, NULL); 226 OMX_ErrorResourcesLost,pComponentPrivate->curState, NULL);
|
OMX_G729Enc_Utils.c | 651 G729ENC_DPRINT("pComponentPrivate->curState = %d\n", pComponentPrivate->curState); 674 if (pComponentPrivate->curState == commandedState) 690 if (pComponentPrivate->curState == OMX_StateLoaded || pComponentPrivate->curState == OMX_StateWaitForResources) 702 pComponentPrivate->curState = OMX_StateInvalid; 775 pComponentPrivate->curState = OMX_StateIdle; 780 pComponentPrivate->curState, 797 pComponentPrivate->curState = OMX_StateWaitForResources; 802 pComponentPrivate->curState, [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/ |
OMX_AmrEnc_ComponentThread.c | 154 if (pComponentPrivate->curState != OMX_StateIdle) { 155 OMX_ERROR4(pComponentPrivate->dbg, "%d :: pComponentPrivate->curState is not OMX_StateIdle\n",__LINE__); 171 && (pComponentPrivate->curState != OMX_StatePause)) { 195 pComponentPrivate->curState = OMX_StateLoaded; 210 pComponentPrivate->curState,
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/src/ |
OMX_G722Enc_Utils.c | 155 if (pComponentPrivate->curState != OMX_StateIdle) { 183 pComponentPrivate->curState = OMX_StateLoaded; 189 pComponentPrivate->curState, 198 pComponentPrivate->curState, [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/src/ |
OMX_G722Dec_Utils.c | 162 /* && (pComponentPrivate->curState != OMX_StatePause)) { */ 185 pComponentPrivate->curState = OMX_StateLoaded; 189 OMX_ErrorNone,pComponentPrivate->curState, NULL); 718 if (pComponentPrivate->curState == commandedState) { 727 if (pComponentPrivate->curState == OMX_StateLoaded) { 741 pComponentPrivate->curState = OMX_StateInvalid; 791 pComponentPrivate->curState = OMX_StateInvalid; 802 pComponentPrivate->curState = OMX_StateInvalid; [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/ |
OMX_AacDec_Utils.c | 569 OMX_PRSTATE1(pComponentPrivate->dbg, "%d :: UTIL: pComponentPrivate->curState = %d\n",__LINE__,pComponentPrivate->curState); 610 if (pComponentPrivate->curState == commandedState) { 629 if (pComponentPrivate->curState == OMX_StateLoaded || pComponentPrivate->curState == OMX_StateWaitForResources) { 644 pComponentPrivate->curState = OMX_StateInvalid; 702 pComponentPrivate->curState = OMX_StateInvalid; 715 pComponentPrivate->curState = OMX_StateInvalid; [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/ |
OMX_Mp3Dec_CompThread.c | 156 OMX_PRSTATE2(pComponentPrivate->dbg, "Current State: %d \n", pComponentPrivate->curState); 202 pComponentPrivate->curState = OMX_StateLoaded; 209 OMX_ErrorNone,pComponentPrivate->curState,
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/ |
OMX_AmrDec_ComponentThread.c | 142 if (pComponentPrivate->curState != OMX_StateIdle) { 185 pComponentPrivate->curState = OMX_StateLoaded; 193 OMX_ErrorNone,pComponentPrivate->curState, NULL);
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/ |
OMX_WbAmrDec_ComponentThread.c | 160 if (pComponentPrivate->curState != OMX_StateIdle) { 202 pComponentPrivate->curState = OMX_StateLoaded; 211 pComponentPrivate->curState,
|
OMX_WbAmrDec_Utils.c | 683 OMX_PRINT1(pComponentPrivate->dbg, "Entering WBAMR_DEC_HandleCommand Function - curState = %d\n",pComponentPrivate->curState); 722 if (pComponentPrivate->curState == commandedState){ 730 else if (pComponentPrivate->curState == OMX_StateLoaded || pComponentPrivate->curState == OMX_StateWaitForResources) { 739 pComponentPrivate->curState = OMX_StateInvalid; 787 pComponentPrivate->curState = OMX_StateInvalid; 810 pComponentPrivate->curState = OMX_StateInvalid; 849 if (pComponentPrivate->curState != OMX_StateWaitForResources) { [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/ |
OMX_WbAmrEnc_CompThread.c | 147 if (pComponentPrivate->curState != OMX_StateIdle) { 148 OMX_ERROR4(pComponentPrivate->dbg, "curState is not OMX_StateIdle\n"); 201 pComponentPrivate->curState = OMX_StateLoaded; 215 pComponentPrivate->curState,
|