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

/packages/services/Telecomm/src/com/android/server/telecom/
H A DBluetoothPhoneServiceImpl.java488 Call heldCall = mCallsManager.getHeldCall();
491 Log.i(TAG, "Active: %s\nRinging: %s\nHeld: %s", activeCall, ringingCall, heldCall);
497 } else if (heldCall != null) {
498 mCallsManager.disconnectCall(heldCall);
502 if (activeCall == null && ringingCall == null && heldCall == null)
508 } else if (heldCall != null) {
509 mCallsManager.unholdCall(heldCall);
515 } else if (heldCall != null) {
516 mCallsManager.unholdCall(heldCall);
528 } else if (heldCall !
[all...]
H A DCallsManager.java1350 Call heldCall = getHeldCall();
1351 if (heldCall != null) {
1353 heldCall);
1354 heldCall.disconnect();
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DBluetoothPhoneServiceTest.java310 final Call heldCall = createHeldCall();
313 calls.add(heldCall);
316 when(heldCall.getState()).thenReturn(CallState.ACTIVE);
318 when(heldCall.isIncoming()).thenReturn(true);
321 when(heldCall.getGatewayInfo()).thenReturn(new GatewayInfo(null, null,
330 add(heldCall);
334 when(heldCall.getParentCall()).thenReturn(parentCall);
641 Call heldCall = createHeldCall();
647 verify(mMockCallsManager).unholdCall(eq(heldCall));
664 Call heldCall
[all...]
/packages/apps/Dialer/java/com/android/incallui/
H A DInCallPresenter.java1156 final DialerCall heldCall = calls.getBackgroundCall();
1157 if (heldCall != null) {
1160 final boolean canHold = heldCall.can(android.telecom.Call.Details.CAPABILITY_HOLD);
1162 LogUtil.v("InCallPresenter.handleCallKey", "heldCall: " + heldCall + ", canHold: " + canHold);
1165 if (heldCall.getState() == DialerCall.State.ONHOLD && canHold) {
1166 heldCall.unhold();
/packages/services/Telephony/src/com/android/phone/
H A DPhoneUtils.java716 * @param heldCall is the background call want to be swapped
718 static void switchHoldingAndActive(Call heldCall) { argument
722 if (heldCall.isIdle()) {
723 // no heldCall, so it is to hold active call
726 // has particular heldCall, so to switch
727 cm.switchHoldingAndActive(heldCall);

Completed in 463 milliseconds