Searched refs:phoneCallLog (Results 1 – 5 of 5) sorted by relevance
121 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() argument136 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 …]
85 PhoneCallLog phoneCallLog = new PhoneCallLog(); in fromCursor() local86 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() argument129 if (equals(phoneCallLog)) { in merge()130 mCallRecords.addAll(phoneCallLog.mCallRecords); in merge()
110 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()
72 PhoneCallLog phoneCallLog = PhoneCallLog.fromCursor(mContext, cursor); in convertToEntity() local73 int index = missedCalls.indexOf(phoneCallLog); in convertToEntity()79 if (existingCallLog == null || !existingCallLog.merge(phoneCallLog)) { in convertToEntity()80 missedCalls.add(phoneCallLog); in convertToEntity()
109 PhoneCallLog phoneCallLog = PhoneCallLog.fromCursor(mContext, cursor); in convertToEntity() local113 if (previousCallLog == null || !previousCallLog.merge(phoneCallLog)) { in convertToEntity()114 resultList.add(phoneCallLog); in convertToEntity()