Home
last modified time | relevance | path

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

12345678910>>...20

/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.java101 Call call = mCallsManager.getRingingCall();
102 if (call != null) {
103 mCallsManager.answerCall(call, VideoProfile.STATE_AUDIO_ONLY);
123 Call call = mCallsManager.getForegroundCall();
124 if (call != null) {
125 mCallsManager.disconnectCall(call);
144 Call call = mCallsManager.getForegroundCall();
145 if (call != null) {
148 mCallsManager.playDtmfTone(call, (char) dtmf);
149 mCallsManager.stopDtmfTone(call);
[all …]
DCall.java97 void onSuccessfulOutgoingCall(Call call, int callState); in onSuccessfulOutgoingCall() argument
98 void onFailedOutgoingCall(Call call, DisconnectCause disconnectCause); in onFailedOutgoingCall() argument
99 void onSuccessfulIncomingCall(Call call); in onSuccessfulIncomingCall() argument
100 void onFailedIncomingCall(Call call); in onFailedIncomingCall() argument
101 void onSuccessfulUnknownCall(Call call, int callState); in onSuccessfulUnknownCall() argument
102 void onFailedUnknownCall(Call call); in onFailedUnknownCall() argument
103 void onRingbackRequested(Call call, boolean ringbackRequested); in onRingbackRequested() argument
104 void onPostDialWait(Call call, String remaining); in onPostDialWait() argument
105 void onPostDialChar(Call call, char nextChar); in onPostDialChar() argument
106 void onConnectionCapabilitiesChanged(Call call); in onConnectionCapabilitiesChanged() argument
[all …]
/packages/apps/Dialer/java/com/android/incallui/call/
DCallList.java17 package com.android.incallui.call;
41 import com.android.incallui.call.DialerCall.State;
116 final DialerCall call = in onCallAdded() local
118 logSecondIncomingCall(context, call); in onCallAdded()
120 final DialerCallListenerImpl dialerCallListener = new DialerCallListenerImpl(call); in onCallAdded()
121 call.addListener(dialerCallListener); in onCallAdded()
122 LogUtil.d("CallList.onCallAdded", "callState=" + call.getState()); in onCallAdded()
133 call.getState() == DialerCall.State.INCOMING in onCallAdded()
134 || call.getState() == DialerCall.State.CALL_WAITING; in onCallAdded()
141 } else if (isPotentialEmergencyCallback(context, call)) { in onCallAdded()
[all …]
DTelecomAdapter.java17 package com.android.incallui.call;
59 DialerCall call = CallList.getInstance().getCallById(callId); in getTelecomCallById() local
60 return call == null ? null : call.getTelecomCall(); in getTelecomCallById()
80 android.telecom.Call call = getTelecomCallById(callId); in merge() local
81 if (call != null) { in merge()
82 List<android.telecom.Call> conferenceable = call.getConferenceableCalls(); in merge()
84 call.conference(conferenceable.get(0)); in merge()
86 if (call.getDetails().can(android.telecom.Call.Details.CAPABILITY_MERGE_CONFERENCE)) { in merge()
87 call.mergeConference(); in merge()
96 android.telecom.Call call = getTelecomCallById(callId); in swap() local
[all …]
/packages/apps/Dialer/java/com/android/incallui/
DVideoCallPresenter.java37 import com.android.incallui.call.CallList;
38 import com.android.incallui.call.DialerCall;
39 import com.android.incallui.call.DialerCall.CameraDirection;
40 import com.android.incallui.call.DialerCall.State;
41 import com.android.incallui.call.InCallVideoCallCallbackNotifier;
42 import com.android.incallui.call.InCallVideoCallCallbackNotifier.SurfaceChangeListener;
202 private static void updateCameraSelection(DialerCall call) { in updateCameraSelection() argument
203 LogUtil.v("VideoCallPresenter.updateCameraSelection", "call=" + call); in updateCameraSelection()
204 LogUtil.v("VideoCallPresenter.updateCameraSelection", "call=" + toSimpleString(call)); in updateCameraSelection()
211 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;
80 private static boolean isIncomingCall(DialerCall call) { in isIncomingCall() argument
81 return call != null in isIncomingCall()
82 && (call.getState() == DialerCall.State.CALL_WAITING in isIncomingCall()
83 || call.getState() == DialerCall.State.INCOMING); in isIncomingCall()
138 DialerCall call; in onStateChange() local
140 call = callList.getIncomingCall(); in onStateChange()
142 call = callList.getWaitingForAccountCall(); in onStateChange()
[all …]
DStatusBarNotifier.java81 import com.android.incallui.call.CallList;
82 import com.android.incallui.call.DialerCall;
83 import com.android.incallui.call.DialerCallListener;
243 final DialerCall call = getCallToShow(callList); in updateInCallNotification() local
245 if (call != null) { in updateInCallNotification()
246 showNotification(callList, call); in updateInCallNotification()
253 private void showNotification(final CallList callList, final DialerCall call) { in showNotification() argument
255 (call.getState() == DialerCall.State.INCOMING in showNotification()
256 || call.getState() == DialerCall.State.CALL_WAITING); in showNotification()
257 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;
134 final DialerCall call = mCallList.getDialerCallFromTelecomCall(telecomCall);
135 if (call == null) {
139 onPostDialCharWait(call.getId(), remainingPostDialSequence);
145 final DialerCall call = mCallList.getDialerCallFromTelecomCall(telecomCall);
146 if (call == null) {
162 listener.onDetailsChanged(call, details);
[all …]
DAnswerScreenPresenter.java32 import com.android.incallui.call.CallList;
33 import com.android.incallui.call.DialerCall;
34 import com.android.incallui.call.DialerCallListener;
41 @NonNull private final DialerCall call; field in AnswerScreenPresenter
44 @NonNull Context context, @NonNull AnswerScreen answerScreen, @NonNull DialerCall call) { in AnswerScreenPresenter() argument
48 this.call = Assert.isNotNull(call); in AnswerScreenPresenter()
49 if (isSmsResponseAllowed(call)) { in AnswerScreenPresenter()
50 answerScreen.setTextResponses(call.getCannedSmsResponses()); in AnswerScreenPresenter()
52 call.addCannedTextResponsesLoadedListener(this); in AnswerScreenPresenter()
55 if (AnswerProximitySensor.shouldUse(context, call)) { in AnswerScreenPresenter()
[all …]
DInCallActivity.java48 import com.android.incallui.call.CallList;
49 import com.android.incallui.call.DialerCall;
50 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 …]
DCallButtonPresenter.java37 import com.android.incallui.call.CallList;
38 import com.android.incallui.call.DialerCall;
39 import com.android.incallui.call.DialerCall.CameraDirection;
40 import com.android.incallui.call.TelecomAdapter;
138 public void onDetailsChanged(DialerCall call, android.telecom.Call.Details details) { in onDetailsChanged() argument
140 if (mInCallButtonUi != null && call != null && call.equals(mCall)) { in onDetailsChanged()
141 updateButtonsState(call); in onDetailsChanged()
146 public void onIncomingCall(InCallState oldState, InCallState newState, DialerCall call) { in onIncomingCall() argument
357 private void updateUi(InCallState state, DialerCall call) { in updateUi() argument
358 LogUtil.v("CallButtonPresenter", "updating call UI for call: ", call); in updateUi()
[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;
73 public void onIncomingCall(final DialerCall call) { in onIncomingCall() argument
74 String number = call.getNumber(); in onIncomingCall()
82 call.setCallHistoryStatus(callHistoryStatus); in onIncomingCall()
90 public void onUpgradeToVideo(DialerCall call) {} in onUpgradeToVideo() argument
93 public void onSessionModificationStateChange(DialerCall call) {} in onSessionModificationStateChange() argument
99 public void onWiFiToLteHandover(DialerCall call) {} in onWiFiToLteHandover() argument
102 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.java49 public void onCallRemoved(Call call) { in onCreate()
57 public void onRttStarted(Call call) { in onCreate()
62 public void onRttStopped(Call call) { in onCreate()
67 public void onRttInitiationFailed(Call call, int reason) { in onCreate()
73 public void onRttRequest(Call call, int id) { in onCreate()
90 Call call = mCallList.getCall(0); in onCreate()
91 if (call != null) { in onCreate()
92 call.disconnect(); in onCreate()
99 Call call = mCallList.getCall(0); in onCreate()
100 if (call != null) { in onCreate()
[all …]
/packages/apps/Dialer/java/com/android/incallui/videotech/ims/
DImsVideoTech.java36 private final Call call; field in ImsVideoTech
44 public ImsVideoTech(LoggingBindings logger, VideoTechListener listener, Call call) { in ImsVideoTech() argument
47 this.call = call; in ImsVideoTech()
57 call.getDetails().can(Call.Details.CAPABILITY_SUPPORTS_VT_LOCAL_TX) in isAvailable()
58 && call.getDetails().can(Call.Details.CAPABILITY_SUPPORTS_VT_REMOTE_RX); in isAvailable()
60 return call.getVideoCall() != null in isAvailable()
61 && (hasCapabilities || VideoProfile.isVideo(call.getDetails().getVideoState())); in isAvailable()
66 return VideoProfile.isVideo(call.getDetails().getVideoState()); in isTransmittingOrReceiving()
95 callback = new ImsVideoCallCallback(logger, call, this, listener); in onCallStateChanged()
96 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 …]
/packages/services/Telecomm/proto/
Dtelecom.proto11 // Information about each call.
168 // The shortened component name of the in-call service.
171 // The type of the in-call service
175 // Information about each call.
178 // Information on call-types.
184 // Incoming call.
187 // Outgoing call.
212 // Disconnected because there was no response to an incoming call.
215 // Disconnected because the user rejected an incoming call.
221 // Disconnected because of a restriction on placing the call,
[all …]

12345678910>>...20