Searched refs:heldCall (Results 1 – 6 of 6) sorted by relevance
430 final BluetoothCall heldCall = createHeldCall(UUID.randomUUID()); in testListCurrentCallsCdmaHold() local431 when(heldCall.getHandle()).thenReturn(Uri.parse("tel:555-0002")); in testListCurrentCallsCdmaHold()434 calls.add(heldCall); in testListCurrentCallsCdmaHold()437 mBluetoothInCallService.onCallAdded(heldCall); in testListCurrentCallsCdmaHold()441 when(heldCall.getState()).thenReturn(Call.STATE_ACTIVE); in testListCurrentCallsCdmaHold()443 when(heldCall.isIncoming()).thenReturn(true); in testListCurrentCallsCdmaHold()446 when(heldCall.getGatewayInfo()) in testListCurrentCallsCdmaHold()455 List<Integer> childrenIds = Arrays.asList(foregroundCall.getId(), heldCall.getId()); in testListCurrentCallsCdmaHold()460 when(heldCall.getParentId()).thenReturn(parentId); in testListCurrentCallsCdmaHold()1185 BluetoothCall heldCall = createHeldCall(UUID.randomUUID()); in testProcessChldHoldActiveUnhold() local[all …]
96 BluetoothCall heldCall = getMockCall(); in getHeldCall() local97 when(heldCall.getState()).thenReturn(Call.STATE_HOLDING); in getHeldCall()99 calls.add(heldCall); in getHeldCall()103 assertThat(mMockCallInfo.getHeldCall()).isEqualTo(heldCall); in getHeldCall()
970 Call heldCall = addSpyCall(); in testUnholdCallWhenOngoingCallCanBeHeld() local973 mCallsManager.unholdCall(heldCall); in testUnholdCallWhenOngoingCallCanBeHeld()977 verifyFocusRequestAndExecuteCallback(heldCall); in testUnholdCallWhenOngoingCallCanBeHeld()980 verify(heldCall).unhold(any()); in testUnholdCallWhenOngoingCallCanBeHeld()993 Call heldCall = addSpyCall(VOIP_1_HANDLE, CallState.ON_HOLD); in testUnholdCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService() local996 mCallsManager.unholdCall(heldCall); in testUnholdCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()1000 verifyFocusRequestAndExecuteCallback(heldCall); in testUnholdCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()1003 verify(heldCall).unhold(any()); in testUnholdCallWhenOngoingCallCanNotBeHeldAndFromDifferentConnectionService()1020 Call heldCall = addSpyCall(VOIP_1_HANDLE, CallState.ON_HOLD); in testDontUnholdCallsBetweenConnectionServices() local1027 verify(heldCall, never()).unhold(); in testDontUnholdCallsBetweenConnectionServices()[all …]
1075 BluetoothCall heldCall = mCallInfo.getHeldCall(); in _processChld() local1084 + heldCall in _processChld()1094 } else if (!mCallInfo.isNullCall(heldCall)) { in _processChld()1095 heldCall.disconnect(); in _processChld()1101 && mCallInfo.isNullCall(heldCall)) { in _processChld()1116 } else if (!mCallInfo.isNullCall(heldCall)) { in _processChld()1117 heldCall.unhold(); in _processChld()1130 } else if (!mCallInfo.isNullCall(heldCall)) { in _processChld()1133 heldCall.unhold(); in _processChld()1168 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()
3852 Call heldCall = getHeldCallByConnectionService(call.getTargetPhoneAccount());3853 if (heldCall != null) {3854 heldCall.disconnect();3857 heldCall.getId(), activeCall.getId());4393 Optional<Call> heldCall = mCalls.stream()4399 return heldCall.isPresent() ? heldCall.get() : null;