Home
last modified time | relevance | path

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

/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogGroupBuilder.java138 int callType; in addGroups() local
149 callType = cursor.getInt(CallLogQuery.CALL_TYPE); in addGroups()
162 && areBothNotVoicemail(callType, groupCallType) in addGroups()
163 && (areBothNotBlocked(callType, groupCallType) in addGroups()
164 || areBothBlocked(callType, groupCallType))) { in addGroups()
184 groupCallType = callType; in addGroups()
286 private boolean areBothNotVoicemail(int callType, int groupCallType) { in areBothNotVoicemail() argument
287 return callType != AppCompatConstants.CALLS_VOICEMAIL_TYPE in areBothNotVoicemail()
291 private boolean areBothNotBlocked(int callType, int groupCallType) { in areBothNotBlocked() argument
292 return callType != AppCompatConstants.CALLS_BLOCKED_TYPE in areBothNotBlocked()
[all …]
DCallTypeHelper.java67 public CharSequence getCallTypeText(int callType, boolean isVideoCall) { in getCallTypeText() argument
68 switch (callType) { in getCallTypeText()
105 public Integer getHighlightedColor(int callType) { in getHighlightedColor() argument
106 switch (callType) { in getHighlightedColor()
129 public static boolean isMissedCallType(int callType) { in isMissedCallType() argument
130 return (callType != AppCompatConstants.CALLS_INCOMING_TYPE in isMissedCallType()
131 && callType != AppCompatConstants.CALLS_OUTGOING_TYPE in isMissedCallType()
132 && callType != AppCompatConstants.CALLS_VOICEMAIL_TYPE); in isMissedCallType()
DCallTypeIconsView.java68 public void add(int callType) { in add() argument
69 mCallTypes.add(callType); in add()
71 final Drawable drawable = getCallTypeDrawable(callType); in add()
110 private Drawable getCallTypeDrawable(int callType) { in getCallTypeDrawable() argument
111 switch (callType) { in getCallTypeDrawable()
139 for (Integer callType : mCallTypes) { in onDraw()
140 final Drawable drawable = getCallTypeDrawable(callType); in onDraw()
DCallLogQueryHandler.java149 public void fetchCalls(int callType, long newerThan) { in fetchCalls() argument
152 fetchCalls(QUERY_CALLLOG_TOKEN, callType, false /* newOnly */, newerThan); in fetchCalls()
158 public void fetchCalls(int callType) { in fetchCalls() argument
159 fetchCalls(callType, 0); in fetchCalls()
179 private void fetchCalls(int token, int callType, boolean newOnly, long newerThan) { in fetchCalls() argument
197 if (callType > CALL_TYPE_ALL) { in fetchCalls()
199 selectionArgs.add(Integer.toString(callType)); in fetchCalls()
DCallDetailHistoryAdapter.java107 int callType = details.callTypes[0]; in getView() local
112 callTypeIconView.add(callType); in getView()
114 callTypeTextView.setText(mCallTypeHelper.getCallTypeText(callType, isVideoCall)); in getView()
121 if (Calls.VOICEMAIL_TYPE == callType || CallTypeHelper.isMissedCallType(callType)) { in getView()
DCallLogListItemViewHolder.java157 public int callType; field in CallLogListItemViewHolder
317 if (callType == CallLog.Calls.VOICEMAIL_TYPE) { in onCreateContextMenu()
341 if (callType == CallLog.Calls.VOICEMAIL_TYPE in onCreateContextMenu()
497 if (callType == Calls.VOICEMAIL_TYPE && !TextUtils.isEmpty(callTypeOrLocation)) { in bindActionButtons()
518 if (callType == Calls.VOICEMAIL_TYPE && mVoicemailPlaybackPresenter != null in bindActionButtons()
534 if (callType == Calls.VOICEMAIL_TYPE) { in bindActionButtons()
625 if (callType != Calls.VOICEMAIL_TYPE) { in showOrHideVoicemailTranscriptionView()
DCallLogActivity.java135 final int callType = intent.getIntExtra(CallLog.Calls.EXTRA_CALL_TYPE_FILTER, -1); in onCreate() local
136 if (callType == CallLog.Calls.MISSED_TYPE) { in onCreate()
DCallLogAdapter.java179 if (viewHolder.callType == CallLog.Calls.MISSED_TYPE) {
581 views.callType = CallLog.Calls.VOICEMAIL_TYPE; in bindCallLogListViewHolder()
591 views.callType = c.getInt(CallLogQuery.CALL_TYPE); in bindCallLogListViewHolder()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallLogManager.java74 String postDialDigits, String viaNumber, int presentation, int callType, in AddCallArgs() argument
84 this.callType = callType; in AddCallArgs()
101 public final int callType; field in CallLogManager.AddCallArgs
241 int callType, in logCall() argument
266 sendAddCallBroadcast(callType, duration); in logCall()
270 + Log.pii(number) + "," + presentation + ", " + callType in logCall()
273 viaNumber, presentation, callType, features, accountHandle, start, duration, in logCall()
385 c.presentation, c.callType, c.features, c.accountHandle, c.timestamp, in addCall()
410 private void sendAddCallBroadcast(int callType, long duration) { in sendAddCallBroadcast() argument
412 callAddIntent.putExtra(CALL_TYPE, callType); in sendAddCallBroadcast()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DCallLogInteraction.java193 String callType = ""; in getCallTypeString() local
197 return callType; in getCallTypeString()
201 callType = res.getString(R.string.content_description_recent_call_type_incoming); in getCallTypeString()
204 callType = res.getString(R.string.content_description_recent_call_type_missed); in getCallTypeString()
207 callType = res.getString(R.string.content_description_recent_call_type_outgoing); in getCallTypeString()
210 return callType; in getCallTypeString()
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
DCallLogListItemHelperTest.java256 int presentation, String formattedNumber, int callType) { in setPhoneCallDetailsWithNumberAndType() argument
258 formattedNumber, callType); in setPhoneCallDetailsWithNumberAndType()
263 String postDialDigits, int presentation, String formattedNumber, int callType) { in setPhoneCallDetailsWithNumberTypeAndPostDialDigits() argument
266 details.callTypes = new int[] {callType}; in setPhoneCallDetailsWithNumberTypeAndPostDialDigits()
/packages/apps/Dialer/tests/src/com/android/dialer/tests/calllog/
DFillCallLogTestActivity.java565 int presentation, int callType, int features, PhoneAccountHandle accountHandle, in addCall() argument
597 values.put(Calls.TYPE, Integer.valueOf(callType)); in addCall()
610 if (callType == AppCompatConstants.CALLS_MISSED_TYPE) { in addCall()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallLogProviderTest.java433 private ContentValues getDefaultValues(int callType) { in getDefaultValues() argument
435 values.put(Calls.TYPE, callType); in getDefaultValues()
/packages/services/Telephony/src/com/android/phone/
DCallLogger.java110 public void logCall(CallerInfo ci, String number, int presentation, int callType, long start, in logCall() argument