Home
last modified time | relevance | path

Searched refs:callId (Results 1 – 25 of 55) sorted by relevance

123

/packages/services/Telecomm/src/com/android/server/telecom/
DConnectionServiceWrapper.java73 public void handleCreateConnectionComplete(String callId, ConnectionRequest request, in handleCreateConnectionComplete() argument
79 logIncoming("handleCreateConnectionComplete %s", callId); in handleCreateConnectionComplete()
81 .handleCreateConnectionComplete(callId, request, connection); in handleCreateConnectionComplete()
84 logOutgoing("createConnectionComplete %s", callId); in handleCreateConnectionComplete()
86 mServiceInterface.createConnectionComplete(callId, in handleCreateConnectionComplete()
102 public void setActive(String callId, Session.Info sessionInfo) { in setActive() argument
107 logIncoming("setActive %s", callId); in setActive()
108 Call call = mCallIdMapper.getCall(callId); in setActive()
125 public void setRinging(String callId, Session.Info sessionInfo) { in setRinging() argument
130 logIncoming("setRinging %s", callId); in setRinging()
[all …]
DInCallAdapter.java50 public void answerCall(String callId, int videoState) { in answerCall() argument
56 Log.d(this, "answerCall(%s,%d)", callId, videoState); in answerCall()
57 Call call = mCallIdMapper.getCall(callId); in answerCall()
61 Log.w(this, "answerCall, unknown call id: %s", callId); in answerCall()
73 public void deflectCall(String callId, Uri address) { in deflectCall() argument
79 Log.i(this, "deflectCall - %s, %s ", callId, Log.pii(address)); in deflectCall()
80 Call call = mCallIdMapper.getCall(callId); in deflectCall()
84 Log.w(this, "deflectCall, unknown call id: %s", callId); in deflectCall()
96 public void rejectCall(String callId, boolean rejectWithMessage, String textMessage) { in rejectCall() argument
112 Log.d(this, "rejectCall(%s,%b,%s)", callId, rejectWithMessage, textMessage); in rejectCall()
[all …]
DAnalytics.java214 public String callId; field in Analytics.CallInfoImpl
244 CallInfoImpl(String callId, int callDirection) { in CallInfoImpl() argument
245 this.callId = callId; in CallInfoImpl()
256 this.callId = other.callId; in CallInfoImpl()
286 Log.d(TAG, "setting startTime for call " + callId + " to " + startTime); in setCallStartTime()
292 Log.d(TAG, "setting endTime for call " + callId + " to " + endTime); in setCallEndTime()
298 Log.d(TAG, "setting isAdditional for call " + callId + " to " + isAdditional); in setCallIsAdditional()
304 Log.d(TAG, "setting isInterrupted for call " + callId + " to " + isInterrupted); in setCallIsInterrupted()
310 Log.d(TAG, "adding callTechnology for call " + callId + ": " + callTechnology); in addCallTechnology()
322 Log.d(TAG, "setting disconnectCause for call " + callId + " to " + disconnectCause); in setCallDisconnectCause()
[all …]
DCallIdMapper.java93 String callId = getCallId(callToReplace); in replaceCall() local
94 mCalls.put(callId, newCall); in replaceCall()
115 void removeCall(String callId) { in removeCall() argument
116 mCalls.remove(callId); in removeCall()
127 String callId = null; in getCall() local
129 callId = (String) objId; in getCall()
132 return mCalls.getValue(callId); in getCall()
DTelecomBroadcastIntentProcessor.java165 String callId = intent.getStringExtra( in processIntent() local
167 mCallsManager.confirmPendingCall(callId); in processIntent()
174 String callId = intent.getStringExtra( in processIntent() local
176 mCallsManager.cancelPendingCall(callId); in processIntent()
/packages/apps/Dialer/java/com/android/incallui/
DContactInfoCache.java299 ContactCacheEntry getInfo(String callId) { in getInfo() argument
300 return infoMap.get(callId); in getInfo()
354 final String callId = call.getId(); in findInfo() local
355 final ContactCacheEntry cacheEntry = infoMap.get(callId); in findInfo()
356 Set<ContactInfoCacheCallback> callBacks = this.callBacks.get(callId); in findInfo()
361 Log.d(TAG, "findInfo: callId = " + callId + "; forceQuery = " + forceQuery); in findInfo()
370 callback.onContactInfoComplete(callId, cacheEntry); in findInfo()
392 this.callBacks.put(callId, callBacks); in findInfo()
402 final CallerInfoQueryToken queryToken = new CallerInfoQueryToken(queryId, callId); in findInfo()
408 new DialerCallCookieWrapper(callId, call.getNumberPresentation(), call.getCnapName()), in findInfo()
[all …]
DConferenceParticipantListAdapter.java156 String callId = call.getId(); in refreshCall() local
158 if (participantsByCallId.containsKey(callId)) { in refreshCall()
159 ParticipantInfo participantInfo = participantsByCallId.get(callId); in refreshCall()
161 refreshView(callId); in refreshCall()
175 private void refreshView(String callId) { in refreshView() argument
182 if (rowCallId.equals(callId)) { in refreshView()
257 /* package */ void updateContactInfo(String callId, ContactCacheEntry entry) { in updateContactInfo() argument
258 if (participantsByCallId.containsKey(callId)) { in updateContactInfo()
259 ParticipantInfo participantInfo = participantsByCallId.get(callId); in updateContactInfo()
262 refreshView(callId); in updateContactInfo()
[all …]
DPostCharDialogFragment.java35 private String callId; field in PostCharDialogFragment
40 public PostCharDialogFragment(String callId, String postDialStr) { in PostCharDialogFragment() argument
41 this.callId = callId; in PostCharDialogFragment()
50 callId = savedInstanceState.getString(STATE_CALL_ID); in onCreateDialog()
66 TelecomAdapter.getInstance().postDialContinue(callId, true); in onCreateDialog()
86 TelecomAdapter.getInstance().postDialContinue(callId, false); in onCancel()
93 outState.putString(STATE_CALL_ID, callId); in onSaveInstanceState()
DPostCharDialogActivity.java36 private String callId; field in PostCharDialogActivity
42 callId = getIntent().getStringExtra(EXTRA_CALL_ID); in onCreate()
44 if (callId == null || postDialString == null) { in onCreate()
49 PostCharDialogFragment fragment = new PostCharDialogFragment(callId, postDialString); in onCreate()
72 if (callId.equals(call.getId())) { in onDisconnect()
DCallCardPresenter.java587 private void onContactInfoComplete(String callId, ContactCacheEntry entry, boolean isPrimary) { in onContactInfoComplete() argument
589 (isPrimary && primary != null && TextUtils.equals(callId, primary.getId())) in onContactInfoComplete()
590 || (!isPrimary && secondary != null && TextUtils.equals(callId, secondary.getId())); in onContactInfoComplete()
596 "dropping stale contact lookup info for " + callId); in onContactInfoComplete()
599 final DialerCall call = CallList.getInstance().getCallById(callId); in onContactInfoComplete()
608 private void onImageLoadComplete(String callId, ContactCacheEntry entry) { in onImageLoadComplete() argument
614 if (primary != null && callId.equals(primary.getId())) { in onImageLoadComplete()
616 } else if (secondary != null && callId.equals(secondary.getId())) { in onImageLoadComplete()
1178 public void onContactInfoComplete(String callId, ContactCacheEntry entry) { in onContactInfoComplete() argument
1181 presenter.onContactInfoComplete(callId, entry, isPrimary); in onContactInfoComplete()
[all …]
DRttRequestDialogFragment.java48 public static RttRequestDialogFragment newInstance(String callId, int rttRequestId) { in newInstance() argument
51 args.putString(ARG_CALL_ID, Assert.isNotNull(callId)); in newInstance()
124 public void onContactInfoComplete(String callId, ContactCacheEntry entry) { in onContactInfoComplete() argument
146 public void onImageLoadComplete(String callId, ContactCacheEntry entry) {} in onImageLoadComplete() argument
/packages/apps/Dialer/java/com/android/incallui/call/
DTelecomAdapter.java68 private android.telecom.Call getTelecomCallById(String callId) { in getTelecomCallById() argument
69 DialerCall call = CallList.getInstance().getCallById(callId); in getTelecomCallById()
89 public void merge(String callId) { in merge() argument
90 android.telecom.Call call = getTelecomCallById(callId); in merge()
105 LogUtil.e("TelecomAdapter.merge", "call not in call list " + callId); in merge()
109 public void swap(String callId) { in swap() argument
110 android.telecom.Call call = getTelecomCallById(callId); in swap()
116 LogUtil.e("TelecomAdapter.swap", "call not in call list " + callId); in swap()
141 public void playDtmfTone(String callId, char digit) { in playDtmfTone() argument
142 android.telecom.Call call = getTelecomCallById(callId); in playDtmfTone()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DConnectionServiceFixture.java257 String callId, ConnectionRequest request, boolean isIncoming, in createConnectionFailed() argument
259 Log.i(ConnectionServiceFixture.this, "createConnectionFailed --> " + callId); in createConnectionFailed()
261 if (mConnectionById.containsKey(callId)) { in createConnectionFailed()
262 throw new RuntimeException("Connection already exists: " + callId); in createConnectionFailed()
269 public void abort(String callId, Session.Info info) throws RemoteException { } in abort() argument
272 public void answerVideo(String callId, int videoState, in answerVideo() argument
276 public void answer(String callId, Session.Info info) throws RemoteException { } in answer() argument
279 public void deflect(String callId, Uri address, Session.Info info) in deflect() argument
283 public void reject(String callId, Session.Info info) throws RemoteException { in reject() argument
284 rejectedCallIds.add(callId); in reject()
[all …]
DInCallServiceFixture.java91 public void setPostDial(String callId, String remaining) throws RemoteException { in setPostDial() argument
92 mPostDialWaitById.remove(callId); in setPostDial()
93 mPostDialById.put(callId, remaining); in setPostDial()
97 public void setPostDialWait(String callId, String remaining) throws RemoteException { in setPostDialWait() argument
98 mPostDialById.remove(callId); in setPostDialWait()
99 mPostDialWaitById.put(callId, remaining); in setPostDialWait()
124 public void onConnectionEvent(String callId, String event, Bundle extras) in onConnectionEvent() argument
129 public void onRttUpgradeRequest(String callId, int id) throws RemoteException { in onRttUpgradeRequest() argument
133 public void onRttInitiationFailure(String callId, int reason) throws RemoteException { in onRttInitiationFailure() argument
147 public void onHandoverFailed(String callId, int error) {} in onHandoverFailed() argument
[all …]
/packages/apps/Car/Dialer/src/com/android/car/dialer/notification/
DNotificationService.java61 String callId = intent.getStringExtra(EXTRA_CALL_ID); in onHandleWork() local
64 answerCall(callId); in onHandleWork()
67 declineCall(callId); in onHandleWork()
70 UiCallManager.get().placeCall(callId); in onHandleWork()
71 TelecomUtils.markCallLogAsRead(getApplicationContext(), callId); in onHandleWork() local
75 TelecomUtils.markCallLogAsRead(getApplicationContext(), callId); in onHandleWork() local
78 TelecomUtils.markCallLogAsRead(getApplicationContext(), callId); in onHandleWork() local
85 private void answerCall(String callId) { in answerCall() argument
89 && TextUtils.equals(call.getDetails().getTelecomCallId(), callId)) { in answerCall()
96 private void declineCall(String callId) { in declineCall() argument
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
DCallScreeningServiceFilter.java92 public void allowCall(String callId) { in allowCall() argument
97 Log.d(this, "allowCall(%s)", callId); in allowCall()
98 if (mCall != null && mCall.getId().equals(callId)) { in allowCall()
107 Log.w(this, "allowCall, unknown call id: %s", callId); in allowCall()
119 String callId, in disallowCall() argument
131 + "shouldShowNotification: %b", callId, shouldReject, in disallowCall()
133 if (mCall != null && mCall.getId().equals(callId)) { in disallowCall()
145 Log.w(this, "disallowCall, unknown call id: %s", callId); in disallowCall()
156 public void silenceCall(String callId) { in silenceCall() argument
161 Log.d(this, "silenceCall(%s)", callId); in silenceCall()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DConfirmCallDialogActivity.java42 final String callId = getIntent().getStringExtra(EXTRA_OUTGOING_CALL_ID); in onCreate() local
45 showDialog(callId, ongoingAppName); in onCreate()
48 private void showDialog(final String callId, CharSequence ongoingAppName) { in showDialog() argument
49 Log.i(this, "showDialog: confirming callId=%s, ongoing=%s", callId, ongoingAppName); in showDialog()
60 proceedWithCall.putExtra(EXTRA_OUTGOING_CALL_ID, callId); in showDialog()
73 cancelCall.putExtra(EXTRA_OUTGOING_CALL_ID, callId); in showDialog()
86 cancelCall.putExtra(EXTRA_OUTGOING_CALL_ID, callId); in showDialog()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedCallNotificationReceiver.java38 int callId = intent.getIntExtra(IncomingSelfManagedCallActivity.EXTRA_CALL_ID, 0); in onReceive() local
42 .getConnectionById(callId); in onReceive()
45 Log.i(this, "onReceive - answerCall %d", callId); in onReceive()
49 notificationManager.cancel(SelfManagedConnection.CALL_NOTIFICATION, callId); in onReceive()
53 Log.i(this, "onReceive - rejectCall %d", callId); in onReceive()
58 notificationManager.cancel(SelfManagedConnection.CALL_NOTIFICATION, callId); in onReceive()
/packages/apps/Dialer/java/com/android/incallui/telecomeventui/
DInternationalCallOnWifiDialogFragment.java71 public static InternationalCallOnWifiDialogFragment newInstance(@NonNull String callId) { in newInstance() argument
74 args.putString(ARG_CALL_ID, Assert.isNotNull(callId)); in newInstance()
149 private void continueCall(@NonNull String callId) { in continueCall() argument
153 callId); in continueCall()
161 private void cancelCall(@NonNull String callId) { in cancelCall() argument
162 DialerCall call = CallList.getInstance().getCallById(callId); in cancelCall()
DInternationalCallOnWifiDialogActivity.java37 private String callId; field in InternationalCallOnWifiDialogActivity
43 callId = getIntent().getStringExtra(EXTRA_CALL_ID); in onCreate()
44 if (TextUtils.isEmpty(callId)) { in onCreate()
50 InternationalCallOnWifiDialogFragment.newInstance(callId); in onCreate()
73 if (callId.equals(call.getId())) { in onDisconnect()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DAnswerVideoCallScreen.java35 @NonNull private final String callId; field in AnswerVideoCallScreen
41 @NonNull String callId, @NonNull Fragment fragment, @NonNull View view) { in AnswerVideoCallScreen()
42 this.callId = Assert.isNotNull(callId); in AnswerVideoCallScreen()
109 return callId; in getCallId()
DSelfManagedAnswerVideoCallScreen.java53 @NonNull private final String callId; field in SelfManagedAnswerVideoCallScreen
63 @NonNull String callId, @NonNull Fragment fragment, @NonNull View view) { in SelfManagedAnswerVideoCallScreen()
64 this.callId = Assert.isNotNull(callId); in SelfManagedAnswerVideoCallScreen()
110 return callId; in getCallId()
/packages/apps/Dialer/java/com/android/incallui/video/impl/
DVideoChargesAlertDialogFragment.java53 public static boolean shouldShow(@NonNull Context context, String callId) { in shouldShow() argument
54 DialerCall call = CallList.getInstance().getCallById(callId); in shouldShow()
95 public static VideoChargesAlertDialogFragment newInstance(@NonNull String callId) { in newInstance() argument
98 args.putString(ARG_CALL_ID, Assert.isNotNull(callId)); in newInstance()
/packages/apps/Dialer/java/com/android/incallui/video/bindings/
DVideoBindings.java26 public static VideoCallScreen createVideoCallScreen(String callId, boolean usesSurfaceView) { in createVideoCallScreen() argument
28 return SurfaceViewVideoCallFragment.newInstance(callId); in createVideoCallScreen()
30 return VideoCallFragment.newInstance(callId); in createVideoCallScreen()
/packages/providers/CallLogProvider/src/com/android/calllogbackup/
DCallLogBackupAgent.java317 final int callId; in readCallFromData() local
319 callId = Integer.parseInt(data.getKey()); in readCallFromData()
331 call.id = callId; in readCallFromData()
391 Log.e(TAG, "Error reading call data for " + callId, e); in readCallFromData()
581 private void removeCallFromBackup(BackupDataOutput output, int callId) { in removeCallFromBackup() argument
583 output.writeEntityHeader(Integer.toString(callId), -1); in removeCallFromBackup()
585 Log.e(TAG, "Failed to remove call: " + callId, e); in removeCallFromBackup()

123