Home
last modified time | relevance | path

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

12345

/frameworks/base/packages/SystemUI/src/com/android/systemui/haptics/qs/
DQSLongPressEffect.kt49 var state = State.IDLE
97 State.IDLE -> { in handleActionDown()
114 State.TIMEOUT_WAIT -> setState(State.IDLE) in handleActionCancel()
131 setState(State.IDLE) in handleAnimationComplete()
143 setState(State.IDLE) in handleAnimationComplete()
159 setState(State.IDLE) in onTileClick()
188 setState(State.IDLE) in initializeEffect()
193 IDLE, /* The effect is idle waiting for touch input */
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaCallTrackerTest.java106 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testMOCallDial()
107 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallDial()
108 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallDial()
139 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallPickUp()
161 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallHangup()
163 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testMOCallHangup()
186 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallDialPickUpHangup()
188 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testMOCallDialPickUpHangup()
209 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallPendingHangUp()
211 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/av/services/camera/libcameraservice/device3/
DStatusTracker.cpp37 mDeviceState(IDLE), in StatusTracker()
52 err = mStates.add(id, IDLE); in addComponent()
91 if (mDeviceState == IDLE) { in dumpActiveComponents()
104 markComponent(id, IDLE, componentFence); in markComponentIdle()
114 state == IDLE ? "idle" : "active"); in markComponent()
170 return fencesDone ? IDLE : ACTIVE; in getDeviceStateLocked()
246 bool idle = (mStateTransitions[i] == IDLE); in threadLoop()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataStallRecoveryManagerTest.java189 doReturn(PhoneConstants.State.IDLE).when(mPhone).getState(); in testRecoveryStepPDPReset()
203 doReturn(PhoneConstants.State.IDLE).when(mPhone).getState(); in testRecoveryStepRestartRadio()
217 doReturn(PhoneConstants.State.IDLE).when(mPhone).getState(); in testRecoveryStepModemReset()
233 doReturn(PhoneConstants.State.IDLE).when(mPhone).getState(); in testDoNotDoRecoveryActionWhenPoorSignal()
285 doReturn(PhoneConstants.State.IDLE).when(mPhone).getState(); in testDoNotContinueRecoveryActionAfterModemReset()
321 doReturn(PhoneConstants.State.IDLE).when(mPhone).getState(); in testDoRecoveryWhenMeetDataStallAgain()
366 doReturn(PhoneConstants.State.IDLE).when(mPhone).getState(); in testDoNotDoRecoveryWhenDataNoService()
381 doReturn(PhoneConstants.State.IDLE).when(mPhone).getState(); in testDoNotDoRecoveryWhenDataNetworkNotConnected()
395 doReturn(PhoneConstants.State.IDLE).when(mPhone).getState(); in testDoNotDoRecoveryIfNoValidationPassedYet()
415 doReturn(PhoneConstants.State.IDLE).when(mPhone).getState(); in testStartTimeNotZero()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/haptics/slider/
DSliderStateTracker.kt59 SliderState.IDLE -> handleIdle(event.type, event.currentProgress) in iterateState()
65 SliderState.DRAG_HANDLE_RELEASED_FROM_TOUCH -> setState(SliderState.IDLE) in iterateState()
116 setState(SliderState.IDLE) in handleWait()
231 SliderEventType.STOPPED_TRACKING_PROGRAM -> SliderState.IDLE in handleArrowOnce()
241 SliderEventType.STOPPED_TRACKING_PROGRAM -> SliderState.IDLE in handleArrowContinuous()
256 private fun handleArrowBookend() = setState(SliderState.IDLE) in handleArrowBookend()
DSliderTracker.kt42 var currentState: SliderState = SliderState.IDLE in <lambda>()
92 currentState = SliderState.IDLE in <lambda>()
DSliderState.kt22 IDLE,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/haptics/slider/
DSliderStateTrackerTest.kt74 assertThat(mSliderStateTracker.currentState).isEqualTo(SliderState.IDLE) in <lambda>()
86 assertThat(mSliderStateTracker.currentState).isEqualTo(SliderState.IDLE) in <lambda>()
234 assertThat(mSliderStateTracker.currentState).isEqualTo(SliderState.IDLE) in <lambda>()
270 assertThat(mSliderStateTracker.currentState).isEqualTo(SliderState.IDLE) in <lambda>()
302 assertThat(mSliderStateTracker.currentState).isEqualTo(SliderState.IDLE) in <lambda>()
339 assertThat(mSliderStateTracker.currentState).isEqualTo(SliderState.IDLE) in touchRelease_onHandleAcquired_movesToIdle()
423 assertThat(mSliderStateTracker.currentState).isEqualTo(SliderState.IDLE) in <lambda>()
525 assertThat(mSliderStateTracker.currentState).isEqualTo(SliderState.IDLE) in <lambda>()
560 assertThat(mSliderStateTracker.currentState).isEqualTo(SliderState.IDLE) in <lambda>()
577 assertThat(mSliderStateTracker.currentState).isEqualTo(SliderState.IDLE) in onStartedTrackingProgram_atLowerBookend_onIdle_movesToIdle()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DRadioOnStateListenerTest.java128 when(mMockPhone.getState()).thenReturn(PhoneConstants.State.IDLE); in testPhoneChangeState_OkToCallTrue()
151 when(mMockPhone.getState()).thenReturn(PhoneConstants.State.IDLE); in testSatelliteChangeState_OkToCallTrue()
172 when(mMockPhone.getState()).thenReturn(PhoneConstants.State.IDLE); in testPhoneChangeState_NoOkToCall_Timeout()
195 when(mMockPhone.getState()).thenReturn(PhoneConstants.State.IDLE); in testTimeout_RetryFailure()
215 when(mMockPhone.getState()).thenReturn(PhoneConstants.State.IDLE); in testTimeout_RetryFailure_ForEmergency()
236 when(mMockPhone.getState()).thenReturn(PhoneConstants.State.IDLE); in testTimeout_RetryFailure_WithSatellite()
256 when(mMockPhone.getState()).thenReturn(PhoneConstants.State.IDLE); in testTimeout_OnTimeoutForEmergency()
/frameworks/base/services/backup/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/fastpath/
DAutoPark.h31 if (!(state->mCommand & FastThreadState::IDLE)) { in AutoPark()
45 if (!(mPreviousCommand & FastThreadState::IDLE)) { in ~AutoPark()
DFastThreadState.h35 IDLE = 3, // either HOT_IDLE or COLD_IDLE member
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DSystemStatusAnimationScheduler.kt65 IDLE,
76 @SystemAnimationState const val IDLE = 0 constant
DSystemStatusAnimationSchedulerImpl.kt89 private var animationState = MutableStateFlow(IDLE) in <lambda>()
181 animationState.value = IDLE in <lambda>()
211 if (animationState.value == IDLE) { in <lambda>()
312 else -> IDLE in <lambda>()
/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()
349 mState = IDLE; in play_l()
456 if (mState != IDLE) { in onBufferEnd()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/haptics/qs/
DQSLongPressEffectTest.kt85 assertThat(longPressEffect.state).isEqualTo(QSLongPressEffect.State.IDLE) in onInitialize_withNegativeDuration_doesNotInitialize()
96 assertThat(longPressEffect.state).isEqualTo(QSLongPressEffect.State.IDLE) in <lambda>()
116 assertThat(longPressEffect.state).isEqualTo(QSLongPressEffect.State.IDLE) in onActionCancel_whileWaiting_goesIdle()
235 assertThat(longPressEffect.state).isEqualTo(QSLongPressEffect.State.IDLE) in onAnimationComplete_whileRunningBackwards_goesToIdle()
329 assertThat(longPressEffect.state).isEqualTo(QSLongPressEffect.State.IDLE) in assertEffectCompleted()
/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/imsphone/
DImsCallInfo.java33 private Call.State mState = Call.State.IDLE;
43 mState = Call.State.IDLE; in reset()
/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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/events/
DSystemStatusAnimationSchedulerImplTest.kt152 assertEquals(IDLE, systemStatusAnimationScheduler.getAnimationState()) in <lambda>()
214 assertEquals(IDLE, systemStatusAnimationScheduler.getAnimationState()) in <lambda>()
369 assertEquals(IDLE, systemStatusAnimationScheduler.getAnimationState()) in <lambda>()
452 assertEquals(IDLE, systemStatusAnimationScheduler.getAnimationState()) in <lambda>()
482 assertEquals(IDLE, systemStatusAnimationScheduler.getAnimationState()) in <lambda>()
595 assertEquals(IDLE, systemStatusAnimationScheduler.getAnimationState()) in <lambda>()
601 if (animationState == IDLE || animationState == ANIMATION_QUEUED) return in fastForwardAnimationToState()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerStateErrors.java22 IDLE, enumConstant
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DFakeEarcNativeWrapper.java47 return IEArcStatus.IDLE; in nativeGetState()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DCaptureSequencer.cpp50 mCaptureState(IDLE), in CaptureSequencer()
87 while (mCaptureState != IDLE) { in waitUntilIdle()
241 if (mCaptureState != IDLE) { in threadLoop()
246 if (mCaptureState != IDLE) { in threadLoop()
277 return IDLE; in manageIdle()
347 return IDLE; in manageDone()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java161 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in setUp()
162 doReturn(Call.State.IDLE).when(mBackgroundCall).getState(); in setUp()
163 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in setUp()
217 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in testHandleInCallMmiCommandCallDeflection()
244 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallWaiting()
273 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
283 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
284 doReturn(Call.State.IDLE).when(mBackgroundCall).getState(); in testHandleInCallMmiCommandCallHold()
291 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
292 doReturn(Call.State.IDLE).when(mBackgroundCall).getState(); in testHandleInCallMmiCommandCallHold()
[all …]

12345