Home
last modified time | relevance | path

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

12

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallsManagerTest.java309 ongoingCall.setState(CallState.ACTIVE, "just cuz"); in testConstructPossiblePhoneAccountsMultiSimActive()
570 Call ongoingCall = addSpyCall(SIM_1_HANDLE, CallState.ACTIVE); in testUnholdCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()
594 Call ongoingCall = addSpyCall(SIM_1_HANDLE, CallState.ACTIVE); in testUnholdCallWhenOngoingEmergCallCanNotBeHeldAndFromDifferentConnectionService()
617 Call ongoingCall = addSpyCall(SIM_1_HANDLE, CallState.ACTIVE); in testUnholdCallWhenOngoingCallCanNotBeHeldAndHasSameConnectionService()
678 Call ongoingCall = addSpyCall(SIM_1_HANDLE, CallState.ACTIVE); in testAnswerCallWhenOngoingHasSameConnectionService()
697 Call ongoingCall = addSpyCall(SIM_1_HANDLE, CallState.ACTIVE); in testAnswerCallWhenOngoingHasDifferentConnectionService()
718 Call ongoingCall = addSpyCall(SIM_1_HANDLE, CallState.ACTIVE); in testAnswerCallWhenOngoingHasDifferentConnectionServiceButIsEmerg()
741 Call ongoingCall = addSpyCall(SIM_1_HANDLE, CallState.ACTIVE); in testAnswerCallWhenMultipleHeldCallsExisted()
744 doReturn(CallState.ACTIVE).when(ongoingCall).getState(); in testAnswerCallWhenMultipleHeldCallsExisted()
814 Call ongoingCall = addSpyCall(SIM_1_HANDLE, CallState.ACTIVE); in testSetActiveCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()
[all …]
DCallLogManagerTest.java274 mCallLogManager.onCallStateChanged(fakeCall1, CallState.ACTIVE, CallState.DISCONNECTED); in testDontLogUnloggableNumbers()
275 mCallLogManager.onCallStateChanged(fakeCall2, CallState.ACTIVE, CallState.DISCONNECTED); in testDontLogUnloggableNumbers()
304 mCallLogManager.onCallStateChanged(fakeCall, CallState.ACTIVE, CallState.DISCONNECTED); in testDontLogCallsFromEmergencyAccount()
326 mCallLogManager.onCallStateChanged(fakeOutgoingCall, CallState.ACTIVE, in testLogCallDirectionOutgoing()
351 mCallLogManager.onCallStateChanged(fakeIncomingCall, CallState.ACTIVE, in testLogCallDirectionIncoming()
377 mCallLogManager.onCallStateChanged(fakeMissedCall, CallState.ACTIVE, in testLogCallDirectionMissed()
406 mCallLogManager.onCallStateChanged(fakeMissedCall, CallState.ACTIVE, in testLogCallDirectionRejected()
433 mCallLogManager.onCallStateChanged(fakeCall, CallState.ACTIVE, CallState.DISCONNECTED); in testCreationTimeAndAge()
459 mCallLogManager.onCallStateChanged(fakeCall, CallState.ACTIVE, CallState.DISCONNECTED); in testLogPhoneAccountId()
483 mCallLogManager.onCallStateChanged(fakeCall, CallState.ACTIVE, CallState.DISCONNECTED); in testLogCorrectPhoneNumber()
[all …]
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);
239 mCallAudioManager.onCallStateChanged(call, CallState.ANSWERED, CallState.ACTIVE);
282 when(call.getState()).thenReturn(CallState.ACTIVE);
283 mCallAudioManager.onCallStateChanged(call, CallState.DIALING, CallState.ACTIVE);
385 when(call.getState()).thenReturn(CallState.ACTIVE);
409 mCallAudioManager.onCallStateChanged(call, CallState.ACTIVE, CallState.AUDIO_PROCESSING);
[all …]
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()
DBluetoothPhoneServiceTest.java262 when(activeCall.getState()).thenReturn(CallState.ACTIVE); in testListCurrentCallsOneCall()
310 when(confCall1.getState()).thenReturn(CallState.ACTIVE); in testConferenceInProgressCDMA()
311 when(confCall2.getState()).thenReturn(CallState.ACTIVE); in testConferenceInProgressCDMA()
359 when(foregroundCall.getState()).thenReturn(CallState.ACTIVE); in testListCurrentCallsCdmaHold()
360 when(heldCall.getState()).thenReturn(CallState.ACTIVE); in testListCurrentCallsCdmaHold()
401 when(confCall1.getState()).thenReturn(CallState.ACTIVE); in testListCurrentCallsCdmaConference()
402 when(confCall2.getState()).thenReturn(CallState.ACTIVE); in testListCurrentCallsCdmaConference()
509 when(ringingCall.getState()).thenReturn(CallState.ACTIVE); in testCallClccCache()
585 when(parentCall.getState()).thenReturn(CallState.ACTIVE); in testListCurrentCallsImsConference()
612 when(childCall1.getState()).thenReturn(CallState.ACTIVE); in testListCurrentCallsHeldImsCepConference()
[all …]
DCallTest.java118 call.setState(CallState.ACTIVE, ""); in testSetHasGoneActive()
169 call.setState(CallState.ACTIVE, ""); in testDisconnectCauseWhenAudioProcessingAfterActive()
255 call.setState(CallState.ACTIVE, ""); in testCanPullCallRemovedDuringEmergencyCall()
296 call.setState(CallState.ACTIVE, ""); in testCanNotPullCallDuringEmergencyCall()
/packages/apps/Dialer/java/com/android/incallui/call/state/
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()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallState.java73 public static final int ACTIVE = TelecomProtoEnums.ACTIVE; // = 5 field in CallState
147 case ACTIVE: in toString()
DCallAudioManager.java81 put(CallState.ACTIVE, mActiveDialingOrConnectingCalls); in CallAudioManager()
562 case CallState.ACTIVE: in onCallLeavingState()
589 case CallState.ACTIVE: in onCallEnteringState()
873 return oldState == CallState.ACTIVE || in shouldPlayDisconnectTone()
DCall.java672 CallState.ACTIVE : CallState.NEW; in Call()
1016 } else if (newState == CallState.ANSWERED && mState == CallState.ACTIVE) { in setState()
1027 if (mState == CallState.ACTIVE || mState == CallState.ON_HOLD) { in setState()
1053 case CallState.ACTIVE: in setState()
2410 if (mState == CallState.ACTIVE || mState == CallState.ON_HOLD) { in transfer()
2429 if (mState == CallState.ACTIVE && in transfer()
2450 if (mState == CallState.ACTIVE) { in hold()
2497 return mState == CallState.ACTIVE; in isActive()
3432 return CallState.ACTIVE; in getStateFromConnectionState()
3676 if ((oldState == CallState.DIALING && newState == CallState.ACTIVE) in updateVideoHistoryViaState()
DCallsManager.java228 CallState.PULLING, CallState.ACTIVE, CallState.AUDIO_PROCESSING};
238 {CallState.SELECT_PHONE_ACCOUNT, CallState.DIALING, CallState.PULLING, CallState.ACTIVE,
244 CallState.RINGING, CallState.SIMULATED_RINGING, CallState.ACTIVE,
2339 } else if (call.getState() == CallState.ACTIVE) {
2370 setCallState(call, CallState.ACTIVE, "exitBackgroundAudioProcessing");
2932 CallState.ACTIVE,
2944 setCallState(call, CallState.ACTIVE, "active set explicitly");
3073 return getFirstCallWithState(CallState.ACTIVE, CallState.ON_HOLD) != null;
3092 Call activeCall = getFirstCallWithState(CallState.ACTIVE);
3103 CallState.PULLING, CallState.ACTIVE, CallState.ON_HOLD);
[all …]
DPhoneStateBroadcaster.java87 CallState.ACTIVE, CallState.ON_HOLD) != null) { in updateStates()
DBluetoothPhoneServiceImpl.java344 if (oldState == CallState.ACTIVE && newState == CallState.ON_HOLD) {
872 case CallState.ACTIVE: in getBtCallState()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTestTelephonyConnection.java89 when(mMockRadioConnection.getState()).thenReturn(Call.State.ACTIVE); in TestTelephonyConnection()
90 when(mOriginalConnection.getState()).thenReturn(Call.State.ACTIVE); in TestTelephonyConnection()
107 when(mMockCall.getState()).thenReturn(Call.State.ACTIVE); in TestTelephonyConnection()
/packages/apps/Dialer/java/com/android/incallui/call/
DCallList.java415 return getFirstCallWithState(DialerCallState.ACTIVE); in getActiveCall()
419 return getCallWithState(DialerCallState.ACTIVE, 1); in getSecondActiveCall()
464 result = getFirstCallWithState(DialerCallState.ACTIVE); in getFirstCall()
544 if ((call.getState() == DialerCallState.ACTIVE in hasNonParentActiveOrBackgroundCall()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountSyncHelper.java136 return SyncState.ACTIVE; in getSyncState()
181 ACTIVE, enumConstant
DSyncPreference.java70 case ACTIVE: in updateIcon()
/packages/apps/Dialer/java/com/android/incallui/
DVideoCallPresenter.java169 boolean isCallActive = callState == DialerCallState.ACTIVE; in showIncomingVideo()
874 DialerCallState.ACTIVE, in exitVideoMode()
1062 || call.getState() != DialerCallState.ACTIVE in maybeAutoEnterFullscreen()
1293 return isVideoCall(call) && call.getState() == DialerCallState.ACTIVE; in isActiveVideoCall()
DVideoPauseController.java325 return call != null && call.isVideoCall() && call.getState() == DialerCallState.ACTIVE; in videoCanPause()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipConnection.java145 mOriginalConnection.getState() == Call.State.ACTIVE) { in onHold()
251 case ACTIVE: in updateState()
/packages/apps/Dialer/java/com/android/incallui/contactgrid/
DTopRow.java104 } else if (state.state() == DialerCallState.ACTIVE && state.isRemotelyHeld()) { in getInfo()
106 } else if (state.state() == DialerCallState.ACTIVE in getInfo()
DBottomRow.java74 boolean isTimerVisible = state.state() == DialerCallState.ACTIVE; in getInfo()
/packages/services/Telephony/src/com/android/phone/
DCallTime.java101 if (state == Call.State.ACTIVE) { in periodicUpdateTimer()
/packages/services/Telephony/src/com/android/services/telephony/
DCdmaConnection.java306 && getOriginalConnection().getState() == Call.State.ACTIVE in handleCdmaConnectionTimeReset()
DTelephonyConferenceController.java189 if ((state == Call.State.ACTIVE || state == Call.State.HOLDING) && in recalculateConference()

12