Home
last modified time | relevance | path

Searched refs:STATE_IDLE (Results 1 – 25 of 30) 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/servicestests/src/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandlerTest.java105 public static final int STATE_IDLE = 1; field in FullScreenMagnificationGestureHandlerTest
116 public static final int FIRST_STATE = STATE_IDLE;
209 assertIn(STATE_IDLE); in testInitialState_isIdle()
226 assertIn(STATE_IDLE); in testEachState_isReachableAndRecoverable()
279 assertTransition(STATE_SHORTCUT_TRIGGERED, () -> triggerShortcut(), STATE_IDLE); in testAlternativeTransitions_areWorking()
282 assertTransition(STATE_ZOOMED, () -> triggerShortcut(), STATE_IDLE); in testAlternativeTransitions_areWorking()
292 assertTransition(STATE_2TAPS, () -> swipe(), STATE_IDLE); in testAlternativeTransitions_areWorking()
301 assertStaysIn(STATE_IDLE, () -> { in testNonTransitions_dontChangeState()
313 assertStaysIn(STATE_IDLE, tapAndLongTap); in testNonTransitions_dontChangeState()
324 assertStaysIn(STATE_IDLE, slow3tap); in testNonTransitions_dontChangeState()
[all …]
DWindowMagnificationGestureHandlerTest.java62 public static final int STATE_IDLE = 1; field in WindowMagnificationGestureHandlerTest
69 public static final int FIRST_STATE = STATE_IDLE;
113 assertIn(STATE_IDLE); in testInitialState_isIdle()
137 assertIn(STATE_IDLE); in testEachState_isReachableAndRecoverable()
189 case STATE_IDLE: { in assertIn()
226 case STATE_IDLE: { in goFromStateIdleTo()
279 case STATE_IDLE: { in returnToNormalFrom()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DBiometricStateCallback.java22 import static android.hardware.biometrics.BiometricStateListener.STATE_IDLE;
50 mBiometricState = STATE_IDLE; in BiometricStateCallback()
74 mBiometricState = STATE_IDLE; in onClientStarted()
84 mBiometricState = STATE_IDLE; in onClientFinished()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java38 import static com.android.server.DeviceIdleController.STATE_IDLE;
659 enterDeepState(STATE_IDLE); in testTransitionFromAnyStateToStateQuickDozeDelay()
664 verifyStateConditions(STATE_IDLE); in testTransitionFromAnyStateToStateQuickDozeDelay()
703 verifyStateConditions(STATE_IDLE); in testStepIdleStateLocked_ValidStates_QuickDoze()
711 verifyStateConditions(STATE_IDLE); in testStepIdleStateLocked_ValidStates_QuickDoze()
761 enterDeepState(STATE_IDLE); in testStepIdleStateLocked_ValidStates_WithWakeFromIdleAlarmSoon()
791 verifyStateConditions(STATE_IDLE); in testStepIdleStateLocked_ValidStates_NoLocationManager()
799 verifyStateConditions(STATE_IDLE); in testStepIdleStateLocked_ValidStates_NoLocationManager()
824 verifyStateConditions(STATE_IDLE); in testStepIdleStateLocked_ValidStates_WithLocationManager_NoProviders()
832 verifyStateConditions(STATE_IDLE); in testStepIdleStateLocked_ValidStates_WithLocationManager_NoProviders()
[all …]
/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/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp73 : mState(STATE_IDLE), in NuPlayerDriver()
149 if (mState != STATE_IDLE) { in setDataSource()
168 if (mState != STATE_IDLE) { in setDataSource()
187 if (mState != STATE_IDLE) { in setDataSource()
206 if (mState != STATE_IDLE) { in setDataSource()
225 if (mState != STATE_IDLE) { in setDataSource()
274 if (mState == STATE_IDLE) { in getBufferingSettings()
286 if (mState == STATE_IDLE) { in setBufferingSettings()
701 case STATE_IDLE: in reset()
878 mState = STATE_IDLE; in notifyResetComplete()
[all …]
/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/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()
238 mBindState = STATE_IDLE; in bind()
313 mBindState = STATE_IDLE; in onServiceConnected()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthBiometricFaceIconController.kt29 import com.android.systemui.biometrics.AuthBiometricView.STATE_IDLE
91 } else if (lastStateIsErrorIcon && newState == STATE_IDLE) { in updateIcon()
113 } else if (newState == STATE_IDLE) { in updateIcon()
DAuthBiometricFaceView.kt30 override fun getStateForAfterError() = STATE_IDLE in getDelayAfterAuthenticatedDurationMs()
DAuthBiometricFingerprintIconController.kt36 import com.android.systemui.biometrics.AuthBiometricView.STATE_IDLE in <lambda>()
150 STATE_IDLE, in <lambda>()
182 oldState == STATE_ERROR || oldState == STATE_HELP || oldState == STATE_IDLE in <lambda>()
DAuthBiometricView.java70 protected static final int STATE_IDLE = 0; field in AuthBiometricView
97 @IntDef({STATE_IDLE, STATE_AUTHENTICATING_ANIMATING_IN, STATE_AUTHENTICATING, STATE_HELP,
230 return STATE_IDLE; in getStateForAfterError()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DShadeListBuilder.java27 …static com.android.systemui.statusbar.notification.collection.listbuilder.PipelineState.STATE_IDLE;
177 mPipelineState.requireState(STATE_IDLE); in setOnRenderListListener()
184 mPipelineState.requireState(STATE_IDLE); in addOnBeforeTransformGroupsListener()
191 mPipelineState.requireState(STATE_IDLE); in addOnBeforeSortListener()
198 mPipelineState.requireState(STATE_IDLE); in addOnBeforeFinalizeFilterListener()
205 mPipelineState.requireState(STATE_IDLE); in addOnBeforeRenderListListener()
212 mPipelineState.requireState(STATE_IDLE); in addPreRenderInvalidator()
218 mPipelineState.requireState(STATE_IDLE); in addPreGroupFilter()
226 mPipelineState.requireState(STATE_IDLE); in addFinalizeFilter()
234 mPipelineState.requireState(STATE_IDLE); in addPromoter()
[all …]
/frameworks/base/services/core/java/com/android/server/policy/
DSideFpsEventHandler.java21 import static android.hardware.biometrics.BiometricStateListener.STATE_IDLE;
100 mBiometricState = STATE_IDLE; in SideFpsEventHandler()
214 if (newState == STATE_IDLE) { in onFingerprintSensorReady()
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DMainInteractionSession.java64 static final int STATE_IDLE = 0; field in MainInteractionSession
73 int mState = STATE_IDLE;
96 mState = STATE_IDLE; in onShow()
239 if (mState == STATE_IDLE) { in updateState()
252 mStartButton.setEnabled(mState == STATE_IDLE); in updateState()
342 if (mState != STATE_IDLE) { in onComputeInsets()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DCellularNetworkValidator.java66 private static final int STATE_IDLE = 0; field in CellularNetworkValidator
79 private int mState = STATE_IDLE;
310 mState = STATE_IDLE;
326 return mState != STATE_IDLE;
/frameworks/base/services/core/java/com/android/server/location/gnss/
DNtpTimeHelper.java48 private static final int STATE_IDLE = 2; field in NtpTimeHelper
157 mInjectNtpTimeState = STATE_IDLE; in blockingGetNtpTimeAndInject()
/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/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.java66 BiometricStateListener.STATE_IDLE,
151 setBiometricState(BiometricStateListener.STATE_IDLE); in ignoresWhenIdleOrUnknown()
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/
DNuPlayerDriver.h105 STATE_IDLE, enumerator
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java386 static final int STATE_IDLE = 5; field in DeviceIdleController
428 case STATE_IDLE: return "IDLE"; in stateToString()
3125 mQuickDozeActivated && (mState == STATE_IDLE || mState == STATE_IDLE_MAINTENANCE); in updateQuickDozeFlagLocked()
3218 if (mState != STATE_IDLE && mLocalAlarmManager.isIdling()) { in verifyAlarmStateLocked()
3221 if (mState == STATE_IDLE && !mLocalAlarmManager.isIdling()) { in verifyAlarmStateLocked()
3253 if (mState == STATE_QUICK_DOZE_DELAY || mState == STATE_IDLE in becomeInactiveIfAppropriateLocked()
3590 moveToStateLocked(STATE_IDLE, reason); in stepIdleStateLocked()
3599 case STATE_IDLE: in stepIdleStateLocked()
3782 if (mState == STATE_IDLE) { in maybeDoImmediateMaintenance()
4000 && mState != STATE_IDLE in scheduleAlarmLocked()
[all …]

12