Home
last modified time | relevance | path

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

/packages/services/Telecomm/src/com/android/server/telecom/
DCallLogManager.java58 int presentation, int callType, int features, PhoneAccountHandle accountHandle, in AddCallArgs() argument
64 this.callType = callType; in AddCallArgs()
77 public final int callType; field in CallLogManager.AddCallArgs
167 int callType, in logCall() argument
184 sendAddCallBroadcast(callType, duration); in logCall()
188 + Log.pii(number) + "," + presentation + ", " + callType in logCall()
191 callType, features, accountHandle, start, duration, dataUsage); in logCall()
260 c.callType, c.features, c.accountHandle, c.timestamp, c.durationInSec, in doInBackground()
291 private void sendAddCallBroadcast(int callType, long duration) { in sendAddCallBroadcast() argument
293 callAddIntent.putExtra(CALL_TYPE, callType); in sendAddCallBroadcast()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallTypeHelper.java61 public CharSequence getCallTypeText(int callType, boolean isVideoCall) { in getCallTypeText() argument
62 switch (callType) { in getCallTypeText()
93 public Integer getHighlightedColor(int callType) { in getHighlightedColor() argument
94 switch (callType) { in getHighlightedColor()
117 public static boolean isMissedCallType(int callType) { in isMissedCallType() argument
118 return (callType != Calls.INCOMING_TYPE && callType != Calls.OUTGOING_TYPE && in isMissedCallType()
119 callType != Calls.VOICEMAIL_TYPE); in isMissedCallType()
DCallTypeIconsView.java65 public void add(int callType) { in add() argument
66 mCallTypes.add(callType); in add()
68 final Drawable drawable = getCallTypeDrawable(callType); in add()
107 private Drawable getCallTypeDrawable(int callType) { in getCallTypeDrawable() argument
108 switch (callType) { in getCallTypeDrawable()
134 for (Integer callType : mCallTypes) { in onDraw()
135 final Drawable drawable = getCallTypeDrawable(callType); in onDraw()
DCallLogQueryHandler.java121 public void fetchCalls(int callType, long newerThan) { in fetchCalls() argument
123 fetchCalls(QUERY_CALLLOG_TOKEN, callType, false /* newOnly */, newerThan); in fetchCalls()
126 public void fetchCalls(int callType) { in fetchCalls() argument
127 fetchCalls(callType, 0); in fetchCalls()
136 private void fetchCalls(int token, int callType, boolean newOnly, long newerThan) { in fetchCalls() argument
148 if (callType > CALL_TYPE_ALL) { in fetchCalls()
155 selectionArgs.add(Integer.toString(callType)); in fetchCalls()
DCallDetailHistoryAdapter.java125 int callType = details.callTypes[0]; in getView() local
130 callTypeIconView.add(callType); in getView()
132 callTypeTextView.setText(mCallTypeHelper.getCallTypeText(callType, isVideoCall)); in getView()
139 if (Calls.VOICEMAIL_TYPE == callType || CallTypeHelper.isMissedCallType(callType)) { in getView()
DCallLogAdapter.java652 final int callType = c.getInt(CallLogQuery.CALL_TYPE); in bindView() local
680 views.callType = callType; in bindView()
830 bindBadge(callLogItemView, info, details, callType); in bindView()
933 if (views.callType != Calls.VOICEMAIL_TYPE) { in expandVoicemailTranscriptionView()
1021 if (views.callType == Calls.VOICEMAIL_TYPE || views.callType == Calls.OUTGOING_TYPE) { in bindActionButtons()
1046 if (views.callType == Calls.VOICEMAIL_TYPE) { in bindActionButtons()
1075 View view, final ContactInfo info, final PhoneCallDetails details, int callType) { in bindBadge() argument
DCallLogGroupBuilder.java139 final int callType = cursor.getInt(CallLogQuery.CALL_TYPE); in addGroups() local
165 shouldGroup = callType != Calls.VOICEMAIL_TYPE; in addGroups()
187 firstCallType = callType; in addGroups()
DCallLogActivity.java152 final int callType = intent.getIntExtra(CallLog.Calls.EXTRA_CALL_TYPE_FILTER, -1); in onCreate() local
153 if (callType == CallLog.Calls.MISSED_TYPE) { in onCreate()
155 } else if (callType == CallLog.Calls.VOICEMAIL_TYPE) { in onCreate()
DCallLogListItemViews.java84 public int callType; field in CallLogListItemViews
/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.java352 int presentation, String formattedNumber, int callType) { in setPhoneCallDetailsWithNumberAndType() argument
356 new int[]{ callType }, TEST_DATE, TEST_DURATION) in setPhoneCallDetailsWithNumberAndType()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallLogProviderTest.java423 private ContentValues getDefaultValues(int callType) { in getDefaultValues() argument
425 values.put(Calls.TYPE, callType); in getDefaultValues()
/packages/apps/Dialer/src/com/android/dialer/
DCallDetailActivity.java538 final int callType = callCursor.getInt(CALL_TYPE_COLUMN_INDEX); in getPhoneCallDetailsForUri() local
591 new int[]{ callType }, date, duration, in getPhoneCallDetailsForUri()
/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