Home
last modified time | relevance | path

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

1234

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaCallTrackerTest.java88 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testMOCallDial()
89 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallDial()
90 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallDial()
119 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mBackgroundCall.getState()); in testMOCallPickUp()
141 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallHangup()
143 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testMOCallHangup()
166 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallDialPickUpHangup()
168 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testMOCallDialPickUpHangup()
189 assertEquals(GsmCdmaCall.State.IDLE, mCTUT.mForegroundCall.getState()); in testMOCallPendingHangUp()
191 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testMOCallPendingHangUp()
[all …]
DGsmCdmaCallTest.java53 assertEquals(Call.State.IDLE, mCallUnderTest.getState()); in testAttachDetach()
68 assertEquals(Call.State.IDLE, mCallUnderTest.getState()); in testAttachDetach()
75 assertEquals(Call.State.IDLE, mCallUnderTest.getState()); in testMultiparty()
DDefaultPhoneNotifierTest.java190 doReturn(Call.State.IDLE).when(mForeGroundCall).getState(); in testNotifyPreciseCallState()
191 doReturn(Call.State.IDLE).when(mBackGroundCall).getState(); in testNotifyPreciseCallState()
192 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in testNotifyPreciseCallState()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGSMPhoneTest.java.broken142 // IDLE state
144 assertEquals(PhoneConstants.State.IDLE, mGSMPhone.getState());
149 assertEquals(Call.State.IDLE, mGSMPhone.getRingingCall().getState());
150 assertEquals(Call.State.IDLE, mGSMPhone.getForegroundCall().getState());
151 assertEquals(Call.State.IDLE, mGSMPhone.getBackgroundCall().getState());
180 assertEquals(Call.State.IDLE, mGSMPhone.getRingingCall().getState());
183 assertEquals(Call.State.IDLE, mGSMPhone.getBackgroundCall().getState());
212 assertEquals(Call.State.IDLE, mGSMPhone.getRingingCall().getState());
214 assertEquals(Call.State.IDLE, mGSMPhone.getBackgroundCall().getState());
239 assertEquals(Call.State.IDLE, mGSMPhone.getRingingCall().getState());
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DStatusTracker.cpp37 mDeviceState(IDLE) { in StatusTracker()
51 err = mStates.add(id, IDLE); in addComponent()
84 markComponent(id, IDLE, componentFence); in markComponentIdle()
94 state == IDLE ? "idle" : "active"); in markComponent()
132 return fencesDone ? IDLE : ACTIVE; in getDeviceStateLocked()
204 bool idle = (mStateTransitions[i] == IDLE); in threadLoop()
DStatusTracker.h78 IDLE, enumerator
/frameworks/base/services/backup/java/com/android/server/backup/transport/
DTransportClient.java104 private int mState = State.IDLE;
215 case State.IDLE: in connectAsync()
264 case State.IDLE: in unbind()
267 setStateLocked(State.IDLE, null); in unbind()
273 setStateLocked(State.IDLE, null); in unbind()
474 case State.IDLE: in onBindingDied()
559 case State.IDLE: in checkStateIntegrityLocked()
589 case State.IDLE: in stateToString()
635 @IntDef({State.UNUSABLE, State.IDLE, State.BOUND_AND_CONNECTING, State.CONNECTED})
640 int IDLE = 1; field
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCall.java41 IDLE, enumConstant
60 return !(this == IDLE || this == DISCONNECTED || this == DISCONNECTING); in isAlive()
93 public State mState = State.IDLE;
363 setState(State.IDLE);
DCallManager.java232 PhoneConstants.State s = PhoneConstants.State.IDLE; in getState()
238 if (s == PhoneConstants.State.IDLE) s = PhoneConstants.State.OFFHOOK; in getState()
252 PhoneConstants.State s = PhoneConstants.State.IDLE; in getState()
259 if (s == PhoneConstants.State.IDLE) s = PhoneConstants.State.OFFHOOK; in getState()
888 || (fgCallState == Call.State.IDLE) in canDial()
1761 } else if (call.getState() != Call.State.IDLE) { in getFirstNonIdleCall()
1777 } else if (call.getState() != Call.State.IDLE) { in getFirstNonIdleCall()
1886 return Call.State.IDLE; in getActiveFgCallState()
1897 return Call.State.IDLE; in getActiveFgCallState()
/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/av/services/audioflinger/
DAutoPark.h30 if (!(state->mCommand & FastThreadState::IDLE)) { in AutoPark()
44 if (!(mPreviousCommand & FastThreadState::IDLE)) { in ~AutoPark()
DFastThreadState.h38 IDLE = 3, // either HOT_IDLE or COLD_IDLE member
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTest.java75 assertEquals(Call.State.IDLE, mImsCallUT.getState()); in testAttachDetach()
89 assertEquals(Call.State.IDLE, mImsCallUT.getState()); in testAttachDetach()
163 mImsCallThat.attach(mConnection2, Call.State.IDLE); in testSwitchWith()
167 assertEquals(Call.State.IDLE, mImsCallUT.getState()); in testSwitchWith()
DImsPhoneTest.java136 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in setUp()
137 doReturn(Call.State.IDLE).when(mBackgroundCall).getState(); in setUp()
138 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in setUp()
189 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in testHandleInCallMmiCommandCallDeflection()
216 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallWaiting()
245 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
255 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
256 doReturn(Call.State.IDLE).when(mBackgroundCall).getState(); in testHandleInCallMmiCommandCallHold()
382 doReturn(PhoneConstants.State.IDLE).when(mImsCT).getState(); in testGettersAndPassThroughs()
383 assertEquals(PhoneConstants.State.IDLE, mImsPhoneUT.getState()); in testGettersAndPassThroughs()
[all …]
DImsPhoneCallTrackerTest.java338 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testImsMTCall()
454 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testImsMTCallReject()
469 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testImsMTCallAcceptHangUp()
470 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHangUp()
587 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in startOutgoingCall()
588 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in startOutgoingCall()
607 assertEquals(Call.State.IDLE, mCTUT.mForegroundCall.getState()); in testImsMTActiveMODial()
608 assertEquals(Call.State.IDLE, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial()
613 assertEquals(Call.State.IDLE, mCTUT.mBackgroundCall.getState()); in testImsMTActiveMODial()
638 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testImsMOCallHangup()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DNat464Xlat.java78 IDLE, // start() not called. Base iface and stacked iface names are null. enumConstant
97 private State mState = State.IDLE;
238 mState = State.IDLE; in leaveStartedState()
347 case IDLE: in update()
365 mState = State.IDLE; in update()
/frameworks/native/services/surfaceflinger/Scheduler/
DIdleTimer.cpp62 if (mState == TimerState::IDLE) { in loop()
93 mState = TimerState::IDLE; in loop()
DIdleTimer.h65 IDLE = 3 enumerator
/frameworks/av/services/camera/libcameraservice/api1/client2/
DCaptureSequencer.cpp49 mCaptureState(IDLE), in CaptureSequencer()
86 while (mCaptureState != IDLE) { in waitUntilIdle()
240 if (mCaptureState != IDLE) { in threadLoop()
245 if (mCaptureState != IDLE) { in threadLoop()
276 return IDLE; in manageIdle()
346 return IDLE; in manageDone()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerStateErrors.java22 IDLE, enumConstant
DMediaPlayerStateUnitTestTemplate.java337 case IDLE: in setMediaPlayerToState()
381 case IDLE: in setStateError()
422 callMediaPlayerMethodUnderTestInState(MediaPlayerStateErrors.MediaPlayerState.IDLE); in checkIdleState()
/frameworks/base/core/java/android/net/
DNetworkInfo.java90 IDLE, enumConstant
126 stateMap.put(DetailedState.IDLE, State.DISCONNECTED); in stateMap.put() argument
177 setDetailedState(DetailedState.IDLE, null, null); in NetworkInfo()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnContext.java119 mState = DctConstants.State.IDLE; in ApnContext()
197 setState(DctConstants.State.IDLE); in releaseDataConnection()
320 return ((currentState == DctConstants.State.IDLE) || in isDisconnected()
354 return isReady() && ((mState == DctConstants.State.IDLE) in isConnectable()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java341 mMetrics.writePhoneState(mPhone.getPhoneId(), PhoneConstants.State.IDLE); in testWriteOnImsCallStart()
364 mMetrics.writePhoneState(mPhone.getPhoneId(), PhoneConstants.State.IDLE); in testWriteOnImsCallReceive()
385 mMetrics.writePhoneState(mPhone.getPhoneId(), PhoneConstants.State.IDLE); in testWriteImsCallState()
410 mMetrics.writePhoneState(mPhone.getPhoneId(), PhoneConstants.State.IDLE); in testWriteImsSetFeatureValue()
429 mMetrics.writePhoneState(mPhone.getPhoneId(), PhoneConstants.State.IDLE); in testWriteOnImsCallHandoverEvent()
454 mMetrics.writePhoneState(mPhone.getPhoneId(), PhoneConstants.State.IDLE); in testWriteOnImsCommand()
481 mMetrics.writePhoneState(mPhone.getPhoneId(), PhoneConstants.State.IDLE); in testWriteOnImsConnectionState()
608 mMetrics.writePhoneState(mPhone.getPhoneId(), PhoneConstants.State.IDLE); in testWritePhoneState()
632 mMetrics.writePhoneState(mPhone.getPhoneId(), PhoneConstants.State.IDLE); in testWriteRilDialHangup()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataEnabledOverrideTest.java71 doReturn(PhoneConstants.State.IDLE).when(mPhone).getState(); in testOverrideEnabled()
101 doReturn(PhoneConstants.State.IDLE).when(mPhone).getState(); in testUpdateRules()

1234