Home
last modified time | relevance | path

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

12

/packages/services/Telephony/src/com/android/phone/
DCdmaPhoneCallState.java55 IDLE, enumConstant
76 mCurrentCallState = PhoneCallState.IDLE; in CdmaPhoneCallStateInit()
77 mPreviousCallState = PhoneCallState.IDLE; in CdmaPhoneCallStateInit()
106 && (mPreviousCallState == PhoneCallState.IDLE)) { in setCurrentCallState()
150 mCurrentCallState = PhoneCallState.IDLE; in resetCdmaPhoneCallState()
151 mPreviousCallState = PhoneCallState.IDLE; in resetCdmaPhoneCallState()
DNumberVerificationManager.java142 if (phone.getRingingCall().getState() == Call.State.IDLE in checkNumberVerificationFeasibility()
143 && (phone.getForegroundCall().getState() == Call.State.IDLE in checkNumberVerificationFeasibility()
144 || phone.getBackgroundCall().getState() == Call.State.IDLE)) { in checkNumberVerificationFeasibility()
/packages/apps/Camera2/src/com/android/camera/ui/
DModeTransitionView.java54 private static final int IDLE = 0; field in ModeTransitionView
180 } else if (mAnimationType == IDLE || mAnimationType == FADE_OUT) { in onDraw()
278 mAnimationType = IDLE; in startPeepHoleAnimation()
355 mAnimationType = IDLE; in snapShadeTo()
493 mAnimationType = IDLE; in setupModeCover()
511 if (mAnimationType != IDLE) { in hideModeCover()
536 mAnimationType = IDLE; in hideModeCover()
578 mAnimationType = IDLE; in hideImageCover()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DBaseSwipeDetector.java58 private ScrollState mState = ScrollState.IDLE;
63 IDLE, enumConstant
97 return mState == ScrollState.IDLE; in isIdleState()
113 setState(ScrollState.IDLE); in finishedScrolling()
204 if (mState == ScrollState.IDLE) { in setState()
/packages/apps/Camera2/src/com/android/camera/burst/
DBurstFacadeImpl.java47 IDLE, enumConstant
58 new AtomicReference<BurstModuleState>(BurstModuleState.IDLE);
88 mBurstModuleState.set(BurstModuleState.IDLE);
130 mBurstModuleState.compareAndSet(BurstModuleState.IDLE, in startBurst()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DRadioOnStateListenerTest.java111 when(mMockPhone.getState()).thenReturn(PhoneConstants.State.IDLE); in testPhoneChangeState_OkToCallTrue()
134 when(mMockPhone.getState()).thenReturn(PhoneConstants.State.IDLE); in testPhoneChangeState_NoOkToCall_Timeout()
159 when(mMockPhone.getState()).thenReturn(PhoneConstants.State.IDLE); in testTimeout_RetryFailure()
180 when(mMockPhone.getState()).thenReturn(PhoneConstants.State.IDLE); in testTimeout_RetryFailure_ForEmergency()
/packages/services/Telephony/tests/src/com/android/phone/
DNumberVerificationManagerTest.java70 when(mForegroundCall.getState()).thenReturn(Call.State.IDLE); in setUp()
71 when(mRingingCall.getState()).thenReturn(Call.State.IDLE); in setUp()
72 when(mBackgroundCall.getState()).thenReturn(Call.State.IDLE); in setUp()
/packages/apps/Dialer/java/com/android/incallui/call/state/
DDialerCallState.java24 public static final int IDLE = 2; /* The call is idle. Nothing active */ field in DialerCallState
67 case IDLE: in toString()
/packages/apps/LegacyCamera/src/com/android/camera/
DCamera.java218 private static final int IDLE = 1; // preview is active field in Camera
525 if (mFaceDetectionStarted || mCameraState != IDLE) return; in startFaceDetection()
814 setCameraState(IDLE); in onAutoFocus()
1032 case IDLE: in setCameraState()
1580 if (mCameraState == IDLE) { in doOnResume()
1679 setCameraState(IDLE); in cancelAutoFocus()
1889 setCameraState(IDLE); in startPreview()
2115 return (mCameraState == IDLE) || (mFocusManager.isFocusCompleted()); in isCameraIdle()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipConnection.java56 private Call.State mOriginalConnectionState = Call.State.IDLE;
249 case IDLE: in updateState()
/packages/apps/Dialer/java/com/android/incallui/call/
DCallList.java563 if (state != DialerCallState.IDLE in clearOnDisconnect()
700 return DialerCallState.IDLE == state || DialerCallState.INVALID == state; in isCallDead()
708 call.setState(DialerCallState.IDLE); in finishDisconnectedCall()
/packages/apps/Contacts/src/com/android/contacts/
DContactPresenceIconUtil.java36 case StatusUpdates.IDLE: in getPresenceIcon()
DContactStatusUtil.java35 case StatusUpdates.IDLE: in getStatusString()
/packages/apps/Camera2/src/com/android/camera/
DPhotoController.java28 public static final int IDLE = 1; // preview is active field
DPhotoModule.java451 setCameraState(IDLE); in onPreviewStarted()
1042 setCameraState(IDLE); in onAutoFocus()
1097 case PhotoController.IDLE: in setCameraState()
1628 setCameraState(IDLE); in cancelAutoFocus()
2171 return (mCameraState == IDLE) || in isCameraIdle()
DCaptureModule.java269 mState = ModuleState.IDLE;
292 IDLE, enumConstant
298 private ModuleState mState = ModuleState.IDLE;
/packages/apps/Dialer/java/com/android/contacts/common/
DContactPresenceIconUtil.java36 case StatusUpdates.IDLE: in getPresenceIcon()
DContactStatusUtil.java31 case StatusUpdates.IDLE: in getStatusString()
/packages/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java488 private final static int IDLE = 0; field in CameraAppUI
536 private int mSwipeState = IDLE;
740 || mSwipeState != IDLE in onScroll()
772 mSwipeState = IDLE; in onDown()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DBatteryUtils.java188 && sipper.drainType != BatterySipper.DrainType.IDLE) { in removeHiddenBatterySippers()
243 return drainType == BatterySipper.DrainType.IDLE in shouldHideSipper()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryUtils.java193 && sipper.drainType != BatterySipper.DrainType.IDLE in removeHiddenBatterySippers()
250 return drainType == BatterySipper.DrainType.IDLE in shouldHideSipper()
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/
DPrimaryCallState.java116 .setState(DialerCallState.IDLE) in builder()
/packages/services/Telephony/src/com/android/phone/otasp/
DOtaspActivationService.java184 if (mPhone.getState().equals(PhoneConstants.State.IDLE)) { in onOtaspCallStateChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppBatteryPreferenceControllerTest.java99 mBatterySipper.drainType = BatterySipper.DrainType.IDLE; in setUp()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java705 private Call.State mConnectionState = Call.State.IDLE;
708 private Call.State mOriginalConnectionState = Call.State.IDLE;
709 private Call.State mConnectionOverriddenState = Call.State.IDLE;
2121 case IDLE: in updateStateInternal()

12