Searched refs:activeCall (Results 1 – 8 of 8) sorted by relevance
486 Call activeCall = mCallsManager.getActiveCall(); in processChld() local491 Log.i(TAG, "Active: %s\nRinging: %s\nHeld: %s", activeCall, ringingCall, heldCall); in processChld()502 if (activeCall == null && ringingCall == null && heldCall == null) in processChld()504 if (activeCall != null) { in processChld()505 mCallsManager.disconnectCall(activeCall); in processChld()520 if (activeCall != null && activeCall.can(Connection.CAPABILITY_SWAP_CONFERENCE)) { in processChld()521 activeCall.swapConference(); in processChld()533 } else if (activeCall != null && activeCall.can(Connection.CAPABILITY_HOLD)) { in processChld()534 mCallsManager.holdCall(activeCall); in processChld()538 if (activeCall != null) { in processChld()[all …]
1084 public void onCallAudioStateChanged(Call activeCall, CallAudioState audioState) { in onCallAudioStateChanged() argument1085 final String callId = mCallIdMapper.getCallId(activeCall); in onCallAudioStateChanged()
1795 Call activeCall = getActiveCall(); in markCallDisconnectedDueToSelfManagedCall() local1797 if (activeCall == null) { in markCallDisconnectedDueToSelfManagedCall()1802 activeCall.getTargetPhoneAccountLabel()); in markCallDisconnectedDueToSelfManagedCall()
240 Call activeCall = createActiveCall(); in testListCurrentCallsOneCall() local241 when(activeCall.getState()).thenReturn(CallState.ACTIVE); in testListCurrentCallsOneCall()242 calls.add(activeCall); in testListCurrentCallsOneCall()243 when(activeCall.isConference()).thenReturn(false); in testListCurrentCallsOneCall()244 when(activeCall.getHandle()).thenReturn(Uri.parse("tel:555-000")); in testListCurrentCallsOneCall()627 Call activeCall = createActiveCall(); in testProcessChldReleaseActiveRinging() local633 verify(mMockCallsManager).disconnectCall(eq(activeCall)); in testProcessChldReleaseActiveRinging()640 Call activeCall = createActiveCall(); in testProcessChldReleaseActiveHold() local646 verify(mMockCallsManager).disconnectCall(eq(activeCall)); in testProcessChldReleaseActiveHold()675 Call activeCall = createActiveCall(); in testProcessChldHoldActiveHold() local[all …]
137 DialerCall activeCall = CallList.getInstance().getActiveCall(); in onAnswerAndReleaseCall() local138 if (activeCall == null) { in onAnswerAndReleaseCall()142 activeCall.setReleasedByAnsweringSecondCall(true); in onAnswerAndReleaseCall()143 activeCall.addListener(new AnswerOnDisconnected(activeCall)); in onAnswerAndReleaseCall()144 activeCall.disconnect(); in onAnswerAndReleaseCall()151 DialerCall activeCall = CallList.getInstance().getActiveCall(); in onAnswerAndReleaseButtonDisabled() local152 if (activeCall != null) { in onAnswerAndReleaseButtonDisabled()153 activeCall.increaseSecondCallWithoutAnswerAndReleasedButtonTimes(); in onAnswerAndReleaseButtonDisabled()159 DialerCall activeCall = CallList.getInstance().getActiveCall(); in onAnswerAndReleaseButtonEnabled() local160 if (activeCall != null) { in onAnswerAndReleaseButtonEnabled()[all …]
107 DialerCall activeCall = callList.getActiveCall(); in onStateChange() local108 boolean isVideoCall = activeCall != null && activeCall.isVideoCall(); in onStateChange()
1132 final DialerCall activeCall = calls.getActiveCall(); in handleCallKey() local1133 if (activeCall != null) { in handleCallKey()1137 activeCall.can(android.telecom.Call.Details.CAPABILITY_MERGE_CONFERENCE); in handleCallKey()1139 activeCall.can(android.telecom.Call.Details.CAPABILITY_SWAP_CONFERENCE); in handleCallKey()1143 "activeCall: " + activeCall + ", canMerge: " + canMerge + ", canSwap: " + canSwap); in handleCallKey()1147 TelecomAdapter.getInstance().merge(activeCall.getId()); in handleCallKey()1150 TelecomAdapter.getInstance().swap(activeCall.getId()); in handleCallKey()
207 final DialerCall activeCall = CallList.getInstance().getActiveCall(); in updateCameraSelection() local228 else if (isVideoCall(activeCall) && isIncomingVideoCall(call)) { in updateCameraSelection()229 cameraDir = activeCall.getCameraDir(); in updateCameraSelection()