Home
last modified time | relevance | path

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

1234

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaCallTrackerTest.java96 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testMOCallDial()
97 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallDial()
98 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallDial()
128 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallPickUp()
148 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallHangup()
150 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testMOCallHangup()
172 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallDialPickUpHangup()
174 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testMOCallDialPickUpHangup()
194 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallPendingHangUp()
196 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.java228 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testImsMTCall()
273 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testImsMTCallReject()
288 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testImsMTCallAcceptHangUp()
289 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHangUp()
334 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in testImsMOCallDial()
335 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testImsMOCallDial()
354 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in testImsMTActiveMODial()
355 assertEquals(Call.State.IDLE, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial()
360 assertEquals(Call.State.IDLE, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial()
385 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.java121 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in setUp()
122 doReturn(Call.State.IDLE).when(mBackgroundCall).getState(); in setUp()
123 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in setUp()
165 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in testHandleInCallMmiCommandCallDeflection()
192 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallWaiting()
350 doReturn(PhoneConstants.State.IDLE).when(mImsCT).getState(); in testGettersAndPassThroughs()
351 assertEquals(PhoneConstants.State.IDLE, mImsPhoneUT.getState()); in testGettersAndPassThroughs()
400 doReturn(PhoneConstants.State.IDLE).when(mImsCT).getState(); in testDtmf()
430 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.java113 static final int IDLE = 0; field in PlaybackOverlayFragment
129 int mFadingStatus = IDLE;
168 mFadingStatus = IDLE;
243 if (isResumed() && mFadingStatus == IDLE in setFadingEnabled()
317 return mFadingStatus == IDLE && mBgAlpha == 0; in areControlsHidden()
548 if (mFadingStatus == IDLE) { in fade()
576 if (fadeIn && mFadingStatus == IDLE) { in fade()
707 if ((mFadingStatus == IDLE && mBgAlpha == 0) || mFadingStatus == OUT) {
DPlaybackOverlaySupportFragment.java115 static final int IDLE = 0; field in PlaybackOverlaySupportFragment
131 int mFadingStatus = IDLE;
170 mFadingStatus = IDLE;
245 if (isResumed() && mFadingStatus == IDLE in setFadingEnabled()
319 return mFadingStatus == IDLE && mBgAlpha == 0; in areControlsHidden()
550 if (mFadingStatus == IDLE) { in fade()
578 if (fadeIn && mFadingStatus == IDLE) { in fade()
709 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java166 mMetrics.writePhoneState(mPhone.getPhoneId(), PhoneConstants.State.IDLE); in testWriteOnImsCallStart()
190 mMetrics.writePhoneState(mPhone.getPhoneId(), PhoneConstants.State.IDLE); in testWriteImsCallState()
212 mMetrics.writePhoneState(mPhone.getPhoneId(), PhoneConstants.State.IDLE); in testWriteImsSetFeatureValue()
233 mMetrics.writePhoneState(mPhone.getPhoneId(), PhoneConstants.State.IDLE); in testWriteOnImsCallHandoverEvent()
266 mMetrics.writePhoneState(mPhone.getPhoneId(), PhoneConstants.State.IDLE); in testWriteOnImsCommand()
291 mMetrics.writePhoneState(mPhone.getPhoneId(), PhoneConstants.State.IDLE); in testWriteOnImsConnectionState()
444 mMetrics.writePhoneState(mPhone.getPhoneId(), PhoneConstants.State.IDLE); in testWritePhoneState()
472 mMetrics.writePhoneState(mPhone.getPhoneId(), PhoneConstants.State.IDLE); in testWriteRilDialHangup()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastQueue.java325 br.state = BroadcastRecord.IDLE; in sendPendingBroadcastsLocked()
335 br.state = BroadcastRecord.IDLE; in skipPendingBroadcastLocked()
394 r.state = BroadcastRecord.IDLE; in finishReceiverLocked()
395 if (state == BroadcastRecord.IDLE) { in finishReceiverLocked()
461 br.state = BroadcastRecord.IDLE; in backgroundServicesFinishedLocked()
818 mPendingBroadcast.state = BroadcastRecord.IDLE; in processNextBroadcast()
865 r.state = BroadcastRecord.IDLE; in processNextBroadcast()
869 if (r.state != BroadcastRecord.IDLE) { in processNextBroadcast()
960 r.state = BroadcastRecord.IDLE; in processNextBroadcast()
1190 r.state = BroadcastRecord.IDLE; in processNextBroadcast()
[all …]
DBroadcastRecord.java79 static final int IDLE = 0; field in BroadcastRecord
179 if (state != IDLE) { in dump()
247 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.java174 if ((mForegroundCall.getState() != ImsPhoneCall.State.IDLE) ||
175 (mBackgroundCall.getState() != ImsPhoneCall.State.IDLE)) {
255 private PhoneConstants.State mState = PhoneConstants.State.IDLE;
496 if (mBackgroundCall.getState() != ImsPhoneCall.State.IDLE) { in dial()
508 ImsPhoneCall.State fgState = ImsPhoneCall.State.IDLE; in dial()
509 ImsPhoneCall.State bgState = ImsPhoneCall.State.IDLE; in dial()
956 mState = PhoneConstants.State.IDLE; in updatePhoneState()
959 if (mState == PhoneConstants.State.IDLE && oldState != mState) { in updatePhoneState()
962 } else if (oldState == PhoneConstants.State.IDLE && oldState != mState) { in updatePhoneState()
1160 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()

1234