Home
last modified time | relevance | path

Searched refs:STATE_IDLE (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/
DPipelineState.java33 private @StateName int mState = STATE_IDLE;
91 case STATE_IDLE: in getStateName()
116 public static final int STATE_IDLE = 0; field in PipelineState
128 STATE_IDLE,
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java35 import static com.android.server.DeviceIdleController.STATE_IDLE;
774 enterDeepState(STATE_IDLE); in testTransitionFromAnyStateToStateQuickDozeDelay()
778 verifyStateConditions(STATE_IDLE); in testTransitionFromAnyStateToStateQuickDozeDelay()
815 verifyStateConditions(STATE_IDLE); in testStepIdleStateLocked_ValidStates_QuickDoze()
823 verifyStateConditions(STATE_IDLE); in testStepIdleStateLocked_ValidStates_QuickDoze()
889 verifyStateConditions(STATE_IDLE); in testStepIdleStateLocked_ValidStates_MissingMotionSensor()
905 verifyStateConditions(STATE_IDLE); in testStepIdleStateLocked_ValidStates_MissingMotionSensor()
961 enterDeepState(STATE_IDLE); in testStepIdleStateLocked_ValidStates_WithWakeFromIdleAlarmSoon()
991 verifyStateConditions(STATE_IDLE); in testStepIdleStateLocked_ValidStates_NoLocationManager()
999 verifyStateConditions(STATE_IDLE); in testStepIdleStateLocked_ValidStates_NoLocationManager()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandlerTest.java155 public static final int STATE_IDLE = 1; field in FullScreenMagnificationGestureHandlerTest
172 public static final int FIRST_STATE = STATE_IDLE;
326 assertIn(STATE_IDLE); in testInitialState_isIdle()
344 assertIn(STATE_IDLE); in testEachState_isReachableAndRecoverable()
398 assertTransition(STATE_SHORTCUT_TRIGGERED, () -> triggerShortcut(), STATE_IDLE); in testAlternativeTransitions_areWorking()
401 assertTransition(STATE_ACTIVATED, () -> triggerShortcut(), STATE_IDLE); in testAlternativeTransitions_areWorking()
410 assertTransition(STATE_2TAPS, () -> swipe(), STATE_IDLE); in testAlternativeTransitions_areWorking()
425 assertIn(STATE_IDLE); in testRelease_zoomedWithPersistedScaleTmpAndAlwaysOnNotEnabled_shouldInIdle()
443 assertStaysIn(STATE_IDLE, () -> { in testNonTransitions_dontChangeState()
455 assertStaysIn(STATE_IDLE, tapAndLongTap); in testNonTransitions_dontChangeState()
[all …]
DWindowMagnificationGestureHandlerTest.java69 public static final int STATE_IDLE = 1; field in WindowMagnificationGestureHandlerTest
80 public static final int FIRST_STATE = STATE_IDLE;
128 assertIn(STATE_IDLE); in testInitialState_isIdle()
152 assertIn(STATE_IDLE); in testEachState_isReachableAndRecoverable()
167 assertIn(STATE_IDLE); in testEachState_enabledMultiFinger_isReachableAndRecoverable()
252 case STATE_IDLE: { in assertIn()
292 case STATE_IDLE: { in goFromStateIdleTo()
373 case STATE_IDLE: { in returnToNormalFrom()
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricStateListener.java30 public static final int STATE_IDLE = 0; field in BiometricStateListener
44 @IntDef({STATE_IDLE, STATE_ENROLLING, STATE_KEYGUARD_AUTH, STATE_BP_AUTH, STATE_AUTH_OTHER})
/frameworks/base/core/java/android/widget/
DEdgeEffect.java197 private static final int STATE_IDLE = 0; field in EdgeEffect
207 private int mState = STATE_IDLE;
298 return mState == STATE_IDLE; in isFinished()
306 mState = STATE_IDLE; in finish()
392 mState = STATE_IDLE; in onPull()
665 mState = STATE_IDLE; in draw()
672 mState = STATE_IDLE; in draw()
676 return mState != STATE_IDLE || oneLastFrame; in draw()
743 mState = STATE_IDLE; in update()
DVideoView.java90 private static final int STATE_IDLE = 0; field in VideoView
111 private int mCurrentState = STATE_IDLE;
113 private int mTargetState = STATE_IDLE;
178 mCurrentState = STATE_IDLE; in VideoView()
179 mTargetState = STATE_IDLE; in VideoView()
367 mCurrentState = STATE_IDLE; in stopPlayback()
368 mTargetState = STATE_IDLE; in stopPlayback()
716 mCurrentState = STATE_IDLE; in release()
718 mTargetState = STATE_IDLE; in release()
865 mCurrentState != STATE_IDLE && in isInPlaybackState()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DBiometricStateCallback.java22 import static android.hardware.biometrics.BiometricStateListener.STATE_IDLE;
70 mBiometricState = STATE_IDLE; in BiometricStateCallback()
107 mBiometricState = STATE_IDLE; in onClientStarted()
117 mBiometricState = STATE_IDLE; in onClientFinished()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp74 : mState(STATE_IDLE), in NuPlayerDriver()
151 if (mState != STATE_IDLE) { in setDataSource()
170 if (mState != STATE_IDLE) { in setDataSource()
189 if (mState != STATE_IDLE) { in setDataSource()
208 if (mState != STATE_IDLE) { in setDataSource()
227 if (mState != STATE_IDLE) { in setDataSource()
276 if (mState == STATE_IDLE) { in getBufferingSettings()
288 if (mState == STATE_IDLE) { in setBufferingSettings()
703 case STATE_IDLE: in reset()
894 mState = STATE_IDLE; in notifyResetComplete()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppResolverConnection.java72 private static final int STATE_IDLE = 0; // no bind operation is ongoing field in InstantAppResolverConnection
78 private int mBindState = STATE_IDLE;
153 while (mBindState != STATE_IDLE) { in waitForBindLocked()
243 mBindState = STATE_IDLE; in bind()
323 mBindState = STATE_IDLE; in onServiceConnected()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/satellite/
DSatelliteSessionControllerTest.java77 private static final String STATE_IDLE = "IdleState"; field in SatelliteSessionControllerTest
185 assertEquals(STATE_IDLE, mTestSatelliteSessionController.getCurrentStateName()); in testStateTransition()
203 assertEquals(STATE_IDLE, mTestSatelliteSessionController.getCurrentStateName()); in testStateTransition()
226 assertEquals(STATE_IDLE, mTestSatelliteSessionController.getCurrentStateName()); in testStateTransition()
301 assertEquals(STATE_IDLE, mTestSatelliteSessionController.getCurrentStateName()); in testStateTransition()
335 assertEquals(STATE_IDLE, mTestSatelliteSessionController.getCurrentStateName()); in testStateTransition()
609 assertEquals(STATE_IDLE, mTestSatelliteSessionController.getCurrentStateName()); in testStateTransitionForNbIot()
708 assertEquals(STATE_IDLE, mTestSatelliteSessionController.getCurrentStateName()); in testStateTransitionForNbIot()
722 assertEquals(STATE_IDLE, mTestSatelliteSessionController.getCurrentStateName()); in testStateTransitionForNbIot()
750 assertEquals(STATE_IDLE, mTestSatelliteSessionController.getCurrentStateName()); in testStateTransitionForNbIot()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DShadeListBuilder.java27 …static com.android.systemui.statusbar.notification.collection.listbuilder.PipelineState.STATE_IDLE;
180 mPipelineState.requireState(STATE_IDLE); in setOnRenderListListener()
187 mPipelineState.requireState(STATE_IDLE); in addOnBeforeTransformGroupsListener()
194 mPipelineState.requireState(STATE_IDLE); in addOnBeforeSortListener()
201 mPipelineState.requireState(STATE_IDLE); in addOnBeforeFinalizeFilterListener()
208 mPipelineState.requireState(STATE_IDLE); in addOnBeforeRenderListListener()
215 mPipelineState.requireState(STATE_IDLE); in addPreRenderInvalidator()
221 mPipelineState.requireState(STATE_IDLE); in addPreGroupFilter()
229 mPipelineState.requireState(STATE_IDLE); in addFinalizeFilter()
237 mPipelineState.requireState(STATE_IDLE); in addPromoter()
[all …]
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DMainInteractionSession.java66 static final int STATE_IDLE = 0; field in MainInteractionSession
75 int mState = STATE_IDLE;
98 mState = STATE_IDLE; in onShow()
241 if (mState == STATE_IDLE) { in updateState()
254 mStartButton.setEnabled(mState == STATE_IDLE); in updateState()
344 if (mState != STATE_IDLE) { in onComputeInsets()
/frameworks/base/services/core/java/com/android/server/policy/
DSideFpsEventHandler.java21 import static android.hardware.biometrics.BiometricStateListener.STATE_IDLE;
103 mBiometricState = STATE_IDLE; in SideFpsEventHandler()
219 if (newState == STATE_IDLE) { in onFingerprintSensorReady()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DCellularNetworkValidator.java65 private static final int STATE_IDLE = 0; field in CellularNetworkValidator
78 private int mState = STATE_IDLE;
293 mState = STATE_IDLE;
309 return mState != STATE_IDLE;
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingOfflineSessionCallback.java88 public static final int STATE_IDLE = 1; field in BlockingOfflineSessionCallback
140 setCurrentState(STATE_IDLE); in onIdle()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DNtpNetworkTimeHelper.java48 private static final int STATE_IDLE = 2; field in NtpNetworkTimeHelper
189 mInjectNtpTimeState = STATE_IDLE; in blockingGetNtpTimeAndInject()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DInProgressCallSession.java125 return (mLastKnownPhoneState == TelephonyCallSession.Event.PhoneState.STATE_IDLE); in isPhoneIdle()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/d2d/
DDtmfTransport.java171 public static final int STATE_IDLE = 0; field in DtmfTransport
196 private int mTransportState = STATE_IDLE;
237 if (mTransportState != STATE_IDLE) { in startNegotiation()
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/
DSideFpsEventHandlerTest.java69 BiometricStateListener.STATE_IDLE,
159 setBiometricState(BiometricStateListener.STATE_IDLE); in ignoresWhenIdleOrUnknown()
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/
DNuPlayerDriver.h105 STATE_IDLE, enumerator
/frameworks/wilhelm/tests/sandbox/
Dmonkey.c151 return STATE_IDLE;
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java428 static final int STATE_IDLE = 5; field in DeviceIdleController
459 case STATE_IDLE: return "IDLE"; in stateToString()
3510 mQuickDozeActivated && (mState == STATE_IDLE || mState == STATE_IDLE_MAINTENANCE); in updateQuickDozeFlagLocked()
3603 if (mState != STATE_IDLE && mLocalAlarmManager.isIdling()) { in verifyAlarmStateLocked()
3606 if (mState == STATE_IDLE && !mLocalAlarmManager.isIdling()) { in verifyAlarmStateLocked()
3640 if (mState == STATE_QUICK_DOZE_DELAY || mState == STATE_IDLE in becomeInactiveIfAppropriateLocked()
3967 moveToStateLocked(STATE_IDLE, reason); in stepIdleStateLocked()
3985 case STATE_IDLE: in stepIdleStateLocked()
4253 && mState != STATE_IDLE in scheduleAlarmLocked()
4265 if (mState == STATE_IDLE) { in scheduleAlarmLocked()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/d2d/
DDtmfTransportTest.java90 assertEquals(DtmfTransport.STATE_IDLE, mDtmfTransport.getTransportState()); in testIdle()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/
DBiometricViewBinder.kt518 STATE_IDLE, in onAuthenticated()

12