Home
last modified time | relevance | path

Searched refs:call (Results 1 – 25 of 531) sorted by relevance

12345678910>>...22

/packages/services/Telecomm/src/com/android/server/telecom/
DCallsManager.java103 void onCallAdded(Call call); in onCallAdded() argument
104 void onCallRemoved(Call call); in onCallRemoved() argument
105 void onCallStateChanged(Call call, int oldState, int newState); in onCallStateChanged() argument
107 Call call, in onConnectionServiceChanged() argument
110 void onIncomingCallAnswered(Call call); in onIncomingCallAnswered() argument
111 void onIncomingCallRejected(Call call, boolean rejectWithMessage, String textMessage); in onIncomingCallRejected() argument
113 void onRingbackRequested(Call call, boolean ringback); in onRingbackRequested() argument
114 void onIsConferencedChanged(Call call); in onIsConferencedChanged() argument
115 void onIsVoipAudioModeChanged(Call call); in onIsVoipAudioModeChanged() argument
116 void onVideoStateChanged(Call call, int previousVideoState, int newVideoState); in onVideoStateChanged() argument
[all …]
DCallAudioManager.java94 public void onCallStateChanged(Call call, int oldState, int newState) { in onCallStateChanged() argument
95 if (shouldIgnoreCallForAudio(call)) { in onCallStateChanged()
99 Log.d(LOG_TAG, "Call state changed for TC@%s: %s -> %s", call.getId(), in onCallStateChanged()
103 mCallStateToCalls.valueAt(i).remove(call); in onCallStateChanged()
106 mCallStateToCalls.get(newState).add(call); in onCallStateChanged()
111 playToneForDisconnectedCall(call); in onCallStateChanged()
114 onCallLeavingState(call, oldState); in onCallStateChanged()
115 onCallEnteringState(call, newState); in onCallStateChanged()
119 public void onCallAdded(Call call) { in onCallAdded() argument
120 if (shouldIgnoreCallForAudio(call)) { in onCallAdded()
[all …]
DConnectionServiceWrapper.java103 Call call = mCallIdMapper.getCall(callId); in setActive() local
104 if (call != null) { in setActive()
105 mCallsManager.markCallAsActive(call); in setActive()
123 Call call = mCallIdMapper.getCall(callId); in setRinging() local
124 if (call != null) { in setRinging()
125 mCallsManager.markCallAsRinging(call); in setRinging()
144 Call call = mCallIdMapper.getCall(callId); in setVideoProvider() local
145 if (call != null) { in setVideoProvider()
146 call.setVideoProvider(videoProvider); in setVideoProvider()
162 Call call = mCallIdMapper.getCall(callId); in setDialing() local
[all …]
DInCallController.java88 public int connect(Call call) { return CONNECTION_FAILED; } in connect() argument
209 public int connect(Call call) { in connect() argument
211 Log.addEvent(call, LogUtils.Events.INFO, "Already connected, ignoring request."); in connect()
215 if (call != null && call.isSelfManaged() && in connect()
225 if (call != null && !call.isIncoming() && !call.isExternalCall()){ in connect()
227 call.getIntentExtras()); in connect()
229 call.getTargetPhoneAccount()); in connect()
241 if (call != null && mIsConnected) { in connect()
242 call.getAnalytics().addInCallService( in connect()
336 public int connect(Call call) { in connect() argument
[all …]
DInCallAdapter.java56 Call call = mCallIdMapper.getCall(callId); in answerCall() local
57 if (call != null) { in answerCall()
58 mCallsManager.answerCall(call, videoState); in answerCall()
79 Call call = mCallIdMapper.getCall(callId); in rejectCall() local
80 if (call != null) { in rejectCall()
81 mCallsManager.rejectCall(call, rejectWithMessage, textMessage); in rejectCall()
102 Call call = mCallIdMapper.getCall(callId); in playDtmfTone() local
103 if (call != null) { in playDtmfTone()
104 mCallsManager.playDtmfTone(call, digit); in playDtmfTone()
125 Call call = mCallIdMapper.getCall(callId); in stopDtmfTone() local
[all …]
DParcelableCallUtils.java35 public ParcelableCall toParcelableCall(Call call, boolean includeVideoProvider, in toParcelableCall() argument
38 call, includeVideoProvider, phoneAccountRegistrar, false, false); in toParcelableCall()
55 Call call, in toParcelableCall() argument
60 return toParcelableCall(call, includeVideoProvider, phoneAccountRegistrar, in toParcelableCall()
81 Call call, in toParcelableCall() argument
89 state = getParcelableState(call, supportsExternalCalls); in toParcelableCall()
93 int capabilities = convertConnectionToCallCapabilities(call.getConnectionCapabilities()); in toParcelableCall()
94 int properties = convertConnectionToCallProperties(call.getConnectionProperties()); in toParcelableCall()
95 int supportedAudioRoutes = call.getSupportedAudioRoutes(); in toParcelableCall()
97 if (call.isConference()) { in toParcelableCall()
[all …]
DBluetoothPhoneServiceImpl.java102 Call call = mCallsManager.getRingingCall();
103 if (call != null) {
104 mCallsManager.answerCall(call, VideoProfile.STATE_AUDIO_ONLY);
124 Call call = mCallsManager.getForegroundCall();
125 if (call != null) {
126 mCallsManager.disconnectCall(call);
145 Call call = mCallsManager.getForegroundCall();
146 if (call != null) {
149 mCallsManager.playDtmfTone(call, (char) dtmf);
150 mCallsManager.stopDtmfTone(call);
[all …]
DCallLogManager.java137 public void onCallStateChanged(Call call, int oldState, int newState) { in onCallStateChanged() argument
138 int disconnectCause = call.getDisconnectCause().getCode(); in onCallStateChanged()
152 !call.isConference() && in onCallStateChanged()
154 !call.isExternalCall() && in onCallStateChanged()
155 (!call.isSelfManaged() || in onCallStateChanged()
156 (call.isLoggedSelfManaged() && in onCallStateChanged()
157 (call.getHandoverState() == HandoverState.HANDOVER_NONE || in onCallStateChanged()
158 call.getHandoverState() == HandoverState.HANDOVER_COMPLETE)))) { in onCallStateChanged()
160 if (!call.isIncoming()) { in onCallStateChanged()
173 boolean showNotification = !call.isSelfManaged(); in onCallStateChanged()
[all …]
DCall.java100 void onSuccessfulOutgoingCall(Call call, int callState); in onSuccessfulOutgoingCall() argument
101 void onFailedOutgoingCall(Call call, DisconnectCause disconnectCause); in onFailedOutgoingCall() argument
102 void onSuccessfulIncomingCall(Call call); in onSuccessfulIncomingCall() argument
103 void onFailedIncomingCall(Call call); in onFailedIncomingCall() argument
104 void onSuccessfulUnknownCall(Call call, int callState); in onSuccessfulUnknownCall() argument
105 void onFailedUnknownCall(Call call); in onFailedUnknownCall() argument
106 void onRingbackRequested(Call call, boolean ringbackRequested); in onRingbackRequested() argument
107 void onPostDialWait(Call call, String remaining); in onPostDialWait() argument
108 void onPostDialChar(Call call, char nextChar); in onPostDialChar() argument
109 void onConnectionCapabilitiesChanged(Call call); in onConnectionCapabilitiesChanged() argument
[all …]
/packages/apps/Dialer/java/com/android/incallui/call/
DCallList.java17 package com.android.incallui.call;
43 import com.android.incallui.call.DialerCall.State;
118 final DialerCall call = in onCallAdded() local
120 logSecondIncomingCall(context, call); in onCallAdded()
123 manager.registerCapabilitiesListener(call); in onCallAdded()
124 manager.registerStateChangedListener(call); in onCallAdded()
126 final DialerCallListenerImpl dialerCallListener = new DialerCallListenerImpl(call); in onCallAdded()
127 call.addListener(dialerCallListener); in onCallAdded()
128 LogUtil.d("CallList.onCallAdded", "callState=" + call.getState()); in onCallAdded()
139 call.getState() == DialerCall.State.INCOMING in onCallAdded()
[all …]
DTelecomAdapter.java17 package com.android.incallui.call;
65 DialerCall call = CallList.getInstance().getCallById(callId); in getTelecomCallById() local
66 return call == null ? null : call.getTelecomCall(); in getTelecomCallById()
86 android.telecom.Call call = getTelecomCallById(callId); in merge() local
87 if (call != null) { in merge()
88 List<android.telecom.Call> conferenceable = call.getConferenceableCalls(); in merge()
90 call.conference(conferenceable.get(0)); in merge()
94 if (call.getDetails().can(android.telecom.Call.Details.CAPABILITY_MERGE_CONFERENCE)) { in merge()
95 call.mergeConference(); in merge()
106 android.telecom.Call call = getTelecomCallById(callId); in swap() local
[all …]
/packages/apps/Dialer/java/com/android/incallui/
DVideoCallPresenter.java38 import com.android.incallui.call.CallList;
39 import com.android.incallui.call.DialerCall;
40 import com.android.incallui.call.DialerCall.CameraDirection;
41 import com.android.incallui.call.DialerCall.State;
42 import com.android.incallui.call.InCallVideoCallCallbackNotifier;
43 import com.android.incallui.call.InCallVideoCallCallbackNotifier.SurfaceChangeListener;
203 private static void updateCameraSelection(DialerCall call) { in updateCameraSelection() argument
204 LogUtil.v("VideoCallPresenter.updateCameraSelection", "call=" + call); in updateCameraSelection()
205 LogUtil.v("VideoCallPresenter.updateCameraSelection", "call=" + toSimpleString(call)); in updateCameraSelection()
212 if (call == null) { in updateCameraSelection()
[all …]
DVideoPauseController.java25 import com.android.incallui.call.CallList;
26 import com.android.incallui.call.DialerCall;
27 import com.android.incallui.call.DialerCall.State;
75 private static boolean isIncomingCall(DialerCall call) { in isIncomingCall() argument
76 return call != null in isIncomingCall()
77 && (call.getState() == DialerCall.State.CALL_WAITING in isIncomingCall()
78 || call.getState() == DialerCall.State.INCOMING); in isIncomingCall()
133 DialerCall call; in onStateChange() local
135 call = callList.getIncomingCall(); in onStateChange()
137 call = callList.getWaitingForAccountCall(); in onStateChange()
[all …]
DStatusBarNotifier.java80 import com.android.incallui.call.CallList;
81 import com.android.incallui.call.DialerCall;
82 import com.android.incallui.call.DialerCallListener;
239 final DialerCall call = getCallToShow(callList); in updateInCallNotification() local
241 if (call != null) { in updateInCallNotification()
242 showNotification(callList, call); in updateInCallNotification()
249 private void showNotification(final CallList callList, final DialerCall call) { in showNotification() argument
251 (call.getState() == DialerCall.State.INCOMING in showNotification()
252 || call.getState() == DialerCall.State.CALL_WAITING); in showNotification()
253 setStatusBarCallListener(new StatusBarCallListener(call)); in showNotification()
[all …]
DInCallPresenter.java53 import com.android.incallui.call.CallList;
54 import com.android.incallui.call.DialerCall;
55 import com.android.incallui.call.ExternalCallList;
56 import com.android.incallui.call.TelecomAdapter;
135 final DialerCall call = mCallList.getDialerCallFromTelecomCall(telecomCall);
136 if (call == null) {
142 onPostDialCharWait(call.getId(), remainingPostDialSequence);
148 final DialerCall call = mCallList.getDialerCallFromTelecomCall(telecomCall);
149 if (call == null) {
167 listener.onDetailsChanged(call, details);
[all …]
DInCallActivity.java47 import com.android.incallui.call.CallList;
48 import com.android.incallui.call.DialerCall;
49 import com.android.incallui.call.DialerCall.State;
441 DialerCall call = CallList.getInstance().getCallById(answerScreen.getCallId()); in newAnswerScreenDelegate() local
442 if (call == null) { in newAnswerScreenDelegate()
483 public void onWiFiToLteHandover(DialerCall call) { in onWiFiToLteHandover() argument
484 common.showWifiToLteHandoverToast(call); in onWiFiToLteHandover()
487 public void onHandoverToWifiFailed(DialerCall call) { in onHandoverToWifiFailed() argument
488 common.showWifiFailedDialog(call); in onHandoverToWifiFailed()
491 public void onInternationalCallOnWifi(@NonNull DialerCall call) { in onInternationalCallOnWifi() argument
[all …]
DReturnToCallActionReceiver.java27 import com.android.incallui.call.CallList;
28 import com.android.incallui.call.DialerCall;
29 import com.android.incallui.call.TelecomAdapter;
68 DialerCall call = getCall(); in toggleSpeaker() local
76 call != null ? call.getUniqueCallId() : "", in toggleSpeaker()
77 call != null ? call.getTimeAddedMs() : 0); in toggleSpeaker()
83 call != null ? call.getUniqueCallId() : "", in toggleSpeaker()
84 call != null ? call.getTimeAddedMs() : 0); in toggleSpeaker()
94 DialerCall call = getCall(); in toggleMute() local
101 call != null ? call.getUniqueCallId() : "", in toggleMute()
[all …]
DAnswerScreenPresenter.java34 import com.android.incallui.call.CallList;
35 import com.android.incallui.call.DialerCall;
36 import com.android.incallui.call.DialerCallListener;
45 @NonNull private final DialerCall call; field in AnswerScreenPresenter
49 @NonNull Context context, @NonNull AnswerScreen answerScreen, @NonNull DialerCall call) { in AnswerScreenPresenter() argument
53 this.call = Assert.isNotNull(call); in AnswerScreenPresenter()
54 if (isSmsResponseAllowed(call)) { in AnswerScreenPresenter()
55 answerScreen.setTextResponses(call.getCannedSmsResponses()); in AnswerScreenPresenter()
57 call.addCannedTextResponsesLoadedListener(this); in AnswerScreenPresenter()
60 if (AnswerProximitySensor.shouldUse(context, call)) { in AnswerScreenPresenter()
[all …]
/packages/providers/CallLogProvider/src/com/android/calllogbackup/
DCallLogBackupAgent.java183 Call call = readCallFromData(data); in onRestore() local
184 if (call != null) { in onRestore()
185 writeCallToProvider(call); in onRestore()
187 Log.d(TAG, "Restored call: " + call); in onRestore()
200 for (Call call : calls) { in runBackup()
201 if (!state.callIds.contains(call.id)) { in runBackup()
204 Log.d(TAG, "Adding call to backup: " + call); in runBackup()
208 addCallToBackup(data, call); in runBackup()
209 state.callIds.add(call.id); in runBackup()
213 callsToRemove.remove(call.id); in runBackup()
[all …]
/packages/apps/Dialer/java/com/android/incallui/spam/
DSpamCallListListener.java42 import com.android.incallui.call.CallList;
43 import com.android.incallui.call.DialerCall;
44 import com.android.incallui.call.DialerCall.CallHistoryStatus;
68 public void onIncomingCall(final DialerCall call) { in onIncomingCall() argument
69 String number = call.getNumber(); in onIncomingCall()
77 call.setCallHistoryStatus(callHistoryStatus); in onIncomingCall()
85 public void onUpgradeToVideo(DialerCall call) {} in onUpgradeToVideo() argument
88 public void onSessionModificationStateChange(DialerCall call) {} in onSessionModificationStateChange() argument
94 public void onWiFiToLteHandover(DialerCall call) {} in onWiFiToLteHandover() argument
97 public void onHandoverToWifiFailed(DialerCall call) {} in onHandoverToWifiFailed() argument
[all …]
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestCallList.java40 public void onCallAdded(Call call) {} in onCallAdded() argument
41 public void onCallRemoved(Call call) {} in onCallRemoved() argument
42 public void onRttStarted(Call call) {} in onRttStarted() argument
43 public void onRttStopped(Call call) {} in onRttStopped() argument
44 public void onRttInitiationFailed(Call call, int reason) {} in onRttInitiationFailed() argument
45 public void onRttRequest(Call call, int id) {} in onRttRequest() argument
54 public TestVideoCallListener(Call call) { in TestVideoCallListener() argument
55 mCall = call; in TestVideoCallListener()
130 public void addCall(Call call) { in addCall() argument
131 if (mCalls.contains(call)) { in addCall()
[all …]
DTestInCallUI.java55 public void onCallRemoved(Call call) { in onCreate()
63 public void onRttStarted(Call call) { in onCreate()
68 public void onRttStopped(Call call) { in onCreate()
73 public void onRttInitiationFailed(Call call, int reason) { in onCreate()
79 public void onRttRequest(Call call, int id) { in onCreate()
97 Call call = mCallList.getCall(0); in onCreate()
98 if (call != null) { in onCreate()
99 call.disconnect(); in onCreate()
106 Call call = mCallList.getCall(0); in onCreate()
107 if (call != null) { in onCreate()
[all …]
/packages/apps/Dialer/java/com/android/incallui/videotech/ims/
DImsVideoTech.java38 private final Call call; field in ImsVideoTech
52 public ImsVideoTech(LoggingBindings logger, VideoTechListener listener, Call call) { in ImsVideoTech() argument
55 this.call = call; in ImsVideoTech()
64 if (call.getVideoCall() == null) { in isAvailable()
69 if (VideoProfile.isVideo(call.getDetails().getVideoState())) { in isAvailable()
79 if (!call.getDetails().can(Call.Details.CAPABILITY_SUPPORTS_VT_LOCAL_TX)) { in isAvailable()
84 if (!call.getDetails().can(Call.Details.CAPABILITY_SUPPORTS_VT_REMOTE_RX)) { in isAvailable()
93 return VideoProfile.isVideo(call.getDetails().getVideoState()); in isTransmittingOrReceiving()
122 callback = new ImsVideoCallCallback(logger, call, this, listener); in onCallStateChanged()
123 call.getVideoCall().registerCallback(callback); in onCallStateChanged()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioManagerTest.java87 Call call = createIncomingCall(); in testUnmuteOfSecondIncomingCall() local
88 when(call.can(android.telecom.Call.Details.CAPABILITY_SPEED_UP_MT_AUDIO)) in testUnmuteOfSecondIncomingCall()
90 when(call.getId()).thenReturn("1"); in testUnmuteOfSecondIncomingCall()
95 mCallAudioManager.onIncomingCallAnswered(call); in testUnmuteOfSecondIncomingCall()
96 when(call.getState()).thenReturn(CallState.ACTIVE); in testUnmuteOfSecondIncomingCall()
97 mCallAudioManager.onCallStateChanged(call, CallState.RINGING, CallState.ACTIVE); in testUnmuteOfSecondIncomingCall()
126 mCallAudioManager.onIncomingCallAnswered(call); in testUnmuteOfSecondIncomingCall()
149 Call call = createIncomingCall();
150 when(call.can(android.telecom.Call.Details.CAPABILITY_SPEED_UP_MT_AUDIO))
156 mCallAudioManager.onIncomingCallAnswered(call);
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientDeviceBlock.java100 for (BluetoothHeadsetClientCall call : calls) { in HfpClientDeviceBlock()
101 handleCall(call); in HfpClientDeviceBlock()
108 synchronized Connection onCreateIncomingConnection(BluetoothHeadsetClientCall call) { in onCreateIncomingConnection() argument
109 HfpClientConnection connection = connection = mConnections.get(call.getUUID()); in onCreateIncomingConnection()
115 Log.e(TAG, "Call " + call + " ignored: connection does not exist"); in onCreateIncomingConnection()
128 synchronized Connection onCreateUnknownConnection(BluetoothHeadsetClientCall call) { in onCreateUnknownConnection() argument
129 Uri number = Uri.fromParts(PhoneAccount.SCHEME_TEL, call.getNumber(), null); in onCreateUnknownConnection()
130 HfpClientConnection connection = connection = mConnections.get(call.getUUID()); in onCreateUnknownConnection()
137 Log.e(TAG, "Call " + call + " ignored: connection does not exist"); in onCreateUnknownConnection()
166 synchronized void handleCall(BluetoothHeadsetClientCall call) { in handleCall() argument
[all …]

12345678910>>...22