Searched refs:heldCall (Results 1 – 5 of 5) sorted by relevance
511 Call heldCall = addSpyCall(); in testUnholdCallWhenOngoingCallCanBeHeld() local514 mCallsManager.unholdCall(heldCall); in testUnholdCallWhenOngoingCallCanBeHeld()518 verifyFocusRequestAndExecuteCallback(heldCall); in testUnholdCallWhenOngoingCallCanBeHeld()521 verify(heldCall).unhold(any()); in testUnholdCallWhenOngoingCallCanBeHeld()534 Call heldCall = addSpyCall(VOIP_1_HANDLE); in testUnholdCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService() local537 mCallsManager.unholdCall(heldCall); in testUnholdCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()541 verifyFocusRequestAndExecuteCallback(heldCall); in testUnholdCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()544 verify(heldCall).unhold(any()); in testUnholdCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()559 Call heldCall = addSpyCall(VOIP_1_HANDLE); in testUnholdCallWhenOngoingEmergCallCanNotBeHeldAndFromDifferentConnectionService() local562 mCallsManager.unholdCall(heldCall); in testUnholdCallWhenOngoingEmergCallCanNotBeHeldAndFromDifferentConnectionService()[all …]
353 final Call heldCall = createHeldCall(); in testListCurrentCallsCdmaHold() local356 calls.add(heldCall); in testListCurrentCallsCdmaHold()359 when(heldCall.getState()).thenReturn(CallState.ACTIVE); in testListCurrentCallsCdmaHold()361 when(heldCall.isIncoming()).thenReturn(true); in testListCurrentCallsCdmaHold()364 when(heldCall.getGatewayInfo()).thenReturn(new GatewayInfo(null, null, in testListCurrentCallsCdmaHold()373 add(heldCall); in testListCurrentCallsCdmaHold()377 when(heldCall.getParentCall()).thenReturn(parentCall); in testListCurrentCallsCdmaHold()699 Call heldCall = createHeldCall(); in testProcessChldReleaseActiveHold() local725 Call heldCall = createHeldCall(); in testProcessChldHoldActiveUnhold() local730 verify(mMockCallsManager).unholdCall(eq(heldCall)); in testProcessChldHoldActiveUnhold()[all …]
497 Call heldCall = mCallsManager.getHeldCall(); in processChld() local500 Log.i(TAG, "Active: %s\nRinging: %s\nHeld: %s", activeCall, ringingCall, heldCall); in processChld()506 } else if (heldCall != null) { in processChld()507 mCallsManager.disconnectCall(heldCall); in processChld()511 if (activeCall == null && ringingCall == null && heldCall == null) in processChld()522 } else if (heldCall != null) { in processChld()523 mCallsManager.unholdCall(heldCall); in processChld()535 } else if (heldCall != null) { in processChld()538 mCallsManager.unholdCall(heldCall); in processChld()703 Call heldCall = mCallsManager.getHeldCall(); in updateHeadsetWithCallState() local[all …]
2406 Call heldCall = getHeldCallByConnectionService(call.getTargetPhoneAccount());2407 if (heldCall != null) {2408 heldCall.disconnect();2411 heldCall.getId(), activeCall.getId());2707 Optional<Call> heldCall = mCalls.stream()2713 return heldCall.isPresent() ? heldCall.get() : null;
1362 final DialerCall heldCall = calls.getBackgroundCall(); in handleCallKey() local1363 if (heldCall != null) { in handleCallKey()1366 final boolean canHold = heldCall.can(android.telecom.Call.Details.CAPABILITY_HOLD); in handleCallKey()1368 LogUtil.v("InCallPresenter.handleCallKey", "heldCall: " + heldCall + ", canHold: " + canHold); in handleCallKey()1371 if (heldCall.getState() == DialerCallState.ONHOLD && canHold) { in handleCallKey()1372 heldCall.unhold(); in handleCallKey()