Home
last modified time | relevance | path

Searched refs:callType (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorSimCallManager.java91 @NonNull Context context, @NonNull String phoneNumber, @CallType int callType) { in addNewOutgoingCall() argument
92 return addNewOutgoingCall(context, phoneNumber, callType, new Bundle()); in addNewOutgoingCall()
99 @CallType int callType, in addNewOutgoingCall() argument
110 extras.putAll(createSimulatorConnectionExtras(callType)); in addNewOutgoingCall()
116 callType == CALL_TYPE_VIDEO in addNewOutgoingCall()
119 if (callType == CALL_TYPE_RTT) { in addNewOutgoingCall()
135 @NonNull Context context, @NonNull String callerId, @CallType int callType) { in addNewIncomingCall() argument
136 return addNewIncomingCall(context, callerId, callType, new Bundle()); in addNewIncomingCall()
143 @CallType int callType, in addNewIncomingCall() argument
154 extras.putAll(createSimulatorConnectionExtras(callType)); in addNewIncomingCall()
[all …]
/packages/apps/Dialer/java/com/android/dialer/calllog/database/
DAnnotatedCallLogConstraints.java82 Integer callType = contentValuesToCheck.getAsInteger(AnnotatedCallLog.CALL_TYPE); in checkCallTypeColumn()
83 return callType != null in checkCallTypeColumn()
84 && (callType == Calls.INCOMING_TYPE in checkCallTypeColumn()
85 || callType == Calls.OUTGOING_TYPE in checkCallTypeColumn()
86 || callType == Calls.MISSED_TYPE in checkCallTypeColumn()
87 || callType == Calls.VOICEMAIL_TYPE in checkCallTypeColumn()
88 || callType == Calls.REJECTED_TYPE in checkCallTypeColumn()
89 || callType == Calls.BLOCKED_TYPE in checkCallTypeColumn()
90 || callType == Calls.ANSWERED_EXTERNALLY_TYPE); in checkCallTypeColumn()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogGroupBuilder.java118 int callType; in addGroups() local
129 callType = cursor.getInt(CallLogQuery.CALL_TYPE); in addGroups()
154 && areBothNotVoicemail(callType, groupCallType) in addGroups()
155 && (areBothNotBlocked(callType, groupCallType) || areBothBlocked(callType, groupCallType)) in addGroups()
176 groupCallType = callType; in addGroups()
269 private boolean areBothNotVoicemail(int callType, int groupCallType) { in areBothNotVoicemail() argument
270 return callType != Calls.VOICEMAIL_TYPE && groupCallType != Calls.VOICEMAIL_TYPE; in areBothNotVoicemail()
273 private boolean areBothNotBlocked(int callType, int groupCallType) { in areBothNotBlocked() argument
274 return callType != Calls.BLOCKED_TYPE && groupCallType != Calls.BLOCKED_TYPE; in areBothNotBlocked()
277 private boolean areBothBlocked(int callType, int groupCallType) { in areBothBlocked() argument
[all …]
DBlockReportSpamListener.java71 final int callType, in onBlockReportSpam() argument
86 callType, in onBlockReportSpam()
112 final int callType, in onBlock() argument
127 callType, in onBlock()
150 final int callType, in onUnblock() argument
165 callType, in onUnblock()
186 final int callType, in onReportNotSpam() argument
198 callType, in onReportNotSpam()
DCallLogListItemViewHolder.java196 public int callType; field in CallLogListItemViewHolder
414 displayNumber, number, countryIso, callType, info.sourceType); in onMenuItemClick()
424 displayNumber, number, countryIso, callType, info.sourceType); in onMenuItemClick()
430 displayNumber, number, countryIso, callType, info.sourceType, isSpam, blockId); in onMenuItemClick()
435 displayNumber, number, countryIso, callType, info.sourceType); in onMenuItemClick()
673 if (callType == Calls.VOICEMAIL_TYPE && !TextUtils.isEmpty(callTypeOrLocation)) { in bindActionButtons()
750 if (callType == Calls.VOICEMAIL_TYPE in bindActionButtons()
769 if (callType == Calls.VOICEMAIL_TYPE) { in bindActionButtons()
817 if (callType == Calls.VOICEMAIL_TYPE) { in isFullyUndialableVoicemail()
904 if (callType != Calls.VOICEMAIL_TYPE) { in showOrHideVoicemailTranscriptionView()
[all …]
DCallLogActivity.java79 final int callType = intent.getIntExtra(CallLog.Calls.EXTRA_CALL_TYPE_FILTER, -1); in onCreate() local
80 if (callType == CallLog.Calls.MISSED_TYPE) { in onCreate()
DCallLogAdapter.java399 if (viewHolder.callType == CallLog.Calls.MISSED_TYPE) {
992 views.callType = cursor.getInt(CallLogQuery.CALL_TYPE); in createPhoneCallDetails()
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DCallTypeHelper.java89 public static boolean isMissedCallType(int callType) { in isMissedCallType() argument
90 return (callType != Calls.INCOMING_TYPE in isMissedCallType()
91 && callType != Calls.OUTGOING_TYPE in isMissedCallType()
92 && callType != Calls.VOICEMAIL_TYPE in isMissedCallType()
93 && callType != Calls.ANSWERED_EXTERNALLY_TYPE); in isMissedCallType()
98 int callType, boolean isVideoCall, boolean isPulledCall, boolean isDuoCall) { in getCallTypeText() argument
99 switch (callType) { in getCallTypeText()
DCallTypeIconsView.java83 public void add(int callType) { in add() argument
84 callTypes.add(callType); in add()
86 final Drawable drawable = getCallTypeDrawable(callType); in add()
168 private Drawable getCallTypeDrawable(int callType) { in getCallTypeDrawable() argument
170 switch (callType) { in getCallTypeDrawable()
204 for (Integer callType : callTypes) { in onDraw()
205 final Drawable drawable = getCallTypeDrawable(callType); in onDraw()
/packages/apps/Dialer/java/com/android/dialer/spam/
DSpam.java110 int callType, in reportSpamFromAfterCallNotification() argument
129 int callType, in reportSpamFromCallHistory() argument
148 int callType, in reportNotSpamFromAfterCallNotification() argument
167 int callType, in reportNotSpamFromCallHistory() argument
188 static boolean shouldShowAsSpam(boolean isNumberSpam, int callType) { in shouldShowAsSpam() argument
189 return isNumberSpam && (callType != Calls.OUTGOING_TYPE); in shouldShowAsSpam()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallLogManager.java84 String postDialDigits, String viaNumber, int presentation, int callType, in AddCallArgs() argument
95 this.callType = callType; in AddCallArgs()
116 public final int callType; field in CallLogManager.AddCallArgs
372 int callType, in logCall() argument
403 sendAddCallBroadcast(callType, duration); in logCall()
407 + Log.pii(number) + "," + presentation + ", " + callType in logCall()
416 viaNumber, presentation, callType, features, accountHandle, start, duration, in logCall()
577 c.presentation, c.callType, c.features, c.accountHandle, c.timestamp, in addCall()
603 private void sendAddCallBroadcast(int callType, long duration) { in sendAddCallBroadcast() argument
605 callAddIntent.putExtra(CALL_TYPE, callType); in sendAddCallBroadcast()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedCallListAdapter.java194 String callType; in getView() local
197 callType = "Incoming(our ux) "; in getView()
199 callType = "Incoming(sys ux) "; in getView()
202 callType = "Outgoing"; in getView()
206 callType, connection.getState() == android.telecom.Connection.STATE_RINGING, in getView()
219 String status, String audioRoute, String callType, in setInfoForRow() argument
245 statusTextView.setText(callType + " - Status: " + status); in setInfoForRow()
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DCallDetailsEntryViewHolder.java105 int callType = entry.getCallType(); in setCallDetails() local
115 callTime.setTextColor(getColorForCallType(context, callType)); in setCallDetails()
117 callTypeIcon.add(callType); in setCallDetails()
128 callTypeHelper.getCallTypeText(callType, isVideoCall, isPulledCall, isDuoCall)); in setCallDetails()
131 if (CallTypeHelper.isMissedCallType(callType)) { in setCallDetails()
217 private static @ColorInt int getColorForCallType(Context context, int callType) { in getColorForCallType() argument
218 switch (callType) { in getColorForCallType()
/packages/apps/Dialer/java/com/android/dialer/database/
DCallLogQueryHandler.java96 public void fetchCalls(int callType, long newerThan) { in fetchCalls() argument
99 fetchCalls(QUERY_CALLLOG_TOKEN, callType, false /* newOnly */, newerThan); in fetchCalls()
153 private void fetchCalls(int token, int callType, boolean newOnly, long newerThan) { in fetchCalls() argument
168 if (callType > CALL_TYPE_ALL) { in fetchCalls()
170 selectionArgs.add(Integer.toString(callType)); in fetchCalls()
181 if (callType == Calls.VOICEMAIL_TYPE) { in fetchCalls()
/packages/apps/Dialer/java/com/android/dialer/spam/stub/
DSpamStub.java90 int callType, in reportSpamFromAfterCallNotification() argument
98 int callType, in reportSpamFromCallHistory() argument
106 int callType, in reportNotSpamFromAfterCallNotification() argument
114 int callType, in reportNotSpamFromCallHistory() argument
/packages/apps/Car/Dialer/src/com/android/car/dialer/widget/
DCallTypeIconsView.java81 public void add(int callType) { in add() argument
82 mCallTypes.add(callType); in add()
102 private Drawable getCallTypeDrawable(int callType) { in getCallTypeDrawable() argument
103 switch (callType) { in getCallTypeDrawable()
/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/
DCallHistoryLiveData.java73 private static CallHistoryLiveData newInstance(Context context, int callType, int limit) { in newInstance() argument
78 if (callType != CALL_TYPE_ALL) { in newInstance()
81 selectionArgs.add(Integer.toString(callType)); in newInstance()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DPhoneCallLog.java44 public Record(long callEndTimestamp, int callType) { in Record() argument
46 mCallType = callType; in Record()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallLogProviderTest.java436 private ContentValues getDefaultValues(int callType) { in getDefaultValues() argument
438 values.put(Calls.TYPE, callType); in getDefaultValues()