Home
last modified time | relevance | path

Searched refs:ringingCall (Results 1 – 7 of 7) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothPhoneServiceTest.java475 Call ringingCall = createForegroundCall(); in testRingingCallClccResponse() local
476 calls.add(ringingCall); in testRingingCallClccResponse()
477 when(ringingCall.getState()).thenReturn(CallState.RINGING); in testRingingCallClccResponse()
478 when(ringingCall.isIncoming()).thenReturn(true); in testRingingCallClccResponse()
479 when(ringingCall.isConference()).thenReturn(false); in testRingingCallClccResponse()
480 when(ringingCall.getGatewayInfo()).thenReturn(new GatewayInfo(null, null, in testRingingCallClccResponse()
496 Call ringingCall = createForegroundCall(); in testCallClccCache() local
497 calls.add(ringingCall); in testCallClccCache()
498 when(ringingCall.getState()).thenReturn(CallState.RINGING); in testCallClccCache()
499 when(ringingCall.isIncoming()).thenReturn(true); in testCallClccCache()
[all …]
DCallsManagerTest.java1193 Call ringingCall = addSpyCall(SIM_1_HANDLE, CallState.RINGING); in testMakeRoomForEmergencyCallDuringActiveAndRingingCallDisconnectRinging() local
1202 verify(ringingCall).reject(anyBoolean(), any(), any()); in testMakeRoomForEmergencyCallDuringActiveAndRingingCallDisconnectRinging()
/packages/services/Telecomm/src/com/android/server/telecom/
DBluetoothPhoneServiceImpl.java500 Call ringingCall = mCallsManager.getRingingOrSimulatedRingingCall(); in processChld() local
504 Log.i(TAG, "Active: %s\nRinging: %s\nHeld: %s", activeCall, ringingCall, heldCall); in processChld()
507 if (ringingCall != null) { in processChld()
508 mCallsManager.rejectCall(ringingCall, false, null); in processChld()
515 if (activeCall == null && ringingCall == null && heldCall == null) in processChld()
519 if (ringingCall != null) { in processChld()
520 mCallsManager.answerCall(ringingCall, VideoProfile.STATE_AUDIO_ONLY); in processChld()
524 if (ringingCall != null) { in processChld()
525 mCallsManager.answerCall(ringingCall, ringingCall.getVideoState()); in processChld()
536 } else if (ringingCall != null) { in processChld()
[all …]
DInCallWakeLockController.java65 Call ringingCall = mCallsManager.getRingingOrSimulatedRingingCall(); in handleWakeLock() local
66 if (ringingCall != null) { in handleWakeLock()
DCallsManager.java3088 Call ringingCall = getFirstCallWithState(CallState.RINGING,
3091 if (ringingCall == null) {
3111 answerCall(ringingCall, VideoProfile.STATE_AUDIO_ONLY);
3115 if (ringingCall != null) {
3118 ringingCall.reject(false, null);
3894 Call ringingCall = getRingingOrSimulatedRingingCall();
3895 ringingCall.getAnalytics().setCallIsAdditional(true);
3896 ringingCall.getAnalytics().setCallIsInterrupted(true);
3897 if (ringingCall.getState() == CallState.SIMULATED_RINGING) {
3898 if (!ringingCall.hasGoneActiveBefore()) {
[all …]
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java1097 Call ringingCall = phone.getRingingCall(); in performHold() local
1109 if (ringingCall.getState() != Call.State.WAITING) { in performHold()
2005 Call ringingCall = getPhone().getRingingCall(); in isValidRingingCall() local
2006 if (!ringingCall.getState().isRinging()) { in isValidRingingCall()
2011 if (ringingCall.getEarliestConnection() != mOriginalConnection) { in isValidRingingCall()
DTelephonyConnectionService.java1419 final Call ringingCall = phone.getRingingCall(); in onCreateUnknownConnection() local
1420 if (ringingCall.hasConnections()) { in onCreateUnknownConnection()
1421 allConnections.addAll(ringingCall.getConnections()); in onCreateUnknownConnection()