/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | CallLogGroupBuilder.java | 138 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 …]
|
D | CallTypeHelper.java | 67 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()
|
D | CallTypeIconsView.java | 68 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()
|
D | CallLogQueryHandler.java | 149 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()
|
D | CallDetailHistoryAdapter.java | 107 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()
|
D | CallLogListItemViewHolder.java | 157 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()
|
D | CallLogActivity.java | 135 final int callType = intent.getIntExtra(CallLog.Calls.EXTRA_CALL_TYPE_FILTER, -1); in onCreate() local 136 if (callType == CallLog.Calls.MISSED_TYPE) { in onCreate()
|
D | CallLogAdapter.java | 179 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/ |
D | CallLogManager.java | 74 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/ |
D | CallLogInteraction.java | 193 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/ |
D | CallLogListItemHelperTest.java | 256 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/ |
D | FillCallLogTestActivity.java | 565 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/ |
D | CallLogProviderTest.java | 433 private ContentValues getDefaultValues(int callType) { in getDefaultValues() argument 435 values.put(Calls.TYPE, callType); in getDefaultValues()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CallLogger.java | 110 public void logCall(CallerInfo ci, String number, int presentation, int callType, long start, in logCall() argument
|