Searched refs:heldCall (Results 1 – 5 of 5) sorted by relevance
487 Call heldCall = mCallsManager.getHeldCall(); in processChld() local490 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 …]
1272 Call heldCall = getHeldCall(); in answerCall() local1273 if (heldCall != null) { in answerCall()1275 heldCall); in answerCall()1276 heldCall.disconnect(); in answerCall()
310 final Call heldCall = createHeldCall(); in testListCurrentCallsCdmaHold() local313 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() local647 verify(mMockCallsManager).unholdCall(eq(heldCall)); in testProcessChldReleaseActiveHold()664 Call heldCall = createHeldCall(); in testProcessChldHoldActiveUnhold() local[all …]
1113 final DialerCall heldCall = calls.getBackgroundCall(); in handleCallKey() local1114 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()
718 static void switchHoldingAndActive(Call heldCall) { in switchHoldingAndActive() argument722 if (heldCall.isIdle()) { in switchHoldingAndActive()727 cm.switchHoldingAndActive(heldCall); in switchHoldingAndActive()