Home
last modified time | relevance | path

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

1234

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaCallTrackerTest.java103 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testMOCallDial()
104 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallDial()
105 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallDial()
134 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallPickUp()
156 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallHangup()
158 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testMOCallHangup()
181 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallDialPickUpHangup()
183 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testMOCallDialPickUpHangup()
204 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallPendingHangUp()
206 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testMOCallPendingHangUp()
[all …]
DGsmCdmaCallTest.java55 assertEquals(Call.State.IDLE, mCallUnderTest.getState()); in testAttachDetach()
70 assertEquals(Call.State.IDLE, mCallUnderTest.getState()); in testAttachDetach()
77 assertEquals(Call.State.IDLE, mCallUnderTest.getState()); in testMultiparty()
/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()
90 if (mDeviceState == IDLE) { in dumpActiveComponents()
103 markComponent(id, IDLE, componentFence); in markComponentIdle()
113 state == IDLE ? "idle" : "active"); in markComponent()
151 return fencesDone ? IDLE : ACTIVE; in getDeviceStateLocked()
223 bool idle = (mStateTransitions[i] == IDLE); in threadLoop()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataStallRecoveryManagerTest.java133 doReturn(PhoneConstants.State.IDLE).when(mPhone).getState(); in testRecoveryStepPDPReset()
147 doReturn(PhoneConstants.State.IDLE).when(mPhone).getState(); in testRecoveryStepRestartRadio()
161 doReturn(PhoneConstants.State.IDLE).when(mPhone).getState(); in testRecoveryStepModemReset()
177 doReturn(PhoneConstants.State.IDLE).when(mPhone).getState(); in testDoNotDoRecoveryActionWhenPoorSignal()
228 doReturn(PhoneConstants.State.IDLE).when(mPhone).getState(); in testDoNotContinueRecoveryActionAfterModemReset()
264 doReturn(PhoneConstants.State.IDLE).when(mPhone).getState(); in testDoRecoveryWhenMeetDataStallAgain()
309 doReturn(PhoneConstants.State.IDLE).when(mPhone).getState(); in testDoNotDoRecoveryWhenDataNoService()
324 doReturn(PhoneConstants.State.IDLE).when(mPhone).getState(); in testDoNotDoRecoveryWhenDataNetworkNotConnected()
338 doReturn(PhoneConstants.State.IDLE).when(mPhone).getState(); in testDoNotDoRecoveryIfNoValidationPassedYet()
362 doReturn(PhoneConstants.State.IDLE).when(mPhone).getState(); in testNextRecoveryAfterSkippingUnderPoorSignal()
[all …]
/frameworks/base/services/backup/backuplib/java/com/android/server/backup/transport/
DTransportConnection.java106 private int mState = State.IDLE;
219 case State.IDLE: in connectAsync()
268 case State.IDLE: in unbind()
271 setStateLocked(State.IDLE, null); in unbind()
277 setStateLocked(State.IDLE, null); in unbind()
486 case State.IDLE: in onBindingDied()
571 case State.IDLE: in checkStateIntegrityLocked()
601 case State.IDLE: in stateToString()
647 @IntDef({State.UNUSABLE, State.IDLE, State.BOUND_AND_CONNECTING, State.CONNECTED})
652 int IDLE = 1; field
/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
DTrackBase.h27 IDLE, enumerator
217 case IDLE: in getTrackStateAsString()
321 case IDLE: in getTrackStateAsCodedString()
/frameworks/base/media/jni/soundpool/
DStream.cpp161 LOG_ALWAYS_FATAL_IF(mState != IDLE && mAudioTrack != nullptr, "State %d must be IDLE", mState); in setPlay()
207 if (mState != IDLE) { in stop_l()
213 mState = IDLE; in stop_l()
248 LOG_ALWAYS_FATAL_IF(mState != IDLE, "State: %d must be IDLE", mState); in playPairStream()
264 if (pairStream->mState == IDLE) { in playPairStream()
347 mState = IDLE; in play_l()
453 if (mState != IDLE) { in onBufferEnd()
DStream.h59 enum state { IDLE, PAUSED, PLAYING }; enumerator
173 int mState GUARDED_BY(mLock) = IDLE;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DSystemStatusAnimationScheduler.kt66 IDLE,
77 @SystemAnimationState const val IDLE = 0 constant
DSystemStatusAnimationSchedulerLegacyImpl.kt78 @SystemAnimationState private var animationState: Int = IDLE in <lambda>()
122 if (animationState == IDLE) { in <lambda>()
206 IDLE in <lambda>()
270 animationState = IDLE in <lambda>()
DSystemStatusAnimationSchedulerImpl.kt89 private var animationState = MutableStateFlow(IDLE) in <lambda>()
218 if (animationState.value == IDLE) { in <lambda>()
312 else -> IDLE in <lambda>()
379 animationState.value = IDLE in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
DSwipeDetector.java64 private ScrollState mState = ScrollState.IDLE;
67 IDLE, enumConstant
122 if (mState == ScrollState.IDLE) { in setState()
143 return mState == ScrollState.IDLE; in isIdleState()
270 setState(ScrollState.IDLE); in finishedScrolling()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCall.java42 @UnsupportedAppUsage IDLE, enumConstant
54 return !(this == IDLE || this == DISCONNECTED || this == DISCONNECTING); in isAlive()
87 public State mState = State.IDLE;
368 setState(State.IDLE);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java140 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in setUp()
141 doReturn(Call.State.IDLE).when(mBackgroundCall).getState(); in setUp()
142 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in setUp()
195 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in testHandleInCallMmiCommandCallDeflection()
222 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallWaiting()
251 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
261 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
262 doReturn(Call.State.IDLE).when(mBackgroundCall).getState(); in testHandleInCallMmiCommandCallHold()
388 doReturn(PhoneConstants.State.IDLE).when(mImsCT).getState(); in testGettersAndPassThroughs()
389 assertEquals(PhoneConstants.State.IDLE, mImsPhoneUT.getState()); in testGettersAndPassThroughs()
[all …]
DImsPhoneCallTest.java80 assertEquals(Call.State.IDLE, mImsCallUT.getState()); in testAttachDetach()
94 assertEquals(Call.State.IDLE, mImsCallUT.getState()); in testAttachDetach()
225 mImsCallThat.attach(mConnection2, Call.State.IDLE); in testSwitchWith()
229 assertEquals(Call.State.IDLE, mImsCallUT.getState()); in testSwitchWith()
DImsPhoneCallTrackerTest.java532 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in setupRingingConnection()
653 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testImsMTCallReject()
668 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testImsMTCallAcceptHangUp()
669 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHangUp()
749 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testImsMTActiveHoldServiceDisconnect()
839 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testImsMoCallCrash()
849 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in startOutgoingCall()
850 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in startOutgoingCall()
870 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in testImsMTActiveMODial()
871 assertEquals(Call.State.IDLE, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/events/
DSystemStatusAnimationSchedulerImplTest.kt148 assertEquals(IDLE, systemStatusAnimationScheduler.getAnimationState()) in <lambda>()
195 assertEquals(IDLE, systemStatusAnimationScheduler.getAnimationState()) in <lambda>()
350 assertEquals(IDLE, systemStatusAnimationScheduler.getAnimationState()) in <lambda>()
376 assertEquals(IDLE, systemStatusAnimationScheduler.getAnimationState()) in <lambda>()
416 if (animationState == IDLE || animationState == ANIMATION_QUEUED) return in fastForwardAnimationToState()
/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/av/services/camera/libcameraservice/api1/client2/
DCaptureSequencer.cpp49 mCaptureState(IDLE), in CaptureSequencer()
86 while (mCaptureState != IDLE) { in waitUntilIdle()
240 if (mCaptureState != IDLE) { in threadLoop()
245 if (mCaptureState != IDLE) { in threadLoop()
276 return IDLE; in manageIdle()
346 return IDLE; in manageDone()
/frameworks/native/services/surfaceflinger/Scheduler/
DOneShotTimer.cpp95 if (state == TimerState::IDLE) { in loop()
142 state = TimerState::IDLE; in loop()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnContext.java121 mState = DctConstants.State.IDLE; in ApnContext()
200 setState(DctConstants.State.IDLE); in releaseDataConnection()
312 return ((currentState == DctConstants.State.IDLE) || in isDisconnected()
346 return isReady() && ((mState == DctConstants.State.IDLE) in isConnectable()

1234