Home
last modified time | relevance | path

Searched refs:IDLE (Results 1 – 25 of 64) sorted by relevance

123

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGSMPhoneTest.java.broken142 // IDLE state
144 assertEquals(PhoneConstants.State.IDLE, mGSMPhone.getState());
149 assertEquals(Call.State.IDLE, mGSMPhone.getRingingCall().getState());
150 assertEquals(Call.State.IDLE, mGSMPhone.getForegroundCall().getState());
151 assertEquals(Call.State.IDLE, mGSMPhone.getBackgroundCall().getState());
180 assertEquals(Call.State.IDLE, mGSMPhone.getRingingCall().getState());
183 assertEquals(Call.State.IDLE, mGSMPhone.getBackgroundCall().getState());
212 assertEquals(Call.State.IDLE, mGSMPhone.getRingingCall().getState());
214 assertEquals(Call.State.IDLE, mGSMPhone.getBackgroundCall().getState());
239 assertEquals(Call.State.IDLE, mGSMPhone.getRingingCall().getState());
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DStatusTracker.cpp37 mDeviceState(IDLE) { in StatusTracker()
51 err = mStates.add(id, IDLE); in addComponent()
84 markComponent(id, IDLE, componentFence); in markComponentIdle()
94 state == IDLE ? "idle" : "active"); in markComponent()
132 return fencesDone ? IDLE : ACTIVE; in getDeviceStateLocked()
204 bool idle = (mStateTransitions[i] == IDLE); in threadLoop()
DStatusTracker.h78 IDLE, enumerator
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCall.java35 IDLE, ACTIVE, HOLDING, DIALING, ALERTING, INCOMING, WAITING, DISCONNECTED, DISCONNECTING; enumConstant
38 return !(this == IDLE || this == DISCONNECTED || this == DISCONNECTING); in isAlive()
69 public State mState = State.IDLE;
DCallManager.java274 PhoneConstants.State s = PhoneConstants.State.IDLE; in getState()
280 if (s == PhoneConstants.State.IDLE) s = PhoneConstants.State.OFFHOOK; in getState()
293 PhoneConstants.State s = PhoneConstants.State.IDLE; in getState()
300 if (s == PhoneConstants.State.IDLE) s = PhoneConstants.State.OFFHOOK; in getState()
1068 || (fgCallState == Call.State.IDLE) in canDial()
1926 } else if (call.getState() != Call.State.IDLE) { in getFirstNonIdleCall()
1942 } else if (call.getState() != Call.State.IDLE) { in getFirstNonIdleCall()
2047 return Call.State.IDLE; in getActiveFgCallState()
2057 return Call.State.IDLE; in getActiveFgCallState()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DPlaybackOverlaySupportFragment.java113 private static final int IDLE = 0; field in PlaybackOverlaySupportFragment
129 private int mFadingStatus = IDLE;
170 mFadingStatus = IDLE;
235 if (isResumed() && mFadingStatus == IDLE in setFadingEnabled()
301 return mFadingStatus == IDLE && mBgAlpha == 0; in areControlsHidden()
533 if (mFadingStatus == IDLE) { in fade()
561 if (fadeIn && mFadingStatus == IDLE) { in fade()
692 if ((mFadingStatus == IDLE && mBgAlpha == 0) || mFadingStatus == OUT) {
DPlaybackOverlayFragment.java111 private static final int IDLE = 0; field in PlaybackOverlayFragment
127 private int mFadingStatus = IDLE;
168 mFadingStatus = IDLE;
233 if (isResumed() && mFadingStatus == IDLE in setFadingEnabled()
299 return mFadingStatus == IDLE && mBgAlpha == 0; in areControlsHidden()
531 if (mFadingStatus == IDLE) { in fade()
559 if (fadeIn && mFadingStatus == IDLE) { in fade()
690 if ((mFadingStatus == IDLE && mBgAlpha == 0) || mFadingStatus == OUT) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnContext.java100 mState = DctConstants.State.IDLE; in ApnContext()
131 setState(DctConstants.State.IDLE); in releaseDataConnection()
220 return ((currentState == DctConstants.State.IDLE) || in isDisconnected()
240 return isReady() && ((mState == DctConstants.State.IDLE) in isConnectable()
DDcTracker.java573 case IDLE: in getOverallState()
586 return DctConstants.State.IDLE; in getOverallState()
594 return DctConstants.State.IDLE; in getOverallState()
733 PhoneConstants.State state = PhoneConstants.State.IDLE; in isDataAllowed()
747 (state == PhoneConstants.State.IDLE || in isDataAllowed()
761 if (state != PhoneConstants.State.IDLE && in isDataAllowed()
865 apnContext.setState(DctConstants.State.IDLE); in trySetupData()
869 if (apnContext.getState() == DctConstants.State.IDLE) { in trySetupData()
1017 apnContext.setState(DctConstants.State.IDLE); in cleanUpConnection()
1062 apnContext.setState(DctConstants.State.IDLE); in cleanUpConnection()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmCall.java130 mState = State.IDLE; in detach()
192 mState = State.IDLE; in clearDisconnected()
DGsmCallTracker.java95 PhoneConstants.State mState = PhoneConstants.State.IDLE;
211 if (mForegroundCall.getState() != GsmCall.State.IDLE) { in dial()
418 mState = PhoneConstants.State.IDLE; in updatePhoneState()
421 if (mState == PhoneConstants.State.IDLE && oldState != mState) { in updatePhoneState()
424 } else if (oldState == PhoneConstants.State.IDLE && oldState != mState) { in updatePhoneState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaCall.java129 mState = State.IDLE; in detach()
188 mState = State.IDLE; in clearDisconnected()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DCaptureSequencer.cpp49 mCaptureState(IDLE), in CaptureSequencer()
88 while (mCaptureState != IDLE) { in waitUntilIdle()
215 if (mCaptureState != IDLE) { in threadLoop()
220 if (mCaptureState != IDLE) { in threadLoop()
251 return IDLE; in manageIdle()
321 return IDLE; in manageDone()
/frameworks/base/core/java/android/net/
DNetworkInfo.java62 IDLE, enumConstant
98 stateMap.put(DetailedState.IDLE, State.DISCONNECTED); in stateMap.put() argument
140 setDetailedState(DetailedState.IDLE, null, null); in NetworkInfo()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java116 if ((mForegroundCall.getState() != ImsPhoneCall.State.IDLE) ||
117 (mBackgroundCall.getState() != ImsPhoneCall.State.IDLE)) {
167 PhoneConstants.State mState = PhoneConstants.State.IDLE;
317 if (mBackgroundCall.getState() != ImsPhoneCall.State.IDLE) { in dial()
328 ImsPhoneCall.State fgState = ImsPhoneCall.State.IDLE; in dial()
329 ImsPhoneCall.State bgState = ImsPhoneCall.State.IDLE; in dial()
640 mState = PhoneConstants.State.IDLE; in updatePhoneState()
643 if (mState == PhoneConstants.State.IDLE && oldState != mState) { in updatePhoneState()
646 } else if (oldState == PhoneConstants.State.IDLE && oldState != mState) { in updatePhoneState()
825 mState = PhoneConstants.State.IDLE; in callEndCleanupHandOverCallIfAny()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastQueue.java306 br.state = BroadcastRecord.IDLE; in sendPendingBroadcastsLocked()
316 br.state = BroadcastRecord.IDLE; in skipPendingBroadcastLocked()
371 r.state = BroadcastRecord.IDLE; in finishReceiverLocked()
372 if (state == BroadcastRecord.IDLE) { in finishReceiverLocked()
438 br.state = BroadcastRecord.IDLE; in backgroundServicesFinishedLocked()
695 mPendingBroadcast.state = BroadcastRecord.IDLE; in processNextBroadcast()
742 r.state = BroadcastRecord.IDLE; in processNextBroadcast()
746 if (r.state != BroadcastRecord.IDLE) { in processNextBroadcast()
830 r.state = BroadcastRecord.IDLE; in processNextBroadcast()
995 r.state = BroadcastRecord.IDLE; in processNextBroadcast()
[all …]
DBroadcastRecord.java75 static final int IDLE = 0; field in BroadcastRecord
164 if (state != IDLE) { in dump()
216 state = IDLE; in BroadcastRecord()
/frameworks/av/services/audioflinger/
DFastThreadState.h38 IDLE = 3, // either HOT_IDLE or COLD_IDLE member
DFastThread.cpp129 if (!(mCurrent->mCommand & FastThreadState::IDLE)) { in threadLoop()
130 if (mCommand & FastThreadState::IDLE) { in threadLoop()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerStateErrors.java22 IDLE, enumConstant
DMediaPlayerStateUnitTestTemplate.java337 case IDLE: in setMediaPlayerToState()
381 case IDLE: in setStateError()
422 callMediaPlayerMethodUnderTestInState(MediaPlayerStateErrors.MediaPlayerState.IDLE); in checkIdleState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipCallBase.java50 if (mConnections.isEmpty()) setState(State.IDLE); in clearDisconnected()
DSipPhone.java200 if (mForegroundCall.getState() != SipCall.State.IDLE) { in dialInternal()
402 case SipSession.State.READY_TO_CALL: return Call.State.IDLE; in getCallStateFrom()
439 setState(Call.State.IDLE); in reset()
625 that.setState(Call.State.IDLE); in merge()
729 private Call.State mState = Call.State.IDLE;
961 if (call.getState() != Call.State.IDLE) { in separate()
/frameworks/base/media/jni/soundpool/
DSoundPool.h115 enum state { IDLE, RESUMING, STOPPING, PAUSED, PLAYING }; enumerator
116 SoundChannel() : mState(IDLE), mNumChannels(1), in SoundChannel()
/frameworks/base/telephony/java/com/android/internal/telephony/
DDctConstants.java41 IDLE, enumConstant

123