Home
last modified time | relevance | path

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

1234

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaCallTrackerTest.java92 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testMOCallDial()
93 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallDial()
94 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallDial()
123 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallPickUp()
143 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallHangup()
145 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testMOCallHangup()
167 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallDialPickUpHangup()
169 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testMOCallDialPickUpHangup()
188 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallPendingHangUp()
190 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testMOCallPendingHangUp()
[all …]
DGsmCdmaCallTest.java53 assertEquals(Call.State.IDLE, mCallUnderTest.getState()); in testAttachDetach()
68 assertEquals(Call.State.IDLE, mCallUnderTest.getState()); in testAttachDetach()
75 assertEquals(Call.State.IDLE, mCallUnderTest.getState()); in testMultiparty()
DDefaultPhoneNotifierTest.java192 doReturn(Call.State.IDLE).when(mForeGroundCall).getState(); in testNotifyPreciseCallState()
193 doReturn(Call.State.IDLE).when(mBackGroundCall).getState(); in testNotifyPreciseCallState()
194 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in testNotifyPreciseCallState()
/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/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java225 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testImsMTCall()
270 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testImsMTCallReject()
285 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testImsMTCallAcceptHangUp()
286 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHangUp()
331 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in testImsMOCallDial()
332 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testImsMOCallDial()
351 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in testImsMTActiveMODial()
352 assertEquals(Call.State.IDLE, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial()
357 assertEquals(Call.State.IDLE, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial()
382 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testImsMOCallHangup()
[all …]
DImsPhoneCallTest.java67 assertEquals(Call.State.IDLE, mImsCallUT.getState()); in testAttachDetach()
81 assertEquals(Call.State.IDLE, mImsCallUT.getState()); in testAttachDetach()
134 mImsCallThat.attach(mConnection2, Call.State.IDLE); in testSwitchWith()
138 assertEquals(Call.State.IDLE, mImsCallUT.getState()); in testSwitchWith()
DImsPhoneTest.java119 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in setUp()
120 doReturn(Call.State.IDLE).when(mBackgroundCall).getState(); in setUp()
121 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in setUp()
161 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in testHandleInCallMmiCommandCallDeflection()
188 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallWaiting()
346 doReturn(PhoneConstants.State.IDLE).when(mImsCT).getState(); in testGettersAndPassThroughs()
347 assertEquals(PhoneConstants.State.IDLE, mImsPhoneUT.getState()); in testGettersAndPassThroughs()
396 doReturn(PhoneConstants.State.IDLE).when(mImsCT).getState(); in testDtmf()
426 doReturn(PhoneConstants.State.IDLE).when(mImsCT).getState(); in testIncomingRing()
/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;
273 setState(State.IDLE);
/frameworks/av/services/audioflinger/
DAutoPark.h30 if (!(state->mCommand & FastThreadState::IDLE)) { in AutoPark()
44 if (!(mPreviousCommand & FastThreadState::IDLE)) { in ~AutoPark()
DFastThreadState.h38 IDLE = 3, // either HOT_IDLE or COLD_IDLE member
DFastThread.cpp133 if (!(mCurrent->mCommand & FastThreadState::IDLE)) { in threadLoop()
134 if (mCommand & FastThreadState::IDLE) { in threadLoop()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DPlaybackOverlayFragment.java112 private static final int IDLE = 0; field in PlaybackOverlayFragment
128 private int mFadingStatus = IDLE;
169 mFadingStatus = IDLE;
236 if (isResumed() && mFadingStatus == IDLE in setFadingEnabled()
310 return mFadingStatus == IDLE && mBgAlpha == 0; in areControlsHidden()
542 if (mFadingStatus == IDLE) { in fade()
570 if (fadeIn && mFadingStatus == IDLE) { in fade()
701 if ((mFadingStatus == IDLE && mBgAlpha == 0) || mFadingStatus == OUT) {
DPlaybackOverlaySupportFragment.java114 private static final int IDLE = 0; field in PlaybackOverlaySupportFragment
130 private int mFadingStatus = IDLE;
171 mFadingStatus = IDLE;
238 if (isResumed() && mFadingStatus == IDLE in setFadingEnabled()
312 return mFadingStatus == IDLE && mBgAlpha == 0; in areControlsHidden()
544 if (mFadingStatus == IDLE) { in fade()
572 if (fadeIn && mFadingStatus == IDLE) { in fade()
703 if ((mFadingStatus == IDLE && mBgAlpha == 0) || mFadingStatus == OUT) {
/frameworks/av/services/camera/libcameraservice/api1/client2/
DCaptureSequencer.cpp49 mCaptureState(IDLE), in CaptureSequencer()
88 while (mCaptureState != IDLE) { in waitUntilIdle()
217 if (mCaptureState != IDLE) { in threadLoop()
222 if (mCaptureState != IDLE) { in threadLoop()
253 return IDLE; in manageIdle()
323 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
137 setDetailedState(DetailedState.IDLE, null, null); in NetworkInfo()
/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/base/services/core/java/com/android/server/am/
DBroadcastQueue.java322 br.state = BroadcastRecord.IDLE; in sendPendingBroadcastsLocked()
332 br.state = BroadcastRecord.IDLE; in skipPendingBroadcastLocked()
391 r.state = BroadcastRecord.IDLE; in finishReceiverLocked()
392 if (state == BroadcastRecord.IDLE) { in finishReceiverLocked()
458 br.state = BroadcastRecord.IDLE; in backgroundServicesFinishedLocked()
815 mPendingBroadcast.state = BroadcastRecord.IDLE; in processNextBroadcast()
862 r.state = BroadcastRecord.IDLE; in processNextBroadcast()
866 if (r.state != BroadcastRecord.IDLE) { in processNextBroadcast()
957 r.state = BroadcastRecord.IDLE; in processNextBroadcast()
1186 r.state = BroadcastRecord.IDLE; in processNextBroadcast()
[all …]
DBroadcastRecord.java79 static final int IDLE = 0; field in BroadcastRecord
179 if (state != IDLE) { in dump()
244 state = IDLE; in BroadcastRecord()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnContext.java115 mState = DctConstants.State.IDLE; in ApnContext()
162 setState(DctConstants.State.IDLE); in releaseDataConnection()
299 return ((currentState == DctConstants.State.IDLE) || in isDisconnected()
335 return isReady() && ((mState == DctConstants.State.IDLE) in isConnectable()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java170 if ((mForegroundCall.getState() != ImsPhoneCall.State.IDLE) ||
171 (mBackgroundCall.getState() != ImsPhoneCall.State.IDLE)) {
251 private PhoneConstants.State mState = PhoneConstants.State.IDLE;
472 if (mBackgroundCall.getState() != ImsPhoneCall.State.IDLE) { in dial()
484 ImsPhoneCall.State fgState = ImsPhoneCall.State.IDLE; in dial()
485 ImsPhoneCall.State bgState = ImsPhoneCall.State.IDLE; in dial()
914 mState = PhoneConstants.State.IDLE; in updatePhoneState()
917 if (mState == PhoneConstants.State.IDLE && oldState != mState) { in updatePhoneState()
920 } else if (oldState == PhoneConstants.State.IDLE && oldState != mState) { in updatePhoneState()
1110 mState = PhoneConstants.State.IDLE; in callEndCleanupHandOverCallIfAny()
[all …]
/frameworks/base/media/jni/soundpool/
DSoundPool.h115 enum state { IDLE, RESUMING, STOPPING, PAUSED, PLAYING }; enumerator
116 SoundChannel() : mState(IDLE), mNumChannels(1), in SoundChannel()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java203 if (mForegroundCall.getState() != SipCall.State.IDLE) { in dialInternal()
412 case SipSession.State.READY_TO_CALL: return Call.State.IDLE; in getCallStateFrom()
458 setState(Call.State.IDLE); in reset()
644 that.setState(Call.State.IDLE); in merge()
748 private Call.State mState = Call.State.IDLE;
980 if (call.getState() != Call.State.IDLE) { in separate()

1234