Home
last modified time | relevance | path

Searched refs:PhoneCallLog (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Car/Dialer/src/com/android/car/dialer/notification/
DMissedCallNotificationController.java41 import com.android.car.telephony.common.PhoneCallLog;
95 private final Observer<List<PhoneCallLog>> mUnreadMissedCallObserver;
96 private final List<PhoneCallLog> mCurrentPhoneCallLogList;
118 private void updateNotifications(@Nullable List<PhoneCallLog> phoneCallLogs) { in updateNotifications()
119 List<PhoneCallLog> updatedPhoneCallLogs = in updateNotifications()
121 for (PhoneCallLog phoneCallLog : updatedPhoneCallLogs) { in updateNotifications()
128 for (PhoneCallLog phoneCallLog : mCurrentPhoneCallLogList) { in updateNotifications()
135 private void showMissedCallNotification(PhoneCallLog phoneCallLog) { in showMissedCallNotification()
166 private void cancelMissedCallNotification(PhoneCallLog phoneCallLog) { in cancelMissedCallNotification()
210 private String getTag(@NonNull PhoneCallLog phoneCallLog) { in getTag()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DPhoneCallLog.java36 public class PhoneCallLog { class
79 public static PhoneCallLog fromCursor(Context context, Cursor cursor) { in fromCursor()
85 PhoneCallLog phoneCallLog = new PhoneCallLog(); in fromCursor()
128 public boolean merge(@NonNull PhoneCallLog phoneCallLog) { in merge()
139 if (object instanceof PhoneCallLog) { in equals()
142 return mId == ((PhoneCallLog) object).mId; in equals()
145 ((PhoneCallLog) object).mI18nPhoneNumberWrapper); in equals()
/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/
DUnreadMissedCallLiveData.java27 import com.android.car.telephony.common.PhoneCallLog;
35 public class UnreadMissedCallLiveData extends AsyncQueryLiveData<List<PhoneCallLog>> {
68 protected List<PhoneCallLog> convertToEntity(@NonNull Cursor cursor) { in convertToEntity()
69 List<PhoneCallLog> missedCalls = new ArrayList<>(); in convertToEntity()
72 PhoneCallLog phoneCallLog = PhoneCallLog.fromCursor(mContext, cursor); in convertToEntity()
74 PhoneCallLog existingCallLog = null; in convertToEntity()
DCallHistoryLiveData.java29 import com.android.car.telephony.common.PhoneCallLog;
39 public class CallHistoryLiveData extends AsyncQueryLiveData<List<PhoneCallLog>> {
105 protected List<PhoneCallLog> convertToEntity(Cursor cursor) { in convertToEntity()
106 List<PhoneCallLog> resultList = new ArrayList<>(); in convertToEntity()
109 PhoneCallLog phoneCallLog = PhoneCallLog.fromCursor(mContext, cursor); in convertToEntity()
110 PhoneCallLog previousCallLog = resultList.isEmpty() ? null : resultList.get( in convertToEntity()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/entity/
DUiCallLog.java22 import com.android.car.telephony.common.PhoneCallLog;
35 private final List<PhoneCallLog.Record> mCallRecords;
39 List<PhoneCallLog.Record> callRecords) { in UiCallLog()
84 public List<PhoneCallLog.Record> getCallRecords() { in getCallRecords()
95 public List<PhoneCallLog.Record> getCallRecords(int n) { in getCallRecords()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/calllog/
DCallHistoryFragmentTest.java40 import com.android.car.telephony.common.PhoneCallLog;
80 PhoneCallLog.Record record1 = new PhoneCallLog.Record(TIME_STAMP_1, in setup()
82 PhoneCallLog.Record record2 = new PhoneCallLog.Record(TIME_STAMP_2, in setup()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DUiCallLogLiveData.java33 import com.android.car.telephony.common.PhoneCallLog;
63 private void onCallHistoryChanged(List<PhoneCallLog> callLogs) { in onCallHistoryChanged()
103 private List<UiCallLog> convert(List<PhoneCallLog> phoneCallLogs) { in convert()
110 for (PhoneCallLog phoneCallLog : phoneCallLogs) { in convert()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/calllog/
DCallLogViewHolder.java34 import com.android.car.telephony.common.PhoneCallLog;
81 for (PhoneCallLog.Record record : uiCallLog.getCallRecords()) { in onBind()