Home
last modified time | relevance | path

Searched refs:activeCall (Results 1 – 8 of 8) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/
DBluetoothPhoneServiceImpl.java486 Call activeCall = mCallsManager.getActiveCall(); in processChld() local
491 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 …]
DConnectionServiceWrapper.java1084 public void onCallAudioStateChanged(Call activeCall, CallAudioState audioState) { in onCallAudioStateChanged() argument
1085 final String callId = mCallIdMapper.getCallId(activeCall); in onCallAudioStateChanged()
DCallsManager.java1795 Call activeCall = getActiveCall(); in markCallDisconnectedDueToSelfManagedCall() local
1797 if (activeCall == null) { in markCallDisconnectedDueToSelfManagedCall()
1802 activeCall.getTargetPhoneAccountLabel()); in markCallDisconnectedDueToSelfManagedCall()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothPhoneServiceTest.java240 Call activeCall = createActiveCall(); in testListCurrentCallsOneCall() local
241 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() local
633 verify(mMockCallsManager).disconnectCall(eq(activeCall)); in testProcessChldReleaseActiveRinging()
640 Call activeCall = createActiveCall(); in testProcessChldReleaseActiveHold() local
646 verify(mMockCallsManager).disconnectCall(eq(activeCall)); in testProcessChldReleaseActiveHold()
675 Call activeCall = createActiveCall(); in testProcessChldHoldActiveHold() local
[all …]
/packages/apps/Dialer/java/com/android/incallui/
DAnswerScreenPresenter.java137 DialerCall activeCall = CallList.getInstance().getActiveCall(); in onAnswerAndReleaseCall() local
138 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() local
152 if (activeCall != null) { in onAnswerAndReleaseButtonDisabled()
153 activeCall.increaseSecondCallWithoutAnswerAndReleasedButtonTimes(); in onAnswerAndReleaseButtonDisabled()
159 DialerCall activeCall = CallList.getInstance().getActiveCall(); in onAnswerAndReleaseButtonEnabled() local
160 if (activeCall != null) { in onAnswerAndReleaseButtonEnabled()
[all …]
DProximitySensor.java107 DialerCall activeCall = callList.getActiveCall(); in onStateChange() local
108 boolean isVideoCall = activeCall != null && activeCall.isVideoCall(); in onStateChange()
DInCallPresenter.java1132 final DialerCall activeCall = calls.getActiveCall(); in handleCallKey() local
1133 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()
DVideoCallPresenter.java207 final DialerCall activeCall = CallList.getInstance().getActiveCall(); in updateCameraSelection() local
228 else if (isVideoCall(activeCall) && isIncomingVideoCall(call)) { in updateCameraSelection()
229 cameraDir = activeCall.getCameraDir(); in updateCameraSelection()