Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DPhoneCallLog.java84 PhoneCallLog phoneCallLog = new PhoneCallLog(); in fromCursor() local
85 phoneCallLog.mId = cursor.getLong(idColumn); in fromCursor()
86 phoneCallLog.mPhoneNumberString = cursor.getString(numberColumn); in fromCursor()
87 phoneCallLog.mI18nPhoneNumberWrapper = I18nPhoneNumberWrapper.Factory.INSTANCE.get(context, in fromCursor()
88 phoneCallLog.mPhoneNumberString); in fromCursor()
90 phoneCallLog.mCallRecords.add(record); in fromCursor()
91 return phoneCallLog; in fromCursor()
127 public boolean merge(@NonNull PhoneCallLog phoneCallLog) { in merge() argument
128 if (equals(phoneCallLog)) { in merge()
129 mCallRecords.addAll(phoneCallLog.mCallRecords); in merge()
/packages/apps/Car/Dialer/src/com/android/car/dialer/notification/
DMissedCallNotificationController.java124 for (PhoneCallLog phoneCallLog : updatedPhoneCallLogs) { in updateNotifications()
125 showMissedCallNotification(phoneCallLog); in updateNotifications()
126 if (mCurrentPhoneCallLogList.contains(phoneCallLog)) { in updateNotifications()
127 mCurrentPhoneCallLogList.remove(phoneCallLog); in updateNotifications()
131 for (PhoneCallLog phoneCallLog : mCurrentPhoneCallLogList) { in updateNotifications()
132 cancelMissedCallNotification(phoneCallLog); in updateNotifications()
177 private void cancelMissedCallNotification(PhoneCallLog phoneCallLog) { in cancelMissedCallNotification() argument
178 L.d(TAG, "cancel missed call notification %s", phoneCallLog); in cancelMissedCallNotification()
179 String tag = getTag(phoneCallLog); in cancelMissedCallNotification()
223 private String getTag(@NonNull PhoneCallLog phoneCallLog) { in getTag() argument
[all …]
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DUiCallLogLiveData.java144 for (PhoneCallLog phoneCallLog : phoneCallLogs) { in convert()
145 String header = getHeader(phoneCallLog.getLastCallEndTimestamp()); in convert()
151 String number = phoneCallLog.getPhoneNumberString(); in convert()
152 String relativeTime = getRelativeTime(phoneCallLog.getLastCallEndTimestamp()); in convert()
156 phoneCallLog.getAllCallRecords()); in convert()
217 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()