Home
last modified time | relevance | path

Searched refs:RINGING (Results 1 – 16 of 16) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/
DCallState.java66 public static final int RINGING = TelecomProtoEnums.RINGING; // = 4 field in CallState
145 case RINGING: in toString()
DCallAudioManager.java84 put(CallState.RINGING, mRingingCalls); in CallAudioManager()
578 case CallState.RINGING: in onCallLeavingState()
605 case CallState.RINGING: in onCallEnteringState()
DCallsManager.java246 CallState.ON_HOLD, CallState.RINGING, CallState.SIMULATED_RINGING,
251 CallState.RINGING, CallState.SIMULATED_RINGING, CallState.ACTIVE,
765 setCallState(incomingCall, CallState.RINGING, in onCallFilteringComplete()
1152 setCallState(call1, CallState.RINGING, actionName + " failed on other call"); in markAllAnsweredCallAsRinging()
2475 if (call.getState() == CallState.RINGING) {
3002 setCallState(call, CallState.RINGING, "ringing set explicitly");
3306 return getFirstCallWithState(CallState.RINGING, CallState.ANSWERED) != null;
3311 CallState.SIMULATED_RINGING, CallState.RINGING, CallState.ANSWERED) != null;
3317 Call ringingCall = getFirstCallWithState(CallState.RINGING,
3331 Call callToHangup = getFirstCallWithState(CallState.RINGING, CallState.DIALING,
[all …]
DCall.java1225 case CallState.RINGING: in setState()
2496 if (mState != CallState.RINGING) { in answerForAudioProcessing()
2707 case CallState.RINGING: in isAlive()
3259 if (mState != CallState.RINGING) { in isRespondViaSmsCapable()
3312 if (mState == CallState.RINGING || mState == CallState.ANSWERED) { in isRinging()
3720 return CallState.RINGING; in getStateFromConnectionState()
3973 || (oldState == CallState.RINGING && newState == CallState.ANSWERED)) { in updateVideoHistoryViaState()
DTelecomServiceImpl.java2136 Call call = mCallsManager.getFirstCallWithState(CallState.RINGING, in acceptRingingCallInternal()
2161 CallState.RINGING, in endCallInternal()
2178 if (call.getState() == CallState.RINGING in endCallInternal()
DRinger.java217 if (foregroundCall.getState() != CallState.RINGING in startRinging()
DParcelableCallUtils.java422 case CallState.RINGING: in getParcelableState()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioManagerTest.java124 mCallAudioManager.onCallStateChanged(call, CallState.RINGING, CallState.ACTIVE); in testUnmuteOfSecondIncomingCall()
147 when(call2.getState()).thenReturn(CallState.RINGING); in testUnmuteOfSecondIncomingCall()
186 mCallAudioManager.onCallStateChanged(call, CallState.RINGING, CallState.ACTIVE);
221 mCallAudioManager.onCallStateChanged(call, CallState.RINGING, CallState.ANSWERED);
335 when(call.getState()).thenReturn(CallState.RINGING);
359 mCallAudioManager.onCallStateChanged(call, CallState.RINGING, CallState.AUDIO_PROCESSING);
640 when(call.getState()).thenReturn(CallState.RINGING);
DCallsManagerTest.java650 Call incomingCall = addSpyCall(CallState.RINGING); in testDuplicateAnswerCall()
674 Call incomingCall = addSpyCall(CallState.RINGING); in testAnswerCallWhenOngoingCallCanBeHeld()
694 Call incomingCall = addSpyCall(VOIP_1_HANDLE, CallState.RINGING); in testAnswerCallWhenOngoingHasSameConnectionService()
714 Call incomingCall = addSpyCall(VOIP_1_HANDLE, CallState.RINGING); in testAnswerCallWhenOngoingHasDifferentConnectionService()
736 Call incomingCall = addSpyCall(VOIP_1_HANDLE, CallState.RINGING); in testAnswerCallWhenOngoingHasDifferentConnectionServiceButIsEmerg()
766 Call incomingCall = addSpyCall(SIM_1_HANDLE, CallState.RINGING); in testAnswerCallWhenMultipleHeldCallsExisted()
792 Call incomingCall = addSpyCall(CallState.RINGING); in testAnswerCallWhenNoOngoingCallExisted()
808 Call incomingCall = addSpyCall(CallState.RINGING); in testAnswerAlreadyActiveCall()
907 newCall.setState(CallState.RINGING, "test"); in testDisconnectDialingCallOnIncoming()
948 doReturn(CallState.RINGING).when(incomingCall).getState(); in testAcceptIncomingCallWhenHeadsetMediaButtonShortPress()
[all …]
DInCallWakeLockControllerTest.java94 mInCallWakeLockController.onCallStateChanged(mCall, CallState.NEW, CallState.RINGING); in testRingingCallTransition()
DRingerTest.java156 when(mockCall1.getState()).thenReturn(CallState.RINGING); in setUp()
157 when(mockCall2.getState()).thenReturn(CallState.RINGING); in setUp()
DIncomingCallNotifierTest.java79 when(mRingingCall.getState()).thenReturn(CallState.RINGING); in setUp()
DTelecomServiceImplTest.java1078 when(call.getState()).thenReturn(CallState.RINGING); in testEndCallWithRingingForegroundCall()
/packages/apps/Stk/src/com/android/stk/
DTonePlayer.java41 mToneMap.put(Tone.RINGING, ToneGenerator.TONE_SUP_RINGTONE); in mToneMap.put() argument
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DIncomingCallNotifier.java142 call.getState() == CallState.RINGING && in updateIncomingCall()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java2261 if (state != PhoneConstants.State.OFFHOOK && state != PhoneConstants.State.RINGING) { in dialForSubscriber()