Home
last modified time | relevance | path

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

1234567

/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
H A DImsPhoneCallTest.java81 mImsCallUT.attach(mConnection1, Call.State.ACTIVE); in testAttachDetach()
85 assertEquals(Call.State.ACTIVE, mImsCallUT.getState()); in testAttachDetach()
99 mImsCallUT.attach(mConnection1, Call.State.ACTIVE); in testConnectionDisconnected()
100 mImsCallUT.attach(mConnection2, Call.State.ACTIVE); in testConnectionDisconnected()
138 mImsCallUT.update(null, mImsCall, Call.State.ACTIVE); in testUpdateRingBackTone()
163 mImsCallUT.update(null, mImsCall, Call.State.ACTIVE); in testUpdateRingBackToneBetweenStateChange()
193 mImsCallUT.update(null, mImsCall, Call.State.ACTIVE); in testUpdateRingBackToneBetweenStateChangeTwo()
220 mImsCallUT.attach(mConnection1, Call.State.ACTIVE); in testSwitchWith()
242 mImsCallUT.attach(mConnection1, Call.State.ACTIVE); in testMultiParty()
251 mImsCallUT.attach(mConnection1, Call.State.ACTIVE); in testGetImsCall()
[all …]
H A DImsPhoneConnectionTest.java160 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testImsUpdateStateForeGround()
164 eq(Call.State.ACTIVE)); in testImsUpdateStateForeGround()
173 doReturn(Call.State.ACTIVE).when(mForeGroundCall).getState(); in testUpdateCodec()
183 assertFalse(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testImsUpdateStateBackGround()
187 eq(Call.State.ACTIVE)); in testImsUpdateStateBackGround()
197 assertFalse(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testImsUpdateStatePendingHold()
199 eq(Call.State.ACTIVE)); in testImsUpdateStatePendingHold()
252 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testPostDialWait()
276 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testPostDialPause()
298 assertTrue(mConnectionUT.update(mImsCall, Call.State.ACTIVE)); in testSetWifiDeprecated()
[all …]
H A DImsPhoneCallTrackerTest.java391 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAccept()
483 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHangUp()
500 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold()
514 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold()
528 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTCallAcceptHold()
538 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTActiveHoldServiceDisconnect()
552 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTActiveHoldServiceDisconnect()
566 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTActiveHoldServiceDisconnect()
698 assertEquals(Call.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testImsMTActiveMODial()
919 Call.State.ACTIVE)); in testImsAlternateEmergencyDisconnect()
[all …]
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSimulatedGsmCallState.java34 ACTIVE(0), enumConstant
238 call.mState = CallInfo.State.ACTIVE; in progressConnectingCallState()
255 call.mState = CallInfo.State.ACTIVE; in progressConnectingToActive()
516 c.mState = CallInfo.State.ACTIVE; in releaseActiveAcceptHeldOrWaiting()
529 c.mState = CallInfo.State.ACTIVE; in releaseActiveAcceptHeldOrWaiting()
557 if (c.mState == CallInfo.State.ACTIVE) { in switchActiveAndHeldOrWaiting()
560 c.mState = CallInfo.State.ACTIVE; in switchActiveAndHeldOrWaiting()
562 c.mState = CallInfo.State.ACTIVE; in switchActiveAndHeldOrWaiting()
583 c.mState = CallInfo.State.ACTIVE; in separateCall()
634 c.mState = CallInfo.State.ACTIVE; in conference()
[all …]
H A 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()
H A DGsmCdmaConnectionTest.java142 mDC.state = DriverCall.State.ACTIVE; in testConnectionStateUpdate()
144 assertEquals(GsmCdmaCall.State.ACTIVE, connection.getState()); in testConnectionStateUpdate()
164 mDC.state = DriverCall.State.ACTIVE; in testCDMAPostDialPause()
182 mDC.state = DriverCall.State.ACTIVE; in testGSMPostDialPause()
202 mDC.state = DriverCall.State.ACTIVE; in testPostDialWait()
216 mDC.state = DriverCall.State.ACTIVE; in testHangUpConnection()
H A DGsmCdmaCallTrackerTest.java132 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testMOCallPickUp()
166 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testMOCallDialPickUpHangup()
213 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testMOCallSwitch()
278 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testMTCallAccept()
347 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testMOCallPickUpHangUpResumeBackGround()
359 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testMOCallPickUpHangUpResumeBackGround()
417 assertEquals(GsmCdmaCall.State.ACTIVE, mCTUT.mForegroundCall.getState()); in testUpdatePhoneType()
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/privacy/
H A DMicPrivacyChip.java124 case ACTIVE: in setMicrophoneEnabled()
162 case ACTIVE: in setMicrophoneEnabled()
185 case ACTIVE: in setMicrophoneEnabled()
331 mCurrentTransitionState = AnimationStates.ACTIVE; in animateToOrangeCircle()
353 case ACTIVE: in animateOut()
372 case ACTIVE: in animateOut()
441 case ACTIVE: in setIconHighlighted()
451 mCurrentTransitionState = AnimationStates.ACTIVE; in setIconHighlighted()
508 ACTIVE, enumConstant
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DCallsManagerTest.java320 ongoingCall.setState(CallState.ACTIVE, "just cuz"); in testConstructPossiblePhoneAccountsMultiSimActive()
755 doReturn(CallState.ACTIVE).when(ongoingCall).getState(); in testAnswerCallWhenMultipleHeldCallsExisted()
842 assertEquals(CallState.ACTIVE, newCall.getState()); in testSetActiveCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()
866 assertEquals(CallState.ACTIVE, newCall.getState()); in testSetActiveCallWhenOngoingCallCanNotBeHeldAndHasSameConnectionService()
890 assertEquals(CallState.ACTIVE, newCall.getState()); in testSetActiveCallWhenOngoingCallCanBeHeld()
1435 CallState.ACTIVE); in testAreFromSameSource()
1437 CallState.ACTIVE); in testAreFromSameSource()
1446 CallState.ACTIVE); in testAreFromSameSource()
1565 Call ongoingCall = addSpyCall(CallState.ACTIVE); in testRequestDisconnect()
1572 eq(CallState.ACTIVE)); in testRequestDisconnect()
[all …]
H A DCallLogManagerTest.java335 mCallLogManager.onCallStateChanged(fakeOutgoingCall, CallState.ACTIVE, in testLogCallDirectionOutgoing()
360 mCallLogManager.onCallStateChanged(fakeIncomingCall, CallState.ACTIVE, in testLogCallDirectionIncoming()
386 mCallLogManager.onCallStateChanged(fakeMissedCall, CallState.ACTIVE, in testLogCallDirectionMissed()
415 mCallLogManager.onCallStateChanged(fakeMissedCall, CallState.ACTIVE, in testLogCallDirectionRejected()
545 mCallLogManager.onCallStateChanged(fakeOutgoingCall, CallState.ACTIVE, in testLogCallDirectionOutgoingWithMultiUserCapability()
590 mCallLogManager.onCallStateChanged(fakeIncomingCall, CallState.ACTIVE, in testLogCallDirectionIncomingWithMultiUserCapability()
634 mCallLogManager.onCallStateChanged(fakeOutgoingCall, CallState.ACTIVE, in testLogCallDirectionOutgoingWithMultiUserCapabilityFromManagedProfile()
664 mCallLogManager.onCallStateChanged(fakeOutgoingCall, CallState.ACTIVE, in testLogCallDirectionOutgoingFromManagedProfile()
694 mCallLogManager.onCallStateChanged(fakeOutgoingCall, CallState.ACTIVE, in testLogCallDirectionIngoingFromManagedProfile()
785 mCallLogManager.onCallStateChanged(fakeMissedCall, CallState.ACTIVE, in testLogMissedSelfManaged()
[all …]
H A DCallAudioManagerTest.java123 when(call.getState()).thenReturn(CallState.ACTIVE); in testUnmuteOfSecondIncomingCall()
124 mCallAudioManager.onCallStateChanged(call, CallState.RINGING, CallState.ACTIVE); in testUnmuteOfSecondIncomingCall()
185 when(call.getState()).thenReturn(CallState.ACTIVE);
186 mCallAudioManager.onCallStateChanged(call, CallState.RINGING, CallState.ACTIVE);
238 when(call.getState()).thenReturn(CallState.ACTIVE);
282 when(call.getState()).thenReturn(CallState.ACTIVE);
385 when(call.getState()).thenReturn(CallState.ACTIVE);
498 when(call.getState()).thenReturn(CallState.ACTIVE);
501 CallState.ACTIVE);
527 when(call.getState()).thenReturn(CallState.ACTIVE);
[all …]
H A DConnectionServiceFocusManagerTest.java68 mActiveCall = createFakeCall(mActiveConnectionService, CallState.ACTIVE); in setUp()
207 CallFocus activeCall = createFakeCall(mActiveConnectionService, CallState.ACTIVE); in testCallStateChangedAffectCallFocus()
208 CallFocus newActivateCall = createFakeCall(mActiveConnectionService, CallState.ACTIVE); in testCallStateChangedAffectCallFocus()
224 when(newActivateCall.getState()).thenReturn(CallState.ACTIVE); in testCallStateChangedAffectCallFocus()
239 when(mNewCall.getState()).thenReturn(CallState.ACTIVE); in testCallStateChangedDoesNotAffectCallFocusIfConnectionServiceIsDifferent()
248 (Call) mActiveCall, CallState.ACTIVE, CallState.ON_HOLD); in testCallStateChangedDoesNotAffectCallFocusIfConnectionServiceIsDifferent()
H A DCallTest.java131 call.setState(CallState.ACTIVE, ""); in testSetHasGoneActive()
182 call.setState(CallState.ACTIVE, ""); in testDisconnectCauseWhenAudioProcessingAfterActive()
268 call.setState(CallState.ACTIVE, ""); in testCanPullCallRemovedDuringEmergencyCall()
309 call.setState(CallState.ACTIVE, ""); in testCanNotPullCallDuringEmergencyCall()
/aosp12/packages/apps/Dialer/java/com/android/incallui/call/state/
H A DDialerCallState.java25 public static final int ACTIVE = 3; /* There is an active call */ field in DialerCallState
42 case ACTIVE: in isConnectingOrConnected()
69 case ACTIVE: in toString()
/aosp12/frameworks/base/core/java/android/text/method/
H A DMultiTapKeyListener.java105 int activeStart = content.getSpanStart(TextKeyListener.ACTIVE); in onKeyDown()
106 int activeEnd = content.getSpanEnd(TextKeyListener.ACTIVE); in onKeyDown()
113 int rec = (content.getSpanFlags(TextKeyListener.ACTIVE) in onKeyDown()
208 content.setSpan(TextKeyListener.ACTIVE, in onKeyDown()
240 buf.removeSpan(TextKeyListener.ACTIVE); in onSpanChanged()
276 int start = buf.getSpanStart(TextKeyListener.ACTIVE); in run()
277 int end = buf.getSpanEnd(TextKeyListener.ACTIVE); in run()
H A DPasswordTransformationMethod.java155 int st = sp.getSpanStart(TextKeyListener.ACTIVE); in charAt()
156 int en = sp.getSpanEnd(TextKeyListener.ACTIVE); in charAt()
200 st = sp.getSpanStart(TextKeyListener.ACTIVE); in getChars()
201 en = sp.getSpanEnd(TextKeyListener.ACTIVE); in getChars()
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/
H A DCallState.java73 public static final int ACTIVE = TelecomProtoEnums.ACTIVE; // = 5 field in CallState
147 case ACTIVE: in toString()
/aosp12/frameworks/av/services/camera/libcameraservice/device3/
H A DStatusTracker.cpp95 if (mStates.valueAt(i) == ACTIVE) { in dumpActiveComponents()
107 markComponent(id, ACTIVE, Fence::NO_FENCE); in markComponentActive()
135 if (mStates.valueAt(i) == ACTIVE) { in getDeviceStateLocked()
138 return ACTIVE; in getDeviceStateLocked()
151 return fencesDone ? IDLE : ACTIVE; in getDeviceStateLocked()
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A 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,
660 // One ACTIVE call
664 } while (mGSMPhone.getForegroundCall().getState() != Call.State.ACTIVE);
668 // One ACTIVE call, one ringing call
679 // One HOLDING call, one ACTIVE call
887 } while (mGSMPhone.getForegroundCall().getState() != Call.State.ACTIVE);
952 } while (mGSMPhone.getForegroundCall().getState() != Call.State.ACTIVE);
[all …]
/aosp12/frameworks/base/core/java/android/uwb/
H A DRangingSession.java71 ACTIVE, enumConstant
241 return mState == State.IDLE || mState == State.ACTIVE; in isOpen()
282 if (mState != State.ACTIVE && mState != State.IDLE) { in reconfigure()
314 if (mState != State.ACTIVE) { in stop()
395 mState = State.ACTIVE; in onRangingStarted()
/aosp12/frameworks/base/apex/jobscheduler/framework/java/com/android/server/deviceidle/
H A DIDeviceIdleConstraint.java42 ACTIVE,
48 int ACTIVE = 0; field
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
H A DVoiceCallSessionStatsTest.java319 doReturn(Call.State.ACTIVE).when(mImsCall0).getState(); in singleImsCall_moAccepted()
419 doReturn(Call.State.ACTIVE).when(mImsCall0).getState(); in singleImsCall_mtAccepted()
682 doReturn(Call.State.ACTIVE).when(mImsCall0).getState(); in singleImsCall_codecSwitch()
745 doReturn(Call.State.ACTIVE).when(mImsCall0).getState(); in singleImsCall_ratSwitch()
845 doReturn(Call.State.ACTIVE).when(mImsCall0).getState(); in singleImsCall_rttStartedMidCall()
940 doReturn(Call.State.ACTIVE).when(mImsCall0).getState(); in concurrentImsCalls_firstCallHangupFirst()
954 doReturn(Call.State.ACTIVE).when(mImsCall1).getState(); in concurrentImsCalls_firstCallHangupFirst()
1068 doReturn(Call.State.ACTIVE).when(mImsCall0).getState(); in concurrentImsCalls_firstCallHangupLast()
1082 doReturn(Call.State.ACTIVE).when(mImsCall1).getState(); in concurrentImsCalls_firstCallHangupLast()
1397 doReturn(Call.State.ACTIVE).when(mCsCall0).getState(); in singleCsCall_moAccepted()
[all …]
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCall.java42 ACTIVE, enumConstant
69 case ACTIVE: return State.ACTIVE; in stateFromDCState()
H A DDriverCall.java34 ACTIVE, enumConstant
166 case 0: return State.ACTIVE; in stateFromCLCC()
/aosp12/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
H A DSoundTriggerMiddlewareValidation.java298 ACTIVE, enumConstant
516 modelState.setActivityState(ModelState.Activity.ACTIVE); in startRecognition()
546 if (modelState.getActivityState() == ModelState.Activity.ACTIVE) { in stopRecognition()
569 modelState.setActivityState(ModelState.Activity.ACTIVE); in restartIfIntercepted()
597 if (modelState.getActivityState() == ModelState.Activity.ACTIVE) { in forceRecognitionEvent()
864 == ModelState.Activity.ACTIVE) { in binderDied()

1234567