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

/packages/services/Telecomm/src/com/android/server/telecom/
H A DBluetoothPhoneServiceImpl.java487 Call heldCall = mCallsManager.getHeldCall();
490 Log.i(TAG, "Active: %s\nRinging: %s\nHeld: %s", activeCall, ringingCall, heldCall);
496 } else if (heldCall != null) {
497 mCallsManager.disconnectCall(heldCall);
501 if (activeCall == null && ringingCall == null && heldCall == null)
507 } else if (heldCall != null) {
508 mCallsManager.unholdCall(heldCall);
514 } else if (heldCall != null) {
515 mCallsManager.unholdCall(heldCall);
527 } else if (heldCall !
[all...]
H A DCallsManager.java1272 Call heldCall = getHeldCall();
1273 if (heldCall != null) {
1275 heldCall);
1276 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.java1113 final DialerCall heldCall = calls.getBackgroundCall();
1114 if (heldCall != null) {
1117 final boolean canHold = heldCall.can(android.telecom.Call.Details.CAPABILITY_HOLD);
1119 Log.v(this, "heldCall: " + heldCall + ", canHold: " + canHold);
1122 if (heldCall.getState() == DialerCall.State.ONHOLD && canHold) {
1123 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 147 milliseconds