Home
last modified time | relevance | path

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

12345678910>>...21

/packages/apps/Dialer/java/com/android/incallui/call/
DCallList.java17 package com.android.incallui.call;
45 import com.android.incallui.call.state.DialerCallState;
137 final DialerCall call = in onCallAdded() local
140 logSecondIncomingCall(context, getFirstCall(), call); in onCallAdded()
144 manager.registerCapabilitiesListener(call); in onCallAdded()
145 manager.registerStateChangedListener(call); in onCallAdded()
148 call.addListener(new DialerCallListenerImpl(call)); in onCallAdded()
149 LogUtil.d("CallList.onCallAdded", "callState=" + call.getState()); in onCallAdded()
153 SpamComponent.get(context).spam().checkSpamStatus(number, call.getCountryIso()); in onCallAdded()
161 call.getState() == DialerCallState.INCOMING in onCallAdded()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DCallsManager.java154 void onCallAdded(Call call); in onCallAdded() argument
155 void onCallRemoved(Call call); in onCallRemoved() argument
156 void onCallStateChanged(Call call, int oldState, int newState); in onCallStateChanged() argument
158 Call call, in onConnectionServiceChanged() argument
161 void onIncomingCallAnswered(Call call); in onIncomingCallAnswered() argument
162 void onIncomingCallRejected(Call call, boolean rejectWithMessage, String textMessage); in onIncomingCallRejected() argument
164 void onRingbackRequested(Call call, boolean ringback); in onRingbackRequested() argument
165 void onIsConferencedChanged(Call call); in onIsConferencedChanged() argument
166 void onIsVoipAudioModeChanged(Call call); in onIsVoipAudioModeChanged() argument
167 void onVideoStateChanged(Call call, int previousVideoState, int newVideoState); in onVideoStateChanged() argument
[all …]
DCallAudioManager.java105 public void onCallStateChanged(Call call, int oldState, int newState) { in onCallStateChanged() argument
106 if (shouldIgnoreCallForAudio(call)) { in onCallStateChanged()
110 Log.d(LOG_TAG, "Call state changed for TC@%s: %s -> %s", call.getId(), in onCallStateChanged()
113 removeCallFromAllBins(call); in onCallStateChanged()
114 HashSet<Call> newBinForCall = getBinForCall(call); in onCallStateChanged()
116 newBinForCall.add(call); in onCallStateChanged()
122 playToneForDisconnectedCall(call); in onCallStateChanged()
125 onCallLeavingState(call, oldState); in onCallStateChanged()
126 onCallEnteringState(call, newState); in onCallStateChanged()
130 public void onCallAdded(Call call) { in onCallAdded() argument
[all …]
DConnectionServiceWrapper.java145 Call call = mCallIdMapper.getCall(callId); in setActive() local
146 if (call != null) { in setActive()
147 mCallsManager.markCallAsActive(call); in setActive()
168 Call call = mCallIdMapper.getCall(callId); in setRinging() local
169 if (call != null) { in setRinging()
170 mCallsManager.markCallAsRinging(call); in setRinging()
191 Call call = mCallIdMapper.getCall(callId); in resetConnectionTime() local
192 if (call != null) { in resetConnectionTime()
193 mCallsManager.resetConnectionTime(call); in resetConnectionTime()
212 Call call = mCallIdMapper.getCall(callId); in setVideoProvider() local
[all …]
DInCallAdapter.java59 Call call = mCallIdMapper.getCall(callId); in answerCall() local
60 if (call != null) { in answerCall()
61 mCallsManager.answerCall(call, videoState); in answerCall()
82 Call call = mCallIdMapper.getCall(callId); in deflectCall() local
83 if (call != null) { in deflectCall()
84 mCallsManager.deflectCall(call, address); in deflectCall()
115 Call call = mCallIdMapper.getCall(callId); in rejectCall() local
116 if (call != null) { in rejectCall()
117 mCallsManager.rejectCall(call, rejectWithMessage, textMessage); in rejectCall()
141 Call call = mCallIdMapper.getCall(callId); in rejectCallWithReason() local
[all …]
DInCallController.java91 public void onDisconnect(InCallServiceConnection conn, Call call) {} in onDisconnect() argument
96 public int connect(Call call) { return CONNECTION_FAILED; } in connect() argument
267 public int connect(Call call) { in connect() argument
269 Log.addEvent(call, LogUtils.Events.INFO, "Already connected, ignoring request."); in connect()
273 if (call != null && call.isSelfManaged() && in connect()
283 if (call != null && !call.isIncoming() && !call.isExternalCall()){ in connect()
285 call.getIntentExtras()); in connect()
287 call.getTargetPhoneAccount()); in connect()
301 if (mIsConnected && call != null) { in connect()
302 mCall = call; in connect()
[all …]
DParcelableCallUtils.java67 public ParcelableCall toParcelableCall(Call call, boolean includeVideoProvider, in toParcelableCall() argument
70 call, includeVideoProvider, phoneAccountRegistrar, false, false, false); in toParcelableCall()
73 public ParcelableCall toParcelableCallForScreening(Call call, in toParcelableCallForScreening() argument
75 return ParcelableCallUtils.toParcelableCallForScreening(call, in toParcelableCallForScreening()
99 Call call, in toParcelableCall() argument
105 return toParcelableCall(call, includeVideoProvider, phoneAccountRegistrar, in toParcelableCall()
130 Call call, in toParcelableCall() argument
139 state = getParcelableState(call, supportsExternalCalls); in toParcelableCall()
143 int capabilities = convertConnectionToCallCapabilities(call.getConnectionCapabilities()); in toParcelableCall()
144 int properties = convertConnectionToCallProperties(call.getConnectionProperties()); in toParcelableCall()
[all …]
DCallLogManager.java164 public void onCallStateChanged(Call call, int oldState, int newState) { in onCallStateChanged() argument
165 int disconnectCause = call.getDisconnectCause().getCode(); in onCallStateChanged()
174 if (shouldLogDisconnectedCall(call, oldState, isCallCanceled)) { in onCallStateChanged()
176 if (!call.isIncoming()) { in onCallStateChanged()
189 boolean showNotification = !call.isSelfManaged(); in onCallStateChanged()
190 logCall(call, type, showNotification, null /*result*/); in onCallStateChanged()
207 public boolean shouldLogDisconnectedCall(Call call, int oldState, boolean isCallCanceled) { in shouldLogDisconnectedCall() argument
208 boolean shouldCallSelfManagedLogged = call.isLoggedSelfManaged() in shouldLogDisconnectedCall()
209 && (call.getHandoverState() == HandoverState.HANDOVER_NONE in shouldLogDisconnectedCall()
210 || call.getHandoverState() == HandoverState.HANDOVER_COMPLETE); in shouldLogDisconnectedCall()
[all …]
DConnectionServiceFocusManager.java135 void onRequestFocusDone(CallFocus call); in onRequestFocusDone() argument
176 public void onCallAdded(Call call) {
177 if (callShouldBeIgnored(call)) {
186 call))
191 public void onCallRemoved(Call call) {
192 if (callShouldBeIgnored(call)) {
201 call))
206 public void onCallStateChanged(Call call, int oldState, int newState) {
207 if (callShouldBeIgnored(call)) {
216 call))
[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.InCallVideoCallCallbackNotifier;
42 import com.android.incallui.call.InCallVideoCallCallbackNotifier.SurfaceChangeListener;
43 import com.android.incallui.call.state.DialerCallState;
197 private static void updateCameraSelection(DialerCall call) { in updateCameraSelection() argument
198 LogUtil.v("VideoCallPresenter.updateCameraSelection", "call=" + call); in updateCameraSelection()
199 LogUtil.v("VideoCallPresenter.updateCameraSelection", "call=" + toSimpleString(call)); in updateCameraSelection()
206 if (call == null) { in updateCameraSelection()
[all …]
DCallButtonPresenter.java42 import com.android.incallui.call.CallList;
43 import com.android.incallui.call.DialerCall;
44 import com.android.incallui.call.DialerCall.CameraDirection;
45 import com.android.incallui.call.DialerCallListener;
46 import com.android.incallui.call.TelecomAdapter;
47 import com.android.incallui.call.state.DialerCallState;
67 private DialerCall call; field in CallButtonPresenter
106 if (call != null) { in onInCallButtonUiUnready()
107 call.removeListener(this); in onInCallButtonUiUnready()
114 if (call != null) { in onStateChange()
[all …]
DVideoPauseController.java25 import com.android.incallui.call.CallList;
26 import com.android.incallui.call.DialerCall;
27 import com.android.incallui.call.state.DialerCallState;
75 private static boolean isIncomingCall(DialerCall call) { in isIncomingCall() argument
76 return call != null in isIncomingCall()
77 && (call.getState() == DialerCallState.CALL_WAITING in isIncomingCall()
78 || call.getState() == DialerCallState.INCOMING); in isIncomingCall()
133 DialerCall call; in onStateChange() local
135 call = callList.getIncomingCall(); in onStateChange()
137 call = callList.getWaitingForAccountCall(); in onStateChange()
[all …]
DReturnToCallActionReceiver.java28 import com.android.incallui.call.CallList;
29 import com.android.incallui.call.DialerCall;
30 import com.android.incallui.call.TelecomAdapter;
66 DialerCall call = getCall(); in returnToCall() local
70 call != null ? call.getUniqueCallId() : "", in returnToCall()
71 call != null ? call.getTimeAddedMs() : 0); in returnToCall()
89 DialerCall call = getCall(); in toggleSpeaker() local
97 call != null ? call.getUniqueCallId() : "", in toggleSpeaker()
98 call != null ? call.getTimeAddedMs() : 0); in toggleSpeaker()
104 call != null ? call.getUniqueCallId() : "", in toggleSpeaker()
[all …]
DStatusBarNotifier.java86 import com.android.incallui.call.CallList;
87 import com.android.incallui.call.DialerCall;
88 import com.android.incallui.call.DialerCallListener;
89 import com.android.incallui.call.TelecomAdapter;
90 import com.android.incallui.call.state.DialerCallState;
237 final DialerCall call = getCallToShow(CallList.getInstance()); in updateInCallNotification() local
239 if (call != null) { in updateInCallNotification()
240 showNotification(call); in updateInCallNotification()
247 private void showNotification(final DialerCall call) { in showNotification() argument
250 (call.getState() == DialerCallState.INCOMING in showNotification()
[all …]
DInCallActivity.java81 import com.android.incallui.call.CallList;
82 import com.android.incallui.call.DialerCall;
83 import com.android.incallui.call.TelecomAdapter;
84 import com.android.incallui.call.state.DialerCallState;
349 DialerCall call = CallList.getInstance().getActiveOrBackgroundCall(); in relaunchedFromDialer() local
350 if (call != null && call.getState() == DialerCallState.ONHOLD) { in relaunchedFromDialer()
351 call.unhold(); in relaunchedFromDialer()
1091 DialerCall call = CallList.getInstance().getCallById(answerScreen.getCallId()); in newAnswerScreenDelegate() local
1092 if (call == null) { in newAnswerScreenDelegate()
1134 public void showDialogOrToastForWifiHandoverFailure(DialerCall call) { in showDialogOrToastForWifiHandoverFailure() argument
[all …]
/packages/providers/CallLogProvider/src/com/android/calllogbackup/
DCallLogBackupAgent.java188 Call call = readCallFromData(data); in onRestore() local
189 if (call != null && call.type != Calls.VOICEMAIL_TYPE) { in onRestore()
190 writeCallToProvider(call); in onRestore()
192 Log.d(TAG, "Restored call: " + call); in onRestore()
205 for (Call call : calls) { in runBackup()
206 if (!state.callIds.contains(call.id)) { in runBackup()
209 Log.d(TAG, "Adding call to backup: " + call); in runBackup()
213 addCallToBackup(data, call); in runBackup()
214 state.callIds.add(call.id); in runBackup()
218 callsToRemove.remove(call.id); in runBackup()
[all …]
/packages/apps/Dialer/java/com/android/incallui/spam/
DSpamCallListListener.java52 import com.android.incallui.call.CallList;
53 import com.android.incallui.call.DialerCall;
54 import com.android.incallui.call.DialerCall.CallHistoryStatus;
137 public void onIncomingCall(final DialerCall call) { in onIncomingCall() argument
138 String number = call.getNumber(); in onIncomingCall()
151 new NumberInCallHistoryWorker(context, number, call.getCountryIso()); in onIncomingCall()
154 .onSuccess((result) -> call.setCallHistoryStatus(result)) in onIncomingCall()
160 public void onUpgradeToVideo(DialerCall call) {} in onUpgradeToVideo() argument
163 public void onSessionModificationStateChange(DialerCall call) {} in onSessionModificationStateChange() argument
169 public void onWiFiToLteHandover(DialerCall call) {} in onWiFiToLteHandover() 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 …]
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/
DCarModeCallList.java39 public void onCallAdded(Call call) {} in onCallAdded() argument
40 public void onCallRemoved(Call call) {} in onCallRemoved() argument
41 public void onRttStarted(Call call) {} in onRttStarted() argument
42 public void onRttStopped(Call call) {} in onRttStopped() argument
43 public void onRttInitiationFailed(Call call, int reason) {} in onRttInitiationFailed() argument
44 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 …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallTest.java100 Call call = new Call( in testSetHasGoneActive() local
117 assertFalse(call.hasGoneActiveBefore()); in testSetHasGoneActive()
118 call.setState(CallState.ACTIVE, ""); in testSetHasGoneActive()
119 assertTrue(call.hasGoneActiveBefore()); in testSetHasGoneActive()
120 call.setState(CallState.AUDIO_PROCESSING, ""); in testSetHasGoneActive()
121 assertTrue(call.hasGoneActiveBefore()); in testSetHasGoneActive()
127 Call call = new Call( in testDisconnectCauseWhenAudioProcessing() local
143 call.setState(CallState.AUDIO_PROCESSING, ""); in testDisconnectCauseWhenAudioProcessing()
144 call.disconnect(); in testDisconnectCauseWhenAudioProcessing()
145 call.setDisconnectCause(new DisconnectCause(DisconnectCause.LOCAL)); in testDisconnectCauseWhenAudioProcessing()
[all …]
DCallAudioManagerTest.java115 Call call = createIncomingCall(); in testUnmuteOfSecondIncomingCall() local
117 when(call.can(android.telecom.Call.Details.CAPABILITY_SPEED_UP_MT_AUDIO)) in testUnmuteOfSecondIncomingCall()
119 when(call.getId()).thenReturn("1"); in testUnmuteOfSecondIncomingCall()
122 mCallAudioManager.onIncomingCallAnswered(call); in testUnmuteOfSecondIncomingCall()
123 when(call.getState()).thenReturn(CallState.ACTIVE); in testUnmuteOfSecondIncomingCall()
124 mCallAudioManager.onCallStateChanged(call, CallState.RINGING, CallState.ACTIVE); in testUnmuteOfSecondIncomingCall()
154 mCallAudioManager.onIncomingCallAnswered(call); in testUnmuteOfSecondIncomingCall()
178 Call call = createIncomingCall();
180 when(call.can(android.telecom.Call.Details.CAPABILITY_SPEED_UP_MT_AUDIO))
184 mCallAudioManager.onIncomingCallAnswered(call);
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DDisconnectedCallNotifier.java126 public void onCallRemoved(Call call) { in onCallRemoved() argument
135 public void onCallStateChanged(Call call, int oldState, int newState) { in onCallStateChanged() argument
136 DisconnectCause cause = call.getDisconnectCause(); in onCallStateChanged()
146 UserHandle userHandle = call.getTargetPhoneAccount() != null ? in onCallStateChanged()
147 call.getTargetPhoneAccount().getUserHandle() : call.getInitiatingUser(); in onCallStateChanged()
150 mPendingCallNotification = new CallInfo(userHandle, call.getHandle(), in onCallStateChanged()
151 call.getCreationTimeMillis() + call.getAgeMillis(), call.getPhotoIcon(), in onCallStateChanged()
152 call.getPhoto(), call.getName(), call.isEmergencyCall()); in onCallStateChanged()
156 private void showDisconnectedNotification(@NonNull CallInfo call) { in showDisconnectedNotification() argument
157 Log.i(this, "showDisconnectedNotification: userHandle=%d", call.userHandle.getIdentifier()); in showDisconnectedNotification()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientDeviceBlock.java82 for (BluetoothHeadsetClientCall call : calls) { in HfpClientDeviceBlock()
83 handleCall(call); in HfpClientDeviceBlock()
90 synchronized HfpClientConnection onCreateIncomingConnection(BluetoothHeadsetClientCall call) { in onCreateIncomingConnection() argument
91 HfpClientConnection connection = mConnections.get(call.getUUID()); in onCreateIncomingConnection()
96 Log.e(mTAG, "Call " + call + " ignored: connection does not exist"); in onCreateIncomingConnection()
109 synchronized HfpClientConnection onCreateUnknownConnection(BluetoothHeadsetClientCall call) { in onCreateUnknownConnection() argument
110 Uri number = Uri.fromParts(PhoneAccount.SCHEME_TEL, call.getNumber(), null); in onCreateUnknownConnection()
111 HfpClientConnection connection = mConnections.get(call.getUUID()); in onCreateUnknownConnection()
117 Log.e(mTAG, "Call " + call + " ignored: connection does not exist"); in onCreateUnknownConnection()
146 synchronized void handleCall(BluetoothHeadsetClientCall call) { in handleCall() argument
[all …]
/packages/apps/Dialer/java/com/android/incallui/videotech/ims/
DImsVideoTech.java40 private final Call call; field in ImsVideoTech
55 public ImsVideoTech(LoggingBindings logger, VideoTechListener listener, Call call) { in ImsVideoTech() argument
58 this.call = call; in ImsVideoTech()
63 if (call.getVideoCall() == null) { in isAvailable()
69 if (VideoProfile.isVideo(call.getDetails().getVideoState())) { in isAvailable()
81 if (!call.getDetails().can(Call.Details.CAPABILITY_SUPPORTS_VT_LOCAL_TX)) { in isAvailable()
87 if (!call.getDetails().can(Call.Details.CAPABILITY_SUPPORTS_VT_REMOTE_RX)) { in isAvailable()
97 return VideoProfile.isVideo(call.getDetails().getVideoState()); in isTransmittingOrReceiving()
132 callback = new ImsVideoCallCallback(logger, call, this, listener, context); in onCallStateChanged()
133 call.getVideoCall().registerCallback(callback); in onCallStateChanged()
[all …]
/packages/apps/Dialer/java/com/android/dialer/logging/
Ddialer_impression.proto29 // button in the call log
32 // Number identified as spam and the user tapped on the block number call
36 // User tapped on the unblock number in the call log
69 // blocking the number via call log. This is for case where the user wants
108 // User added the number to contacts from the after call notification
113 // User marked the number as spam on the after call notification flow
143 // User is in a active call i.e either incoming or outgoing
144 // This is mainly so we can assign an impression event to a call event i.e
147 // a call event
152 // Incoming call is a spam call
[all …]

12345678910>>...21