Home
last modified time | relevance | path

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

/aosp12/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/entity/
H A DUiCallLog.java44 private final List<PhoneCallLog.Record> mCallRecords; field in UiCallLog
55 mCallRecords = new ArrayList<>(callRecords); in UiCallLog()
130 return getCallRecords(mCallRecords.size()); in getCallRecords()
142 toIndex = Math.min(toIndex, mCallRecords.size()); in getCallRecords()
146 return new ArrayList<>(mCallRecords.subList(0, toIndex)); in getCallRecords()
154 return mCallRecords.isEmpty() ? 0 in getMostRecentCallEndTimestamp()
155 : mCallRecords.get(0).getCallEndTimestamp(); in getMostRecentCallEndTimestamp()
162 return mCallRecords.isEmpty() ? CallHistoryLiveData.CallType.CALL_TYPE_ALL in getMostRecentCallType()
163 : mCallRecords.get(0).getCallType(); in getMostRecentCallType()
/aosp12/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
H A DPhoneCallLog.java86 private List<Record> mCallRecords = new ArrayList<>(); field in PhoneCallLog
105 phoneCallLog.mCallRecords.add(record); in fromCursor()
131 Preconditions.checkState(!mCallRecords.isEmpty(), "Unexpected empty call records"); in getLastCallEndTimestamp()
132 return mCallRecords.get(0).getCallEndTimestamp(); in getLastCallEndTimestamp()
140 return new ArrayList<>(mCallRecords); in getAllCallRecords()
162 mCallRecords.addAll(phoneCallLog.mCallRecords); in merge()
163 Collections.sort(mCallRecords); in merge()
196 sb.append(mCallRecords.size()); in toString()