Home
last modified time | relevance | path

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

/packages/services/Telecomm/src/com/android/server/telecom/
DConnectionServiceWrapper.java67 public void handleCreateConnectionComplete(String callId, ConnectionRequest request, in handleCreateConnectionComplete() argument
73 logIncoming("handleCreateConnectionComplete %s", callId); in handleCreateConnectionComplete()
75 .handleCreateConnectionComplete(callId, request, connection); in handleCreateConnectionComplete()
84 public void setActive(String callId) { in setActive() argument
89 logIncoming("setActive %s", callId); in setActive()
90 Call call = mCallIdMapper.getCall(callId); in setActive()
104 public void setRinging(String callId) { in setRinging() argument
109 logIncoming("setRinging %s", callId); in setRinging()
110 Call call = mCallIdMapper.getCall(callId); in setRinging()
124 public void setVideoProvider(String callId, IVideoProvider videoProvider) { in setVideoProvider() argument
[all …]
DInCallAdapter.java48 public void answerCall(String callId, int videoState) { in answerCall() argument
54 Log.d(this, "answerCall(%s,%d)", callId, videoState); in answerCall()
55 Call call = mCallIdMapper.getCall(callId); in answerCall()
59 Log.w(this, "answerCall, unknown call id: %s", callId); in answerCall()
71 public void rejectCall(String callId, boolean rejectWithMessage, String textMessage) { in rejectCall() argument
77 Log.d(this, "rejectCall(%s,%b,%s)", callId, rejectWithMessage, textMessage); in rejectCall()
78 Call call = mCallIdMapper.getCall(callId); in rejectCall()
82 Log.w(this, "setRingback, unknown call id: %s", callId); in rejectCall()
94 public void playDtmfTone(String callId, char digit) { in playDtmfTone() argument
100 Log.d(this, "playDtmfTone(%s,%c)", callId, digit); in playDtmfTone()
[all …]
DAnalytics.java66 public String callId; field in Analytics.CallInfoImpl
86 CallInfoImpl(String callId, int callDirection) { in CallInfoImpl() argument
87 this.callId = callId; in CallInfoImpl()
96 this.callId = other.callId; in CallInfoImpl()
121 Log.d(TAG, "setting startTime for call " + callId + " to " + startTime); in setCallStartTime()
127 Log.d(TAG, "setting endTime for call " + callId + " to " + endTime); in setCallEndTime()
133 Log.d(TAG, "setting isAdditional for call " + callId + " to " + isAdditional); in setCallIsAdditional()
139 Log.d(TAG, "setting isInterrupted for call " + callId + " to " + isInterrupted); in setCallIsInterrupted()
145 Log.d(TAG, "adding callTechnology for call " + callId + ": " + callTechnology); in addCallTechnology()
151 Log.d(TAG, "setting disconnectCause for call " + callId + " to " + disconnectCause); in setCallDisconnectCause()
[all …]
DCallIdMapper.java84 String callId = getCallId(callToReplace); in replaceCall() local
85 mCalls.put(callId, newCall); in replaceCall()
106 void removeCall(String callId) { in removeCall() argument
107 mCalls.remove(callId); in removeCall()
118 String callId = null; in getCall() local
120 callId = (String) objId; in getCall()
123 return mCalls.getValue(callId); in getCall()
DCall.java400 String callId, in Call() argument
414 mId = callId; in Call()
455 String callId, in Call() argument
470 this(callId, context, callsManager, lock, repository, contactsAsyncHelper, in Call()
DCallsManager.java1549 String callId, in createConferenceCall() argument
1561 callId, in createConferenceCall()
1951 Call createCallForExistingConnection(String callId, ParcelableConnection connection) { in createCallForExistingConnection() argument
1953 callId, in createCallForExistingConnection()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DTelecomAdapter.java56 private android.telecom.Call getTelecomCallById(String callId) { in getTelecomCallById() argument
57 Call call = CallList.getInstance().getCallById(callId); in getTelecomCallById()
61 void answerCall(String callId, int videoState) { in answerCall() argument
62 android.telecom.Call call = getTelecomCallById(callId); in answerCall()
66 Log.e(this, "error answerCall, call not in call list: " + callId); in answerCall()
70 void rejectCall(String callId, boolean rejectWithMessage, String message) { in rejectCall() argument
71 android.telecom.Call call = getTelecomCallById(callId); in rejectCall()
75 Log.e(this, "error rejectCall, call not in call list: " + callId); in rejectCall()
79 void disconnectCall(String callId) { in disconnectCall() argument
80 android.telecom.Call call = getTelecomCallById(callId); in disconnectCall()
[all …]
DContactInfoCache.java99 public ContactCacheEntry getInfo(String callId) { in getInfo() argument
100 return mInfoMap.get(callId); in getInfo()
176 final String callId = call.getId(); in findInfo() local
177 final ContactCacheEntry cacheEntry = mInfoMap.get(callId); in findInfo()
178 Set<ContactInfoCacheCallback> callBacks = mCallBacks.get(callId); in findInfo()
184 callback.onContactInfoComplete(callId, cacheEntry); in findInfo()
200 mCallBacks.put(callId, callBacks); in findInfo()
216 final String callId = call.getId(); in findInfoQueryComplete() local
223 ContactCacheEntry cacheEntry = mInfoMap.get(callId); in findInfoQueryComplete()
228 cacheEntry = buildEntry(mContext, callId, callerInfo, presentationMode, isIncoming); in findInfoQueryComplete()
[all …]
DConferenceParticipantListAdapter.java131 public void onContactInfoComplete(String callId, ContactCacheEntry entry) { in onContactInfoComplete() argument
132 update(callId, entry); in onContactInfoComplete()
142 public void onImageLoadComplete(String callId, ContactCacheEntry entry) { in onImageLoadComplete() argument
143 update(callId, entry); in onImageLoadComplete()
147 public void onContactInteractionsInfoComplete(String callId, ContactCacheEntry entry) {} in onContactInteractionsInfoComplete() argument
155 private void update(String callId, ContactCacheEntry entry) { in update() argument
158 listAdapter.updateContactInfo(callId, entry); in update()
170 String callId = (String) parent.getTag();
171 TelecomAdapter.getInstance().disconnectCall(callId);
182 String callId = (String) parent.getTag();
[all …]
DCallCardPresenter.java104 public void onContactInfoComplete(String callId, ContactCacheEntry entry) { in onContactInfoComplete() argument
107 presenter.onContactInfoComplete(callId, entry, mIsPrimary); in onContactInfoComplete()
112 public void onImageLoadComplete(String callId, ContactCacheEntry entry) { in onImageLoadComplete() argument
115 presenter.onImageLoadComplete(callId, entry); in onImageLoadComplete()
120 public void onContactInteractionsInfoComplete(String callId, ContactCacheEntry entry) { in onContactInteractionsInfoComplete() argument
123 presenter.onContactInteractionsInfoComplete(callId, entry); in onContactInteractionsInfoComplete()
591 private void onContactInfoComplete(String callId, ContactCacheEntry entry, boolean isPrimary) { in onContactInfoComplete() argument
593 (isPrimary && mPrimary != null && TextUtils.equals(callId, mPrimary.getId())) || in onContactInfoComplete()
594 (!isPrimary && mSecondary != null && TextUtils.equals(callId, mSecondary.getId())); in onContactInfoComplete()
598 Log.w(this, "Dropping stale contact lookup info for " + callId); in onContactInfoComplete()
[all …]
DCallList.java220 public void addCallUpdateListener(String callId, CallUpdateListener listener) { in addCallUpdateListener() argument
221 List<CallUpdateListener> listeners = mCallUpdateListenerMap.get(callId); in addCallUpdateListener()
224 mCallUpdateListenerMap.put(callId, listeners); in addCallUpdateListener()
235 public void removeCallUpdateListener(String callId, CallUpdateListener listener) { in removeCallUpdateListener() argument
236 List<CallUpdateListener> listeners = mCallUpdateListenerMap.get(callId); in removeCallUpdateListener()
381 public Call getCallById(String callId) { in getCallById() argument
382 return mCallById.get(callId); in getCallById()
389 public List<String> getTextResponses(String callId) { in getTextResponses() argument
390 return mCallTextReponsesMap.get(callId); in getTextResponses()
DPostCharDialogFragment.java43 public PostCharDialogFragment(String callId, String postDialStr) { in PostCharDialogFragment() argument
44 mCallId = callId; in PostCharDialogFragment()
DStatusBarNotifier.java208 public void onContactInfoComplete(String callId, ContactCacheEntry entry) { in showNotification()
209 Call call = CallList.getInstance().getCallById(callId); in showNotification()
217 public void onImageLoadComplete(String callId, ContactCacheEntry entry) { in showNotification()
218 Call call = CallList.getInstance().getCallById(callId); in showNotification()
225 public void onContactInteractionsInfoComplete(String callId, ContactCacheEntry entry) {} in showNotification()
DInCallPresenter.java838 String callId = call.getId(); in handleAccountSelection() local
839 … TelecomAdapter.getInstance().phoneAccountSelected(callId, accountHandle, setDefault); in handleAccountSelection()
849 String callId = call.getId(); in cancelAccountSelection() local
850 TelecomAdapter.getInstance().disconnectCall(callId); in cancelAccountSelection()
1087 public void onPostDialCharWait(String callId, String chars) { in onPostDialCharWait() argument
1089 mInCallActivity.showPostCharWaitDialog(callId, chars); in onPostDialCharWait()
DInCallActivity.java850 public void showPostCharWaitDialog(String callId, String chars) { in showPostCharWaitDialog() argument
852 final PostCharDialogFragment fragment = new PostCharDialogFragment(callId, chars); in showPostCharWaitDialog()
860 mShowPostCharWaitDialogCallId = callId; in showPostCharWaitDialog()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DConnectionServiceFixture.java212 public void abort(String callId) throws RemoteException { } in abort() argument
215 public void answerVideo(String callId, int videoState) throws RemoteException { } in answerVideo() argument
218 public void answer(String callId) throws RemoteException { } in answer() argument
221 public void reject(String callId) throws RemoteException { in reject() argument
222 rejectedCallIds.add(callId); in reject()
226 public void rejectWithMessage(String callId, String message) throws RemoteException { } in rejectWithMessage() argument
229 public void disconnect(String callId) throws RemoteException { } in disconnect() argument
232 public void silence(String callId) throws RemoteException { } in silence() argument
235 public void hold(String callId) throws RemoteException { } in hold() argument
238 public void unhold(String callId) throws RemoteException { } in unhold() 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
DBasicCallTests.java263 String callId = startOutgoingPhoneCallWithNoPhoneAccount("650-555-1212", in testOutgoingCallAndSelectPhoneAccount() local
266 mInCallServiceFixtureX.getCall(callId).getState()); in testOutgoingCallAndSelectPhoneAccount()
268 mInCallServiceFixtureY.getCall(callId).getState()); in testOutgoingCallAndSelectPhoneAccount()
269 mInCallServiceFixtureX.mInCallAdapter.phoneAccountSelected(callId, in testOutgoingCallAndSelectPhoneAccount()
839 private void disconnectCall(String callId, String connectionId) throws Exception { in disconnectCall() argument
841 assertEquals(Call.STATE_DISCONNECTED, mInCallServiceFixtureX.getCall(callId).getState()); in disconnectCall()
842 assertEquals(Call.STATE_DISCONNECTED, mInCallServiceFixtureY.getCall(callId).getState()); in disconnectCall()
DTelecomSystemTest.java226 public IdPair(String connectionId, String callId) { in IdPair() argument
228 this.mCallId = callId; in IdPair()
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
DCallScreeningServiceFilter.java80 public void allowCall(String callId) { in allowCall() argument
85 Log.d(this, "allowCall(%s)", callId); in allowCall()
86 if (mCall != null && mCall.getId().equals(callId)) { in allowCall()
94 Log.w(this, "allowCall, unknown call id: %s", callId); in allowCall()
106 String callId, in disallowCall() argument
115 + "shouldShowNotification: %b", callId, shouldReject, in disallowCall()
117 if (mCall != null && mCall.getId().equals(callId)) { in disallowCall()
125 Log.w(this, "disallowCall, unknown call id: %s", callId); in disallowCall()
/packages/providers/CallLogProvider/src/com/android/calllogbackup/
DCallLogBackupAgent.java315 final int callId; in readCallFromData() local
317 callId = Integer.parseInt(data.getKey()); in readCallFromData()
329 call.id = callId; in readCallFromData()
374 Log.e(TAG, "Error reading call data for " + callId, e); in readCallFromData()
529 private void removeCallFromBackup(BackupDataOutput output, int callId) { in removeCallFromBackup() argument
531 output.writeEntityHeader(Integer.toString(callId), -1); in removeCallFromBackup()
533 Log.e(TAG, "Failed to remove call: " + callId, e); in removeCallFromBackup()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogAdapter.java763 private int getDayGroupForCall(long callId) { in getDayGroupForCall() argument
764 if (mDayGroups.containsKey(callId)) { in getDayGroupForCall()
765 return mDayGroups.get(callId); in getDayGroupForCall()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java397 String callId) { in TelephonyConnection() argument
398 setTelecomCallId(callId); in TelephonyConnection()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java217 public final String callId; field in PhoneInterfaceManager.IncomingThirdPartyCallArgs
220 public IncomingThirdPartyCallArgs(ComponentName component, String callId, in IncomingThirdPartyCallArgs() argument
223 this.callId = callId; in IncomingThirdPartyCallArgs()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java4336 final long callId = c.getLong(0); in upgradeToVersion903() local
4349 String.valueOf(callId), in upgradeToVersion903()