Home
last modified time | relevance | path

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

123

/packages/services/Telecomm/src/com/android/server/telecom/
DConnectionServiceWrapper.java75 public void handleCreateConnectionComplete(String callId, ConnectionRequest request, in handleCreateConnectionComplete() argument
81 logIncoming("handleCreateConnectionComplete %s", callId); in handleCreateConnectionComplete()
83 .handleCreateConnectionComplete(callId, request, connection); in handleCreateConnectionComplete()
86 logOutgoing("createConnectionComplete %s", callId); in handleCreateConnectionComplete()
88 mServiceInterface.createConnectionComplete(callId, in handleCreateConnectionComplete()
104 public void handleCreateConferenceComplete(String callId, ConnectionRequest request, in handleCreateConferenceComplete() argument
110 logIncoming("handleCreateConferenceComplete %s", callId); in handleCreateConferenceComplete()
112 .handleCreateConferenceComplete(callId, request, conference); in handleCreateConferenceComplete()
115 logOutgoing("createConferenceComplete %s", callId); in handleCreateConferenceComplete()
117 mServiceInterface.createConferenceComplete(callId, in handleCreateConferenceComplete()
[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.java218 public String callId; field in Analytics.CallInfoImpl
248 CallInfoImpl(String callId, int callDirection) { in CallInfoImpl() argument
249 this.callId = callId; in CallInfoImpl()
260 this.callId = other.callId; in CallInfoImpl()
290 Log.d(TAG, "setting startTime for call " + callId + " to " + startTime); in setCallStartTime()
296 Log.d(TAG, "setting endTime for call " + callId + " to " + endTime); in setCallEndTime()
302 Log.d(TAG, "setting isAdditional for call " + callId + " to " + isAdditional); in setCallIsAdditional()
308 Log.d(TAG, "setting isInterrupted for call " + callId + " to " + isInterrupted); in setCallIsInterrupted()
314 Log.d(TAG, "adding callTechnology for call " + callId + ": " + callTechnology); in addCallTechnology()
326 Log.d(TAG, "setting disconnectCause for call " + callId + " to " + disconnectCause); in setCallDisconnectCause()
[all …]
DCallIdMapper.java98 String callId = getCallId(callToReplace); in replaceCall() local
99 mCalls.put(callId, newCall); in replaceCall()
120 void removeCall(String callId) { in removeCall() argument
121 mCalls.remove(callId); in removeCall()
132 String callId = null; in getCall() local
134 callId = (String) objId; in getCall()
137 return mCalls.getValue(callId); in getCall()
/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()
283 String callId, in createConferenceFailed() argument
289 public void abort(String callId, Session.Info info) throws RemoteException { } in abort() argument
292 public void answerVideo(String callId, int videoState, in answerVideo() argument
296 public void answer(String callId, Session.Info info) throws RemoteException { } in answer() argument
299 public void deflect(String callId, Uri address, Session.Info info) in deflect() argument
303 public void transfer(String callId, Uri number, boolean isConfirmationRequired, in transfer() argument
[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.java62 String callId = intent.getStringExtra(EXTRA_CALL_ID); in onStartCommand() local
65 answerCall(callId); in onStartCommand()
66 InCallNotificationController.get().cancelInCallNotification(callId); in onStartCommand()
69 declineCall(callId); in onStartCommand()
70 InCallNotificationController.get().cancelInCallNotification(callId); in onStartCommand()
78 InCallNotificationController.get().cancelInCallNotification(callId); in onStartCommand()
81 UiCallManager.get().placeCall(callId); in onStartCommand()
82 TelecomUtils.markCallLogAsRead(getApplicationContext(), callId); in onStartCommand() local
86 TelecomUtils.markCallLogAsRead(getApplicationContext(), callId); in onStartCommand() local
89 TelecomUtils.markCallLogAsRead(getApplicationContext(), callId); in onStartCommand() local
[all …]
DInCallNotificationController.java119 String callId = call.getDetails().getTelecomCallId(); in showInCallNotification() local
120 mActiveInCallNotifications.add(callId); in showInCallNotification()
131 callId, in showInCallNotification()
138 if (mActiveInCallNotifications.contains(callId)) { in showInCallNotification()
144 callId, in showInCallNotification()
155 String callId = call.getDetails().getTelecomCallId(); in cancelInCallNotification() local
156 cancelInCallNotification(callId); in cancelInCallNotification()
164 void cancelInCallNotification(String callId) { in cancelInCallNotification() argument
165 if (TextUtils.isEmpty(callId)) { in cancelInCallNotification()
168 mActiveInCallNotifications.remove(callId); in cancelInCallNotification()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
DCallScreeningServiceFilter.java66 public void allowCall(String callId) { in allowCall() argument
70 if (mCall == null || (!mCall.getId().equals(callId))) { in allowCall()
71 Log.w(this, "allowCall, unknown call id: %s", callId); in allowCall()
82 public void disallowCall(String callId, boolean shouldReject, in disallowCall() argument
88 if (mCall != null && mCall.getId().equals(callId)) { in disallowCall()
102 Log.w(this, "disallowCall, unknown call id: %s", callId); in disallowCall()
113 public void silenceCall(String callId) { in silenceCall() argument
117 if (mCall != null && mCall.getId().equals(callId)) { in silenceCall()
127 Log.w(this, "silenceCall, unknown call id: %s", callId); in silenceCall()
138 public void screenCallFurther(String callId) { in screenCallFurther() argument
[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