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.java86 PhoneCallLog phoneCallLog = new PhoneCallLog(); in fromCursor() local
87 phoneCallLog.mId = cursor.getLong(idColumn); in fromCursor()
88 phoneCallLog.mPhoneNumberString = cursor.getString(numberColumn); in fromCursor()
89 phoneCallLog.mI18nPhoneNumberWrapper = I18nPhoneNumberWrapper.Factory.INSTANCE.get(context, in fromCursor()
90 phoneCallLog.mPhoneNumberString); in fromCursor()
92 phoneCallLog.mCallRecords.add(record); in fromCursor()
93 phoneCallLog.mAccountName = cursor.getString(accountNameColumn); in fromCursor()
94 return phoneCallLog; in fromCursor()
138 public boolean merge(@NonNull PhoneCallLog phoneCallLog) { in merge() argument
139 if (equals(phoneCallLog)) { in merge()
[all …]
/packages/apps/Car/Dialer/src/com/android/car/dialer/notification/
DMissedCallNotificationController.java103 for (PhoneCallLog phoneCallLog : updatedPhoneCallLogs) { in updateNotifications()
104 showMissedCallNotification(phoneCallLog); in updateNotifications()
105 mCurrentPhoneCallLogList.remove(phoneCallLog); in updateNotifications()
108 for (PhoneCallLog phoneCallLog : mCurrentPhoneCallLogList) { in updateNotifications()
109 cancelMissedCallNotification(phoneCallLog); in updateNotifications()
152 private void cancelMissedCallNotification(PhoneCallLog phoneCallLog) { in cancelMissedCallNotification() argument
153 L.d(TAG, "cancel missed call notification %s", phoneCallLog); in cancelMissedCallNotification()
154 String tag = getTag(phoneCallLog); in cancelMissedCallNotification()
189 private PendingIntent getDeleteIntent(PhoneCallLog phoneCallLog) { in getDeleteIntent() argument
192 String phoneNumberString = phoneCallLog.getPhoneNumberString(); in getDeleteIntent()
[all …]
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DUiCallLogLiveData.java121 for (PhoneCallLog phoneCallLog : phoneCallLogs) { in convert()
122 String header = getHeader(phoneCallLog.getLastCallEndTimestamp()); in convert()
128 String number = phoneCallLog.getPhoneNumberString(); in convert()
129 String relativeTime = getRelativeTime(phoneCallLog.getLastCallEndTimestamp()); in convert()
135 phoneCallLog.getAccountName()); in convert()
142 phoneCallLog.getAllCallRecords()); in convert()
/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/
DUnreadMissedCallLiveData.java81 PhoneCallLog phoneCallLog = PhoneCallLog.fromCursor(mContext, cursor); in convertToEntity() local
82 int index = missedCalls.indexOf(phoneCallLog); in convertToEntity()
88 if (existingCallLog == null || !existingCallLog.merge(phoneCallLog)) { in convertToEntity()
89 missedCalls.add(phoneCallLog); in convertToEntity()
DCallHistoryLiveData.java113 PhoneCallLog phoneCallLog = PhoneCallLog.fromCursor(mContext, cursor); in convertToEntity() local
117 if (previousCallLog == null || !previousCallLog.merge(phoneCallLog)) { in convertToEntity()
118 resultList.add(phoneCallLog); in convertToEntity()