Searched refs:heldCall (Results 1 – 5 of 5) sorted by relevance
352 final BluetoothCall heldCall = createHeldCall(); in testListCurrentCallsCdmaHold() local355 calls.add(heldCall); in testListCurrentCallsCdmaHold()358 mBluetoothInCallService.onCallAdded(heldCall); in testListCurrentCallsCdmaHold()362 when(heldCall.getState()).thenReturn(Call.STATE_ACTIVE); in testListCurrentCallsCdmaHold()364 when(heldCall.isIncoming()).thenReturn(true); in testListCurrentCallsCdmaHold()367 when(heldCall.getGatewayInfo()).thenReturn( in testListCurrentCallsCdmaHold()377 heldCall.getTelecomCallId()); in testListCurrentCallsCdmaHold()382 when(heldCall.getParentId()).thenReturn(parentId); in testListCurrentCallsCdmaHold()730 BluetoothCall heldCall = createHeldCall(); in testProcessChldReleaseActiveHold() local754 BluetoothCall heldCall = createHeldCall(); in testProcessChldHoldActiveUnhold() local[all …]
564 Call heldCall = addSpyCall(); in testUnholdCallWhenOngoingCallCanBeHeld() local567 mCallsManager.unholdCall(heldCall); in testUnholdCallWhenOngoingCallCanBeHeld()571 verifyFocusRequestAndExecuteCallback(heldCall); in testUnholdCallWhenOngoingCallCanBeHeld()574 verify(heldCall).unhold(any()); in testUnholdCallWhenOngoingCallCanBeHeld()587 Call heldCall = addSpyCall(VOIP_1_HANDLE, CallState.ON_HOLD); in testUnholdCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService() local590 mCallsManager.unholdCall(heldCall); in testUnholdCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()594 verifyFocusRequestAndExecuteCallback(heldCall); in testUnholdCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()597 verify(heldCall).unhold(any()); in testUnholdCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()612 Call heldCall = addSpyCall(VOIP_1_HANDLE, CallState.ON_HOLD); in testUnholdCallWhenOngoingEmergCallCanNotBeHeldAndFromDifferentConnectionService() local615 mCallsManager.unholdCall(heldCall); in testUnholdCallWhenOngoingEmergCallCanNotBeHeldAndFromDifferentConnectionService()[all …]
716 BluetoothCall heldCall = mCallInfo.getHeldCall(); in _processChld() local720 + " Held: " + heldCall); in _processChld()729 } else if (!mCallInfo.isNullCall(heldCall)) { in _processChld()730 heldCall.disconnect(); in _processChld()736 && mCallInfo.isNullCall(heldCall)) { in _processChld()751 } else if (!mCallInfo.isNullCall(heldCall)) { in _processChld()752 heldCall.unhold(); in _processChld()765 } else if (!mCallInfo.isNullCall(heldCall)) { in _processChld()768 heldCall.unhold(); in _processChld()803 BluetoothCall heldCall = mCallInfo.getHeldCall(); in updateHeadsetWithCallState() local[all …]
1367 final DialerCall heldCall = calls.getBackgroundCall(); in handleCallKey() local1368 if (heldCall != null) { in handleCallKey()1371 final boolean canHold = heldCall.can(android.telecom.Call.Details.CAPABILITY_HOLD); in handleCallKey()1373 LogUtil.v("InCallPresenter.handleCallKey", "heldCall: " + heldCall + ", canHold: " + canHold); in handleCallKey()1376 if (heldCall.getState() == DialerCallState.ONHOLD && canHold) { in handleCallKey()1377 heldCall.unhold(); in handleCallKey()
3041 Call heldCall = getHeldCallByConnectionService(call.getTargetPhoneAccount());3042 if (heldCall != null) {3043 heldCall.disconnect();3046 heldCall.getId(), activeCall.getId());3436 Optional<Call> heldCall = mCalls.stream()3442 return heldCall.isPresent() ? heldCall.get() : null;