/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | CameraDeviceState.java | 49 private static final int STATE_IDLE = 3; field in CameraDeviceState 126 doStateTransition(STATE_IDLE); in setIdle() 263 if(newState != STATE_ERROR && newState != STATE_IDLE) { in doStateTransition() 289 if (mCurrentState != STATE_UNCONFIGURED && mCurrentState != STATE_IDLE) { in doStateTransition() 306 case STATE_IDLE: in doStateTransition() 307 if (mCurrentState == STATE_IDLE) { in doStateTransition() 318 if (mCurrentState != STATE_IDLE && mCurrentHandler != null && in doStateTransition() 327 mCurrentState = STATE_IDLE; in doStateTransition() 330 if (mCurrentState != STATE_IDLE && mCurrentState != STATE_CAPTURING) { in doStateTransition()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | FullScreenMagnificationGestureHandlerTest.java | 98 public static final int STATE_IDLE = 1; field in FullScreenMagnificationGestureHandlerTest 109 public static final int FIRST_STATE = STATE_IDLE; 184 assertIn(STATE_IDLE); in testInitialState_isIdle() 201 assertIn(STATE_IDLE); in testEachState_isReachableAndRecoverable() 254 assertTransition(STATE_SHORTCUT_TRIGGERED, () -> triggerShortcut(), STATE_IDLE); in testAlternativeTransitions_areWorking() 257 assertTransition(STATE_ZOOMED, () -> triggerShortcut(), STATE_IDLE); in testAlternativeTransitions_areWorking() 267 assertTransition(STATE_2TAPS, () -> swipe(), STATE_IDLE); in testAlternativeTransitions_areWorking() 276 assertStaysIn(STATE_IDLE, () -> { in testNonTransitions_dontChangeState() 288 assertStaysIn(STATE_IDLE, tapAndLongTap); in testNonTransitions_dontChangeState() 299 assertStaysIn(STATE_IDLE, slow3tap); in testNonTransitions_dontChangeState() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/ |
D | PipelineState.java | 31 private @StateName int mState = STATE_IDLE; 78 public static final int STATE_IDLE = 0; field in PipelineState 89 STATE_IDLE,
|
/frameworks/base/core/java/android/widget/ |
D | EdgeEffect.java | 103 private static final int STATE_IDLE = 0; field in EdgeEffect 113 private int mState = STATE_IDLE; 170 return mState == STATE_IDLE; in isFinished() 178 mState = STATE_IDLE; in finish() 381 mState = STATE_IDLE; in draw() 385 return mState != STATE_IDLE || oneLastFrame; in draw() 437 mState = STATE_IDLE; in update()
|
D | VideoView.java | 90 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/tests/mockingservicestests/src/com/android/server/ |
D | DeviceIdleControllerTest.java | 39 import static com.android.server.DeviceIdleController.STATE_IDLE; 647 enterDeepState(STATE_IDLE); in testTransitionFromAnyStateToStateQuickDozeDelay() 652 verifyStateConditions(STATE_IDLE); in testTransitionFromAnyStateToStateQuickDozeDelay() 691 verifyStateConditions(STATE_IDLE); in testStepIdleStateLocked_ValidStates_QuickDoze() 699 verifyStateConditions(STATE_IDLE); in testStepIdleStateLocked_ValidStates_QuickDoze() 749 enterDeepState(STATE_IDLE); in testStepIdleStateLocked_ValidStates_WithWakeFromIdleAlarmSoon() 779 verifyStateConditions(STATE_IDLE); in testStepIdleStateLocked_ValidStates_NoLocationManager() 787 verifyStateConditions(STATE_IDLE); in testStepIdleStateLocked_ValidStates_NoLocationManager() 812 verifyStateConditions(STATE_IDLE); in testStepIdleStateLocked_ValidStates_WithLocationManager_NoProviders() 820 verifyStateConditions(STATE_IDLE); in testStepIdleStateLocked_ValidStates_WithLocationManager_NoProviders() [all …]
|
/frameworks/av/media/libaaudio/examples/loopback/src/analyzer/ |
D | GlitchAnalyzer.h | 170 case STATE_IDLE: in processInputFrame() 316 if (mState != STATE_IDLE) { in processOutputFrame() 361 mState = STATE_IDLE; in reset() 383 STATE_IDLE, // beginning enumerator 441 sine_state_t mState = STATE_IDLE;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | ShadeListBuilder.java | 24 …static com.android.systemui.statusbar.notification.collection.listbuilder.PipelineState.STATE_IDLE; 135 mPipelineState.requireState(STATE_IDLE); in setOnRenderListListener() 142 mPipelineState.requireState(STATE_IDLE); in addOnBeforeTransformGroupsListener() 149 mPipelineState.requireState(STATE_IDLE); in addOnBeforeSortListener() 156 mPipelineState.requireState(STATE_IDLE); in addOnBeforeFinalizeFilterListener() 163 mPipelineState.requireState(STATE_IDLE); in addOnBeforeRenderListListener() 169 mPipelineState.requireState(STATE_IDLE); in addPreGroupFilter() 177 mPipelineState.requireState(STATE_IDLE); in addFinalizeFilter() 185 mPipelineState.requireState(STATE_IDLE); in addPromoter() 193 mPipelineState.requireState(STATE_IDLE); in setSections() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDriver.cpp | 73 : 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() 254 if (mState == STATE_IDLE) { in getBufferingSettings() 266 if (mState == STATE_IDLE) { in setBufferingSettings() 681 case STATE_IDLE: in reset() 854 mState = STATE_IDLE; in notifyResetComplete() 1068 mState = (err == OK) ? STATE_UNPREPARED : STATE_IDLE; in notifySetDataSourceCompleted() [all …]
|
D | NuPlayerDriver.h | 103 STATE_IDLE, enumerator
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | InstantAppResolverConnection.java | 72 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/ |
D | AuthBiometricFaceView.java | 112 } else if (lastStateIsErrorIcon && newState == STATE_IDLE) { in updateState() 130 } else if (newState == STATE_IDLE) { in updateState() 158 return STATE_IDLE; in getStateForAfterError()
|
D | AuthBiometricView.java | 60 protected static final int STATE_IDLE = 0; field in AuthBiometricView 87 @IntDef({STATE_IDLE, STATE_AUTHENTICATING_ANIMATING_IN, STATE_AUTHENTICATING, STATE_HELP,
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
D | MainInteractionSession.java | 64 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/ |
D | CellularNetworkValidator.java | 62 private static final int STATE_IDLE = 0; field in CellularNetworkValidator 75 private int mState = STATE_IDLE; 306 mState = STATE_IDLE; 322 return mState != STATE_IDLE;
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | NtpTimeHelper.java | 49 private static final int STATE_IDLE = 2; field in NtpTimeHelper 157 mInjectNtpTimeState = STATE_IDLE; in blockingGetNtpTimeAndInject()
|
D | GnssLocationProvider.java | 331 private static final int STATE_IDLE = 2; field in GnssLocationProvider 2079 mDownloadPsdsDataPending = STATE_IDLE;
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
D | BlockingOfflineSessionCallback.java | 88 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/ |
D | InProgressCallSession.java | 125 return (mLastKnownPhoneState == TelephonyCallSession.Event.PhoneState.STATE_IDLE); in isPhoneIdle()
|
D | TelephonyMetrics.java | 1952 state = TelephonyCallSession.Event.PhoneState.STATE_IDLE; in writePhoneState() 1973 if ((state == TelephonyCallSession.Event.PhoneState.STATE_IDLE) in writePhoneState()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
D | DeviceIdleController.java | 341 static final int STATE_IDLE = 5; field in DeviceIdleController 383 case STATE_IDLE: return "IDLE"; in stateToString() 2776 mQuickDozeActivated && (mState == STATE_IDLE || mState == STATE_IDLE_MAINTENANCE); in updateQuickDozeFlagLocked() 2866 if (mState != STATE_IDLE && mLocalAlarmManager.isIdling()) { in verifyAlarmStateLocked() 2869 if (mState == STATE_IDLE && !mLocalAlarmManager.isIdling()) { in verifyAlarmStateLocked() 2900 if (mState == STATE_QUICK_DOZE_DELAY || mState == STATE_IDLE in becomeInactiveIfAppropriateLocked() 3214 moveToStateLocked(STATE_IDLE, reason); in stepIdleStateLocked() 3223 case STATE_IDLE: in stepIdleStateLocked() 3388 if (mState == STATE_IDLE) { in maybeDoImmediateMaintenance() 3581 && mState != STATE_IDLE in scheduleAlarmLocked() [all …]
|
/frameworks/wilhelm/tests/sandbox/ |
D | monkey.c | 151 return STATE_IDLE;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManager.java | 922 if (nnri.state != AwareNetworkRequestInformation.STATE_IDLE) { in needNetworkFor() 1159 static final int STATE_IDLE = 100; field in WifiAwareDataPathStateManager.AwareNetworkRequestInformation 1389 nnri.state = AwareNetworkRequestInformation.STATE_IDLE; in processNetworkSpecifier()
|
/frameworks/opt/telephony/proto/src/ |
D | telephony.proto | 2031 STATE_IDLE = 1; enumerator
|