Home
last modified time | relevance | path

Searched refs:mCallRecords (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/entity/
DUiCallLog.java35 private final List<PhoneCallLog.Record> mCallRecords; field in UiCallLog
44 mCallRecords = new ArrayList<>(callRecords); in UiCallLog()
85 return getCallRecords(mCallRecords.size()); in getCallRecords()
97 toIndex = Math.min(toIndex, mCallRecords.size()); in getCallRecords()
101 return new ArrayList<>(mCallRecords.subList(0, toIndex)); in getCallRecords()
109 return mCallRecords.isEmpty() ? 0 in getMostRecentCallEndTimestamp()
110 : mCallRecords.get(0).getCallEndTimestamp(); in getMostRecentCallEndTimestamp()
117 return mCallRecords.isEmpty() ? CallHistoryLiveData.CallType.CALL_TYPE_ALL in getMostRecentCallType()
118 : mCallRecords.get(0).getCallType(); in getMostRecentCallType()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DPhoneCallLog.java74 private List<Record> mCallRecords = new ArrayList<>(); field in PhoneCallLog
91 phoneCallLog.mCallRecords.add(record); in fromCursor()
110 if (!mCallRecords.isEmpty()) { in getLastCallEndTimestamp()
111 return mCallRecords.get(0).getCallEndTimestamp(); in getLastCallEndTimestamp()
121 return new ArrayList<>(mCallRecords); in getAllCallRecords()
130 mCallRecords.addAll(phoneCallLog.mCallRecords); in merge()
131 Collections.sort(mCallRecords); in merge()
166 sb.append(mCallRecords.size()); in toString()