Home
last modified time | relevance | path

Searched refs:phoneCallLog (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/Dialer/src/com/android/car/dialer/notification/
DMissedCallNotificationController.java121 for (PhoneCallLog phoneCallLog : updatedPhoneCallLogs) { in updateNotifications()
122 showMissedCallNotification(phoneCallLog); in updateNotifications()
123 if (mCurrentPhoneCallLogList.contains(phoneCallLog)) { in updateNotifications()
124 mCurrentPhoneCallLogList.remove(phoneCallLog); in updateNotifications()
128 for (PhoneCallLog phoneCallLog : mCurrentPhoneCallLogList) { in updateNotifications()
129 cancelMissedCallNotification(phoneCallLog); in updateNotifications()
135 private void showMissedCallNotification(PhoneCallLog phoneCallLog) { in showMissedCallNotification() argument
136 L.d(TAG, "show missed call notification %s", phoneCallLog); in showMissedCallNotification()
137 String phoneNumberString = phoneCallLog.getPhoneNumberString(); in showMissedCallNotification()
145 " (%d)", phoneCallLog.getAllCallRecords().size())) in showMissedCallNotification()
[all …]
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DPhoneCallLog.java85 PhoneCallLog phoneCallLog = new PhoneCallLog(); in fromCursor() local
86 phoneCallLog.mId = cursor.getLong(idColumn); in fromCursor()
87 phoneCallLog.mPhoneNumberString = cursor.getString(numberColumn); in fromCursor()
88 phoneCallLog.mI18nPhoneNumberWrapper = I18nPhoneNumberWrapper.Factory.INSTANCE.get(context, in fromCursor()
89 phoneCallLog.mPhoneNumberString); in fromCursor()
91 phoneCallLog.mCallRecords.add(record); in fromCursor()
92 return phoneCallLog; in fromCursor()
128 public boolean merge(@NonNull PhoneCallLog phoneCallLog) { in merge() argument
129 if (equals(phoneCallLog)) { in merge()
130 mCallRecords.addAll(phoneCallLog.mCallRecords); in merge()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DUiCallLogLiveData.java110 for (PhoneCallLog phoneCallLog : phoneCallLogs) { in convert()
111 String number = phoneCallLog.getPhoneNumberString(); in convert()
112 String relativeTime = getRelativeTime(phoneCallLog.getLastCallEndTimestamp()); in convert()
116 relativeTime, number, null, phoneCallLog.getAllCallRecords()); in convert()
137 phoneCallLog.getAllCallRecords()); in convert()
/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/
DUnreadMissedCallLiveData.java72 PhoneCallLog phoneCallLog = PhoneCallLog.fromCursor(mContext, cursor); in convertToEntity() local
73 int index = missedCalls.indexOf(phoneCallLog); in convertToEntity()
79 if (existingCallLog == null || !existingCallLog.merge(phoneCallLog)) { in convertToEntity()
80 missedCalls.add(phoneCallLog); in convertToEntity()
DCallHistoryLiveData.java109 PhoneCallLog phoneCallLog = PhoneCallLog.fromCursor(mContext, cursor); in convertToEntity() local
113 if (previousCallLog == null || !previousCallLog.merge(phoneCallLog)) { in convertToEntity()
114 resultList.add(phoneCallLog); in convertToEntity()