Home
last modified time | relevance | path

Searched refs:ACTIVE (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTest.java70 mImsCallUT.attach(mConnection1, Call.State.ACTIVE); in testAttachDetach()
74 assertEquals(Call.State.ACTIVE, mImsCallUT.getState()); in testAttachDetach()
87 mImsCallUT.attach(mConnection1, Call.State.ACTIVE); in testConnectionDisconnected()
88 mImsCallUT.attach(mConnection2, Call.State.ACTIVE); in testConnectionDisconnected()
91 assertEquals(Call.State.ACTIVE, mImsCallUT.getState()); in testConnectionDisconnected()
95 assertEquals(Call.State.ACTIVE, mImsCallUT.getState()); in testConnectionDisconnected()
122 mImsCallUT.update(null, mImsCall, Call.State.ACTIVE); in testUpdateRingBackTone()
124 assertEquals(Call.State.ACTIVE, mImsCallUT.getState()); in testUpdateRingBackTone()
131 mImsCallUT.attach(mConnection1, Call.State.ACTIVE); in testSwitchWith()
137 assertEquals(Call.State.ACTIVE, mImsCallThat.getState()); in testSwitchWith()
[all …]
DImsPhoneConnectionTest.java123 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testImsUpdateStateForeGround()
127 eq(Call.State.ACTIVE)); in testImsUpdateStateForeGround()
136 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testImsUpdateStateBackGround()
140 eq(Call.State.ACTIVE)); in testImsUpdateStateBackGround()
150 assertFalse(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testImsUpdateStatePendingHold()
152 eq(Call.State.ACTIVE)); in testImsUpdateStatePendingHold()
204 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testPostDialWait()
228 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testPostDialPause()
249 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testSetWifi()
264 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testSetWifi2()
DImsPhoneCallTrackerTest.java255 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAccept()
280 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHangUp()
297 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold()
312 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold()
326 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold()
359 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTActiveMODial()
DImsPhoneTest.java166 doReturn(Call.State.ACTIVE).when(mBackgroundCall).getState(); in testHandleInCallMmiCommandCallDeflection()
174 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallWaiting()
201 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold()
227 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandMultiparty()
240 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallEct()
257 doReturn(Call.State.ACTIVE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallCcbs()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaCallTest.java56 mDriverCall.state = DriverCall.State.ACTIVE; in testAttachDetach()
61 assertEquals(Call.State.ACTIVE, mCallUnderTest.getState()); in testAttachDetach()
81 mDriverCall.state = DriverCall.State.ACTIVE; in testMultiparty()
108 mDriverCall.state = DriverCall.State.ACTIVE; in testConnectionDisconnected()
114 assertEquals(Call.State.ACTIVE, mCallUnderTest.getState()); in testConnectionDisconnected()
119 assertEquals(Call.State.ACTIVE, mCallUnderTest.getState()); in testConnectionDisconnected()
DGsmCdmaConnectionTest.java115 mDC.state = DriverCall.State.ACTIVE; in testConnectionStateUpdate()
117 assertEquals(GsmCdmaCall.State.ACTIVE, connection.getState()); in testConnectionStateUpdate()
135 mDC.state = DriverCall.State.ACTIVE; in testCDMAPostDialPause()
152 mDC.state = DriverCall.State.ACTIVE; in testGSMPostDialPause()
171 mDC.state = DriverCall.State.ACTIVE; in testPostDialWait()
185 mDC.state = DriverCall.State.ACTIVE; in testHangUpConnection()
DGsmCdmaCallTrackerTest.java127 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testMOCallPickUp()
157 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testMOCallDialPickUpHangup()
204 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testMOCallSwitch()
256 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testMTCallAccept()
316 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testMOCallPickUpHangUpResumeBackGround()
329 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testMOCallPickUpHangUpResumeBackGround()
389 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testUpdatePhoneType()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DSimulatedGsmCallState.java32 ACTIVE(0), enumConstant
110 return mState == State.ACTIVE || mState == State.HOLDING; in isActiveOrHeld()
236 call.mState = CallInfo.State.ACTIVE; in progressConnectingCallState()
253 call.mState = CallInfo.State.ACTIVE; in progressConnectingToActive()
301 || call.mState == CallInfo.State.ACTIVE in triggerHangupForeground()
485 if (c != null && c.mState == CallInfo.State.ACTIVE) { in releaseActiveAcceptHeldOrWaiting()
511 c.mState = CallInfo.State.ACTIVE; in releaseActiveAcceptHeldOrWaiting()
524 c.mState = CallInfo.State.ACTIVE; in releaseActiveAcceptHeldOrWaiting()
551 if (c.mState == CallInfo.State.ACTIVE) { in switchActiveAndHeldOrWaiting()
554 c.mState = CallInfo.State.ACTIVE; in switchActiveAndHeldOrWaiting()
[all …]
/frameworks/base/core/java/android/text/method/
DMultiTapKeyListener.java102 int activeStart = content.getSpanStart(TextKeyListener.ACTIVE); in onKeyDown()
103 int activeEnd = content.getSpanEnd(TextKeyListener.ACTIVE); in onKeyDown()
110 int rec = (content.getSpanFlags(TextKeyListener.ACTIVE) in onKeyDown()
205 content.setSpan(TextKeyListener.ACTIVE, in onKeyDown()
237 buf.removeSpan(TextKeyListener.ACTIVE); in onSpanChanged()
273 int start = buf.getSpanStart(TextKeyListener.ACTIVE); in run()
274 int end = buf.getSpanEnd(TextKeyListener.ACTIVE); in run()
DPasswordTransformationMethod.java153 int st = sp.getSpanStart(TextKeyListener.ACTIVE); in charAt()
154 int en = sp.getSpanEnd(TextKeyListener.ACTIVE); in charAt()
198 st = sp.getSpanStart(TextKeyListener.ACTIVE); in getChars()
199 en = sp.getSpanEnd(TextKeyListener.ACTIVE); in getChars()
DTextKeyListener.java45 /* package */ static final Object ACTIVE = new NoCopySpan.Concrete(); field in TextKeyListener
163 e.removeSpan(ACTIVE); in clear()
182 s.removeSpan(ACTIVE); in onSpanChanged()
DQwertyKeyListener.java106 int activeStart = content.getSpanStart(TextKeyListener.ACTIVE); in onKeyDown()
107 int activeEnd = content.getSpanEnd(TextKeyListener.ACTIVE); in onKeyDown()
189 content.removeSpan(TextKeyListener.ACTIVE); in onKeyDown()
235 content.setSpan(TextKeyListener.ACTIVE, oldStart, selEnd, in onKeyDown()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGSMPhoneTest.java.broken224 // One ACTIVE connection
230 } while (mGSMPhone.getForegroundCall().getState() != Call.State.ACTIVE);
240 assertEquals(Call.State.ACTIVE, mGSMPhone.getForegroundCall().getState());
351 assertEquals(Call.State.ACTIVE,
553 assertEquals(Call.State.ACTIVE, mGSMPhone.getForegroundCall().getState());
575 assertEquals(Call.State.ACTIVE, mGSMPhone.getForegroundCall().getState());
628 assertEquals(Call.State.ACTIVE, mGSMPhone.getForegroundCall().getState());
660 // One ACTIVE call
664 } while (mGSMPhone.getForegroundCall().getState() != Call.State.ACTIVE);
668 // One ACTIVE call, one ringing call
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DStatusTracker.cpp88 markComponent(id, ACTIVE, Fence::NO_FENCE); in markComponentActive()
116 if (mStates.valueAt(i) == ACTIVE) { in getDeviceStateLocked()
119 return ACTIVE; in getDeviceStateLocked()
132 return fencesDone ? IDLE : ACTIVE; in getDeviceStateLocked()
DStatusTracker.h79 ACTIVE enumerator
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCall.java35 IDLE, ACTIVE, HOLDING, DIALING, ALERTING, INCOMING, WAITING, DISCONNECTED, DISCONNECTING; enumConstant
53 case ACTIVE: return State.ACTIVE; in stateFromDCState()
DDriverCall.java30 ACTIVE, enumConstant
122 case 0: return State.ACTIVE; in stateFromCLCC()
DGsmCdmaCallTracker.java277 if (mForegroundCall.getState() == GsmCdmaCall.State.ACTIVE) { in dial()
414 if (mForegroundCall.getState() == GsmCdmaCall.State.ACTIVE) { in dial()
593 return mForegroundCall.getState() == GsmCdmaCall.State.ACTIVE in canConference()
612 && mForegroundCall.getState() == GsmCdmaCall.State.ACTIVE)); in canDial()
629 mForegroundCall.getState() == GsmCdmaCall.State.ACTIVE, in canDial()
638 return (mForegroundCall.getState() == GsmCdmaCall.State.ACTIVE in canTransfer()
829 if (hoConnection.mPreHandoverState != GsmCdmaCall.State.ACTIVE && in handlePollCalls()
831 dc.state == DriverCall.State.ACTIVE) { in handlePollCalls()
DGsmCdmaConnection.java186 if (parent.mState == GsmCdmaCall.State.ACTIVE) { in GsmCdmaConnection()
187 parent.attachFake(this, GsmCdmaCall.State.ACTIVE); in GsmCdmaConnection()
799 newParent.attachFake(this, GsmCdmaCall.State.ACTIVE); in updateParent()
893 case ACTIVE: in parentFromDCState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java200 if (mForegroundCall.getState() == SipCall.State.ACTIVE) { in dialInternal()
244 if ((mForegroundCall.getState() != SipCall.State.ACTIVE) in conference()
245 || (mForegroundCall.getState() != SipCall.State.ACTIVE)) { in conference()
418 case SipSession.State.IN_CALL: return Call.State.ACTIVE; in getCallStateFrom()
606 setState(State.ACTIVE); in unhold()
707 if (mState != State.ACTIVE) { in onConnectionStateChanged()
783 if (mState == Call.State.ACTIVE) call.startAudio();
895 setState(Call.State.ACTIVE); in unhold()
DSipConnectionBase.java64 case ACTIVE: in setState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsExternalCall.java63 setState(State.ACTIVE); in setActive()
DImsPhoneCallTracker.java495 if (mForegroundCall.getState() == ImsPhoneCall.State.ACTIVE) { in dial()
519 if (fgState == ImsPhoneCall.State.ACTIVE) { in dial()
802 if (mForegroundCall.getState() == ImsPhoneCall.State.ACTIVE) { in switchWaitingOrHoldingAndActive()
905 return mForegroundCall.getState() == ImsPhoneCall.State.ACTIVE in canConference()
930 return mForegroundCall.getState() == ImsPhoneCall.State.ACTIVE in canTransfer()
1506 processCallStateChange(imsCall, ImsPhoneCall.State.ACTIVE,
1637 if (mForegroundCall.getState() != ImsPhoneCall.State.ACTIVE) {
1702 if (oldState == ImsPhoneCall.State.ACTIVE) {
1747 } else if (bgState == ImsPhoneCall.State.ACTIVE) {
1787 processCallStateChange(imsCall, ImsPhoneCall.State.ACTIVE,
[all …]
DImsExternalCallTracker.java350 Call.State.ACTIVE : Call.State.DISCONNECTED; in updateExistingConnection()
353 if (newState == Call.State.ACTIVE) { in updateExistingConnection()
/frameworks/av/services/audioflinger/
DTracks.cpp513 case ACTIVE: in dump()
680 mState = TrackBase::ACTIVE; in start()
731 if (state == RESUMING || state == ACTIVE || state == PAUSING || state == PAUSED) { in stop()
774 case ACTIVE: in pause()
816 mState = ACTIVE; in flush()
936 if (effect->state() == EffectModule::ACTIVE || in attachAuxEffect()
1105 mState = ACTIVE; in resumeAck()
1599 if (mState == ACTIVE || mState == RESUMING) { in destroy()

12