Home
last modified time | relevance | path

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

12

/packages/services/Telecomm/src/com/android/server/telecom/
DConnectionServiceWrapper.java71 public void handleCreateConnectionComplete(String callId, ConnectionRequest request, in handleCreateConnectionComplete() argument
77 logIncoming("handleCreateConnectionComplete %s", callId); in handleCreateConnectionComplete()
79 .handleCreateConnectionComplete(callId, request, connection); in handleCreateConnectionComplete()
82 logOutgoing("createConnectionComplete %s", callId); in handleCreateConnectionComplete()
84 mServiceInterface.createConnectionComplete(callId, in handleCreateConnectionComplete()
97 public void setActive(String callId, Session.Info sessionInfo) { in setActive() argument
102 logIncoming("setActive %s", callId); in setActive()
103 Call call = mCallIdMapper.getCall(callId); in setActive()
117 public void setRinging(String callId, Session.Info sessionInfo) { in setRinging() argument
122 logIncoming("setRinging %s", callId); in setRinging()
[all …]
DInCallAdapter.java49 public void answerCall(String callId, int videoState) { in answerCall() argument
55 Log.d(this, "answerCall(%s,%d)", callId, videoState); in answerCall()
56 Call call = mCallIdMapper.getCall(callId); in answerCall()
60 Log.w(this, "answerCall, unknown call id: %s", callId); in answerCall()
72 public void rejectCall(String callId, boolean rejectWithMessage, String textMessage) { in rejectCall() argument
78 Log.d(this, "rejectCall(%s,%b,%s)", callId, rejectWithMessage, textMessage); in rejectCall()
79 Call call = mCallIdMapper.getCall(callId); in rejectCall()
83 Log.w(this, "setRingback, unknown call id: %s", callId); in rejectCall()
95 public void playDtmfTone(String callId, char digit) { in playDtmfTone() argument
101 Log.d(this, "playDtmfTone(%s,%c)", callId, digit); in playDtmfTone()
[all …]
DAnalytics.java199 public String callId; field in Analytics.CallInfoImpl
228 CallInfoImpl(String callId, int callDirection) { in CallInfoImpl() argument
229 this.callId = callId; in CallInfoImpl()
240 this.callId = other.callId; in CallInfoImpl()
269 Log.d(TAG, "setting startTime for call " + callId + " to " + startTime); in setCallStartTime()
275 Log.d(TAG, "setting endTime for call " + callId + " to " + endTime); in setCallEndTime()
281 Log.d(TAG, "setting isAdditional for call " + callId + " to " + isAdditional); in setCallIsAdditional()
287 Log.d(TAG, "setting isInterrupted for call " + callId + " to " + isInterrupted); in setCallIsInterrupted()
293 Log.d(TAG, "adding callTechnology for call " + callId + ": " + callTechnology); in addCallTechnology()
299 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.java143 String callId = intent.getStringExtra( in processIntent() local
145 mCallsManager.confirmPendingCall(callId); in processIntent()
152 String callId = intent.getStringExtra( in processIntent() local
154 mCallsManager.cancelPendingCall(callId); in processIntent()
/packages/apps/Dialer/java/com/android/incallui/
DContactInfoCache.java293 ContactCacheEntry getInfo(String callId) { in getInfo() argument
294 return mInfoMap.get(callId); in getInfo()
346 final String callId = call.getId(); in findInfo() local
347 final ContactCacheEntry cacheEntry = mInfoMap.get(callId); in findInfo()
348 Set<ContactInfoCacheCallback> callBacks = mCallBacks.get(callId); in findInfo()
352 Log.d(TAG, "findInfo: callId = " + callId + "; forceQuery = " + forceQuery); in findInfo()
361 callback.onContactInfoComplete(callId, cacheEntry); in findInfo()
381 mCallBacks.put(callId, callBacks); in findInfo()
390 final CallerInfoQueryToken queryToken = new CallerInfoQueryToken(mQueryId, callId); in findInfo()
396 new DialerCallCookieWrapper(callId, call.getNumberPresentation(), call.getCnapName()), in findInfo()
[all …]
DConferenceParticipantListAdapter.java163 String callId = call.getId(); in refreshCall() local
165 if (mParticipantsByCallId.containsKey(callId)) { in refreshCall()
166 ParticipantInfo participantInfo = mParticipantsByCallId.get(callId); in refreshCall()
168 refreshView(callId); in refreshCall()
182 private void refreshView(String callId) { in refreshView() argument
189 if (rowCallId.equals(callId)) { in refreshView()
263 /* package */ void updateContactInfo(String callId, ContactCacheEntry entry) { in updateContactInfo() argument
264 if (mParticipantsByCallId.containsKey(callId)) { in updateContactInfo()
265 ParticipantInfo participantInfo = mParticipantsByCallId.get(callId); in updateContactInfo()
268 refreshView(callId); in updateContactInfo()
[all …]
DInCallActivityCommon.java117 PhoneAccountHandle selectedAccountHandle, boolean setDefault, String callId) {
118 DialerCall call = CallList.getInstance().getCallById(callId);
128 public void onDialogDismissed(String callId) {
129 DialerCall call = CallList.getInstance().getCallById(callId);
142 public void continueCall(@NonNull String callId) {
143 LogUtil.i("InCallActivityCommon.continueCall", "continuing call with id: %s", callId);
147 public void cancelCall(@NonNull String callId) {
148 DialerCall call = CallList.getInstance().getCallById(callId);
485 public void showPostCharWaitDialog(String callId, String chars) { in showPostCharWaitDialog() argument
487 PostCharDialogFragment fragment = new PostCharDialogFragment(callId, chars); in showPostCharWaitDialog()
[all …]
DCallCardPresenter.java551 private void onContactInfoComplete(String callId, ContactCacheEntry entry, boolean isPrimary) { in onContactInfoComplete() argument
553 (isPrimary && mPrimary != null && TextUtils.equals(callId, mPrimary.getId())) in onContactInfoComplete()
554 || (!isPrimary && mSecondary != null && TextUtils.equals(callId, mSecondary.getId())); in onContactInfoComplete()
560 "dropping stale contact lookup info for " + callId); in onContactInfoComplete()
563 final DialerCall call = CallList.getInstance().getCallById(callId); in onContactInfoComplete()
572 private void onImageLoadComplete(String callId, ContactCacheEntry entry) { in onImageLoadComplete() argument
578 if (mPrimary != null && callId.equals(mPrimary.getId())) { in onImageLoadComplete()
580 } else if (mSecondary != null && callId.equals(mSecondary.getId())) { in onImageLoadComplete()
1187 public void onContactInfoComplete(String callId, ContactCacheEntry entry) { in onContactInfoComplete() argument
1190 presenter.onContactInfoComplete(callId, entry, mIsPrimary); in onContactInfoComplete()
[all …]
/packages/apps/Dialer/java/com/android/incallui/call/
DTelecomAdapter.java58 private android.telecom.Call getTelecomCallById(String callId) { in getTelecomCallById() argument
59 DialerCall call = CallList.getInstance().getCallById(callId); in getTelecomCallById()
79 public void merge(String callId) { in merge() argument
80 android.telecom.Call call = getTelecomCallById(callId); in merge()
91 LogUtil.e("TelecomAdapter.merge", "call not in call list " + callId); in merge()
95 public void swap(String callId) { in swap() argument
96 android.telecom.Call call = getTelecomCallById(callId); in swap()
102 LogUtil.e("TelecomAdapter.swap", "call not in call list " + callId); in swap()
127 public void playDtmfTone(String callId, char digit) { in playDtmfTone() argument
128 android.telecom.Call call = getTelecomCallById(callId); in playDtmfTone()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DConnectionServiceFixture.java253 String callId, ConnectionRequest request, boolean isIncoming, in createConnectionFailed() argument
255 Log.i(ConnectionServiceFixture.this, "createConnectionFailed --> " + callId); in createConnectionFailed()
257 if (mConnectionById.containsKey(callId)) { in createConnectionFailed()
258 throw new RuntimeException("Connection already exists: " + callId); in createConnectionFailed()
265 public void abort(String callId, Session.Info info) throws RemoteException { } in abort() argument
268 public void answerVideo(String callId, int videoState, in answerVideo() argument
272 public void answer(String callId, Session.Info info) throws RemoteException { } in answer() argument
275 public void reject(String callId, Session.Info info) throws RemoteException { in reject() argument
276 rejectedCallIds.add(callId); in reject()
280 public void rejectWithMessage(String callId, String message, in rejectWithMessage() argument
[all …]
DInCallServiceFixture.java86 public void setPostDial(String callId, String remaining) throws RemoteException { in setPostDial() argument
87 mPostDialWaitById.remove(callId); in setPostDial()
88 mPostDialById.put(callId, remaining); in setPostDial()
92 public void setPostDialWait(String callId, String remaining) throws RemoteException { in setPostDialWait() argument
93 mPostDialById.remove(callId); in setPostDialWait()
94 mPostDialWaitById.put(callId, remaining); in setPostDialWait()
119 public void onConnectionEvent(String callId, String event, Bundle extras) in onConnectionEvent() argument
124 public void onRttUpgradeRequest(String callId, int id) throws RemoteException { in onRttUpgradeRequest() argument
128 public void onRttInitiationFailure(String callId, int reason) throws RemoteException { in onRttInitiationFailure() argument
DBasicCallTests.java281 String callId = startOutgoingPhoneCallWithNoPhoneAccount("650-555-1212", in testOutgoingCallAndSelectPhoneAccount() local
284 mInCallServiceFixtureX.getCall(callId).getState()); in testOutgoingCallAndSelectPhoneAccount()
286 mInCallServiceFixtureY.getCall(callId).getState()); in testOutgoingCallAndSelectPhoneAccount()
287 mInCallServiceFixtureX.mInCallAdapter.phoneAccountSelected(callId, in testOutgoingCallAndSelectPhoneAccount()
738 private void disconnectCall(String callId, String connectionId) throws Exception { in disconnectCall() argument
740 assertEquals(Call.STATE_DISCONNECTED, mInCallServiceFixtureX.getCall(callId).getState()); in disconnectCall()
741 assertEquals(Call.STATE_DISCONNECTED, mInCallServiceFixtureY.getCall(callId).getState()); in disconnectCall()
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/
DUiCallList.java69 int callId = uiCall.getId(); in remove() local
70 C call = getCall(callId); in remove()
74 mIdToCallMap.remove(callId); in remove()
77 protected C getCall(int callId) { in getCall() argument
78 return mIdToCallMap.get(callId).second; in getCall()
81 public UiCall getUiCall(int callId) { in getUiCall() argument
82 return mIdToCallMap.get(callId).first; in getUiCall()
/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/src/com/android/server/telecom/callfiltering/
DCallScreeningServiceFilter.java82 public void allowCall(String callId) { in allowCall() argument
87 Log.d(this, "allowCall(%s)", callId); in allowCall()
88 if (mCall != null && mCall.getId().equals(callId)) { in allowCall()
96 Log.w(this, "allowCall, unknown call id: %s", callId); in allowCall()
108 String callId, in disallowCall() argument
117 + "shouldShowNotification: %b", callId, shouldReject, in disallowCall()
119 if (mCall != null && mCall.getId().equals(callId)) { in disallowCall()
127 Log.w(this, "disallowCall, unknown call id: %s", callId); in disallowCall()
/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()
DIncomingSelfManagedCallActivity.java42 int callId = launchingIntent.getIntExtra(EXTRA_CALL_ID, 0); in onCreate() local
43 Log.i(this, "showing fullscreen answer ux for call id %d", callId); in onCreate()
47 .getConnectionById(callId); in onCreate()
/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/contacts/common/widget/
DSelectPhoneAccountDialogFragment.java78 @Nullable String callId) { in newInstance() argument
80 R.string.select_account_dialog_title, false, accountHandles, listener, callId); in newInstance()
98 @Nullable String callId) { in newInstance() argument
109 args.putString(ARG_CALL_ID, callId); in newInstance()
231 PhoneAccountHandle selectedAccountHandle, boolean setDefault, @Nullable String callId) {} in onPhoneAccountSelected() argument
233 public void onDialogDismissed(@Nullable String callId) {} in onDialogDismissed() argument
/packages/providers/CallLogProvider/src/com/android/calllogbackup/
DCallLogBackupAgent.java309 final int callId; in readCallFromData() local
311 callId = Integer.parseInt(data.getKey()); in readCallFromData()
323 call.id = callId; in readCallFromData()
368 Log.e(TAG, "Error reading call data for " + callId, e); in readCallFromData()
523 private void removeCallFromBackup(BackupDataOutput output, int callId) { in removeCallFromBackup() argument
525 output.writeEntityHeader(Integer.toString(callId), -1); in removeCallFromBackup()
527 Log.e(TAG, "Failed to remove call: " + callId, e); in removeCallFromBackup()
/packages/apps/Dialer/java/com/android/incallui/telecomeventui/
DInternationalCallOnWifiDialogFragment.java69 void continueCall(@NonNull String callId); in continueCall() argument
72 void cancelCall(@NonNull String callId); in cancelCall() argument
82 @NonNull String callId, @NonNull Callback callback) { in newInstance()
86 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/apps/Dialer/java/com/android/incallui/answer/bindings/
DAnswerBindings.java26 String callId, in createAnswerScreen() argument
33 callId, in createAnswerScreen()

12