Home
last modified time | relevance | path

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

12

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallLogManagerTest.java213 mCallLogManager.onCallStateChanged(fakeCall, CallState.ACTIVE, CallState.DISCONNECTED); in testDontLogCallsFromEmergencyAccount()
234 mCallLogManager.onCallStateChanged(fakeOutgoingCall, CallState.ACTIVE, in testLogCallDirectionOutgoing()
258 mCallLogManager.onCallStateChanged(fakeIncomingCall, CallState.ACTIVE, in testLogCallDirectionIncoming()
283 mCallLogManager.onCallStateChanged(fakeMissedCall, CallState.ACTIVE, in testLogCallDirectionMissed()
310 mCallLogManager.onCallStateChanged(fakeCall, CallState.ACTIVE, CallState.DISCONNECTED); in testCreationTimeAndAge()
335 mCallLogManager.onCallStateChanged(fakeCall, CallState.ACTIVE, CallState.DISCONNECTED); in testLogPhoneAccountId()
358 mCallLogManager.onCallStateChanged(fakeCall, CallState.ACTIVE, CallState.DISCONNECTED); in testLogCorrectPhoneNumber()
384 mCallLogManager.onCallStateChanged(fakeVideoCall, CallState.ACTIVE, CallState.DISCONNECTED); in testLogCallVideoFeatures()
408 mCallLogManager.onCallStateChanged(fakeOutgoingCall, CallState.ACTIVE, in testLogCallDirectionOutgoingWithMultiUserCapability()
440 mCallLogManager.onCallStateChanged(fakeIncomingCall, CallState.ACTIVE, in testLogCallDirectionIncomingWithMultiUserCapability()
[all …]
DCallAudioManagerTest.java91 when(call.getState()).thenReturn(CallState.ACTIVE); in testSingleIncomingCallFlowWithoutMTSpeedUp()
92 mCallAudioManager.onCallStateChanged(call, CallState.RINGING, CallState.ACTIVE); in testSingleIncomingCallFlowWithoutMTSpeedUp()
139 when(call.getState()).thenReturn(CallState.ACTIVE); in testSingleIncomingCallFlowWithMTSpeedUp()
140 mCallAudioManager.onCallStateChanged(call, CallState.RINGING, CallState.ACTIVE); in testSingleIncomingCallFlowWithMTSpeedUp()
182 when(call.getState()).thenReturn(CallState.ACTIVE); in testSingleOutgoingCall()
183 mCallAudioManager.onCallStateChanged(call, CallState.DIALING, CallState.ACTIVE); in testSingleOutgoingCall()
230 mCallAudioManager.onCallStateChanged(call, CallState.ACTIVE, CallState.DISCONNECTED); in disconnectCall()
DBluetoothPhoneServiceTest.java240 when(activeCall.getState()).thenReturn(CallState.ACTIVE); in testListCurrentCallsOneCall()
267 when(confCall1.getState()).thenReturn(CallState.ACTIVE); in testConferenceInProgressCDMA()
268 when(confCall2.getState()).thenReturn(CallState.ACTIVE); in testConferenceInProgressCDMA()
314 when(foregroundCall.getState()).thenReturn(CallState.ACTIVE); in testListCurrentCallsCdmaHold()
315 when(heldCall.getState()).thenReturn(CallState.ACTIVE); in testListCurrentCallsCdmaHold()
355 when(confCall1.getState()).thenReturn(CallState.ACTIVE); in testListCurrentCallsCdmaConference()
356 when(confCall2.getState()).thenReturn(CallState.ACTIVE); in testListCurrentCallsCdmaConference()
459 when(ringingCall.getState()).thenReturn(CallState.ACTIVE); in testCallClccCache()
532 when(parentCall.getState()).thenReturn(CallState.ACTIVE); in testListCurrentCallsImsConference()
760 CallState.ACTIVE, CallState.ON_HOLD); in testOnCallStateChangedConnectingCall()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DCallState.java71 public static final int ACTIVE = 5; field in CallState
118 case ACTIVE: in toString()
DCallAudioManager.java73 put(CallState.ACTIVE, mActiveDialingOrConnectingCalls); in CallAudioManager()
463 case CallState.ACTIVE: in onCallLeavingState()
481 case CallState.ACTIVE: in onCallEnteringState()
DCall.java415 mState = isConference ? CallState.ACTIVE : CallState.NEW; in Call()
616 if (mState == CallState.ACTIVE || mState == CallState.ON_HOLD) { in setState()
649 case CallState.ACTIVE: in setState()
1326 if (mState == CallState.ACTIVE) { in hold()
1359 return mState == CallState.ACTIVE; in isActive()
1969 return CallState.ACTIVE; in getStateFromConnectionState()
DPhoneStateBroadcaster.java86 } else if (mCallsManager.getFirstCallWithState(CallState.DIALING, CallState.ACTIVE, in updateStates()
DCallsManager.java126 CallState.ACTIVE};
1337 setCallState(call, CallState.ACTIVE, "active set explicitly"); in markCallAsActive()
1408 return getFirstCallWithState(CallState.ACTIVE, CallState.ON_HOLD) != null; in hasActiveOrHoldingCall()
1429 CallState.RINGING, CallState.DIALING, CallState.ACTIVE, CallState.ON_HOLD); in onMediaButton()
1482 return getFirstCallWithState(CallState.ACTIVE); in getActiveCall()
DBluetoothPhoneServiceImpl.java326 if (oldState == CallState.ACTIVE && newState == CallState.ON_HOLD) {
806 case CallState.ACTIVE: in convertCallState()
DParcelableCallUtils.java151 case CallState.ACTIVE: in getParcelableState()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DVideoUtils.java57 return VideoUtils.isVideoCall(call) && call.getState() == Call.State.ACTIVE; in isActiveVideoCall()
79 return isVideoCall(call) && call.getState() == Call.State.ACTIVE; in canVideoPause()
DCall.java57 public static final int ACTIVE = 3; /* There is an active call */ field in Call.State
73 case ACTIVE: in isConnectingOrConnected()
99 case ACTIVE: in toString()
595 return Call.State.ACTIVE; in translateState()
DCallList.java298 return getFirstCallWithState(Call.State.ACTIVE); in getActiveCall()
302 return getCallWithState(Call.State.ACTIVE, 1); in getSecondActiveCall()
347 result = getFirstCallWithState(Call.State.ACTIVE); in getFirstCall()
DCallCardFragment.java749 if (state == Call.State.ACTIVE || state == Call.State.CONFERENCED) { in setCallState()
765 if (state == Call.State.ACTIVE || state == Call.State.CONFERENCED) { in setCallState()
781 if (state == Call.State.ACTIVE || state == Call.State.CONFERENCED in setCallState()
801 || (state == Call.State.ACTIVE && sessionModificationState in setCallState()
1033 case Call.State.ACTIVE: in getCallStateLabelFromState()
DVideoCallPresenter.java733 showVideoUi(VideoProfile.STATE_AUDIO_ONLY, Call.State.ACTIVE); in exitVideoMode()
787 boolean isCallActive = callState == Call.State.ACTIVE; in showIncomingVideo()
1080 call != null && (call.getState() != Call.State.ACTIVE || in maybeAutoEnterFullscreen()
DVideoPauseController.java347 return isVideoCall(callContext) && callContext.getState() == Call.State.ACTIVE; in canVideoPause()
DStatusBarNotifier.java351 if (state == Call.State.ACTIVE || in createIncomingCallNotification()
372 if (state == Call.State.ACTIVE) { in setNotificationWhen()
DCallCardPresenter.java478 && callState == Call.State.ACTIVE; in maybeShowProgressSpinner()
1043 return mPrimary != null && mPrimary.getState() == Call.State.ACTIVE; in isPrimaryCallActive()
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/ringtone/
DDialerRingtoneManagerTest.java94 assertFalse(mRingtoneManagerEnabled.shouldPlayRingtone(State.ACTIVE, RINGTONE_URI)); in testShouldPlayRingtone_N_NotIncoming()
138 assertFalse(mRingtoneManagerEnabled.shouldPlayCallWaitingTone(State.ACTIVE)); in testShouldPlayCallWaitingTone_N_NotCallWaiting()
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/
DInCallPresenterTest.java99 mCallList.setHasCall(Call.State.ACTIVE, true); in testOnCallListChange_handlesCallWaitingWhenScreenOffShouldRestartActivity()
124 mCallList.setHasCall(Call.State.ACTIVE, true); in testOnCallListChange_pendingOutgoingToInCallTransitionShowsUiForErrorDialog()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipConnection.java144 mOriginalConnection.getState() == Call.State.ACTIVE) { in onHold()
238 case ACTIVE: in updateState()
/packages/services/Telephony/src/com/android/phone/
DPhoneUtils.java410 if (call.getState() == Call.State.ACTIVE && cm.hasActiveBgCall()) { in hangup()
695 if (fgCall.getState() == Call.State.ACTIVE) { in sendEmptyFlash()
1932 final boolean okToHold = (fgCallState == Call.State.ACTIVE) && !hasHoldingCall; in okToHoldCall()
1987 && (cm.getActiveFgCall().getState() == Call.State.ACTIVE) in okToSwapCalls()
2036 return ((fgCallState == Call.State.ACTIVE) in okToAddCall()
2054 && ((fgCallState == Call.State.ACTIVE) in okToAddCall()
DCallTime.java100 if (state == Call.State.ACTIVE) { in periodicUpdateTimer()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConferenceController.java184 if ((state == Call.State.ACTIVE || state == Call.State.HOLDING) && in recalculateConference()
DTelephonyConnection.java529 if (Call.State.ACTIVE == mConnectionState) { in performHold()
992 case ACTIVE: in updateStateInternal()

12