Home
last modified time | relevance | path

Searched refs:heldCall (Results 1 – 5 of 5) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/
DBluetoothPhoneServiceImpl.java487 Call heldCall = mCallsManager.getHeldCall(); in processChld() local
490 Log.i(TAG, "Active: %s\nRinging: %s\nHeld: %s", activeCall, ringingCall, heldCall); in processChld()
496 } else if (heldCall != null) { in processChld()
497 mCallsManager.disconnectCall(heldCall); in processChld()
501 if (activeCall == null && ringingCall == null && heldCall == null) in processChld()
507 } else if (heldCall != null) { in processChld()
508 mCallsManager.unholdCall(heldCall); in processChld()
514 } else if (heldCall != null) { in processChld()
515 mCallsManager.unholdCall(heldCall); in processChld()
527 } else if (heldCall != null) { in processChld()
[all …]
DCallsManager.java1272 Call heldCall = getHeldCall(); in answerCall() local
1273 if (heldCall != null) { in answerCall()
1275 heldCall); in answerCall()
1276 heldCall.disconnect(); in answerCall()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothPhoneServiceTest.java310 final Call heldCall = createHeldCall(); in testListCurrentCallsCdmaHold() local
313 calls.add(heldCall); in testListCurrentCallsCdmaHold()
316 when(heldCall.getState()).thenReturn(CallState.ACTIVE); in testListCurrentCallsCdmaHold()
318 when(heldCall.isIncoming()).thenReturn(true); in testListCurrentCallsCdmaHold()
321 when(heldCall.getGatewayInfo()).thenReturn(new GatewayInfo(null, null, in testListCurrentCallsCdmaHold()
330 add(heldCall); in testListCurrentCallsCdmaHold()
334 when(heldCall.getParentCall()).thenReturn(parentCall); in testListCurrentCallsCdmaHold()
641 Call heldCall = createHeldCall(); in testProcessChldReleaseActiveHold() local
647 verify(mMockCallsManager).unholdCall(eq(heldCall)); in testProcessChldReleaseActiveHold()
664 Call heldCall = createHeldCall(); in testProcessChldHoldActiveUnhold() local
[all …]
/packages/apps/Dialer/java/com/android/incallui/
DInCallPresenter.java1113 final DialerCall heldCall = calls.getBackgroundCall(); in handleCallKey() local
1114 if (heldCall != null) { in handleCallKey()
1117 final boolean canHold = heldCall.can(android.telecom.Call.Details.CAPABILITY_HOLD); in handleCallKey()
1119 Log.v(this, "heldCall: " + heldCall + ", canHold: " + canHold); in handleCallKey()
1122 if (heldCall.getState() == DialerCall.State.ONHOLD && canHold) { in handleCallKey()
1123 heldCall.unhold(); in handleCallKey()
/packages/services/Telephony/src/com/android/phone/
DPhoneUtils.java718 static void switchHoldingAndActive(Call heldCall) { in switchHoldingAndActive() argument
722 if (heldCall.isIdle()) { in switchHoldingAndActive()
727 cm.switchHoldingAndActive(heldCall); in switchHoldingAndActive()