Home
last modified time | relevance | path

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

/packages/apps/Car/Dialer/src/com/android/car/dialer/notification/
DMissedCallNotificationController.java40 import com.android.car.telephony.common.PhoneCallLog;
71 private final LiveData<List<PhoneCallLog>> mUnreadMissedCallLiveData;
72 private final Observer<List<PhoneCallLog>> mUnreadMissedCallObserver;
73 private final List<PhoneCallLog> mCurrentPhoneCallLogList;
100 private void updateNotifications(@Nullable List<PhoneCallLog> phoneCallLogs) { in updateNotifications()
101 List<PhoneCallLog> updatedPhoneCallLogs = in updateNotifications()
103 for (PhoneCallLog phoneCallLog : updatedPhoneCallLogs) { in updateNotifications()
108 for (PhoneCallLog phoneCallLog : mCurrentPhoneCallLogList) { in updateNotifications()
115 private void showMissedCallNotification(PhoneCallLog callLog) { in showMissedCallNotification()
152 private void cancelMissedCallNotification(PhoneCallLog phoneCallLog) { in cancelMissedCallNotification()
[all …]
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DPhoneCallLog.java35 public class PhoneCallLog { class
79 public static PhoneCallLog fromCursor(Context context, Cursor cursor) { in fromCursor()
86 PhoneCallLog phoneCallLog = new PhoneCallLog(); in fromCursor()
138 public boolean merge(@NonNull PhoneCallLog phoneCallLog) { in merge()
149 if (object instanceof PhoneCallLog) { in equals()
152 return mId == ((PhoneCallLog) object).mId; in equals()
155 ((PhoneCallLog) object).mI18nPhoneNumberWrapper); in equals()
/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/
DUnreadMissedCallLiveData.java29 import com.android.car.telephony.common.PhoneCallLog;
37 public class UnreadMissedCallLiveData extends AsyncQueryLiveData<List<PhoneCallLog>> {
77 protected List<PhoneCallLog> convertToEntity(@NonNull Cursor cursor) { in convertToEntity()
78 List<PhoneCallLog> missedCalls = new ArrayList<>(); in convertToEntity()
81 PhoneCallLog phoneCallLog = PhoneCallLog.fromCursor(mContext, cursor); in convertToEntity()
83 PhoneCallLog existingCallLog = null; in convertToEntity()
DCallHistoryLiveData.java31 import com.android.car.telephony.common.PhoneCallLog;
41 public class CallHistoryLiveData extends AsyncQueryLiveData<List<PhoneCallLog>> {
109 protected List<PhoneCallLog> convertToEntity(Cursor cursor) { in convertToEntity()
110 List<PhoneCallLog> resultList = new ArrayList<>(); in convertToEntity()
113 PhoneCallLog phoneCallLog = PhoneCallLog.fromCursor(mContext, cursor); in convertToEntity()
114 PhoneCallLog previousCallLog = resultList.isEmpty() ? null : resultList.get( in convertToEntity()
/packages/apps/Car/Dialer/tests/instrutests/src/com/android/car/dialer/integration/
DRecentCallLogTest.java57 import com.android.car.telephony.common.PhoneCallLog;
95 PhoneCallLog mMockPhoneCallLog;
96 private PhoneCallLog.Record mIncomingRecord;
97 private PhoneCallLog.Record mOutgoingRecord;
111 mIncomingRecord = new PhoneCallLog.Record(System.currentTimeMillis(), in setup()
113 mOutgoingRecord = new PhoneCallLog.Record(System.currentTimeMillis() - 10000, in setup()
115 MutableLiveData<List<PhoneCallLog>> callLogLiveData = new MutableLiveData<>(); in setup()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/entity/
DUiCallLog.java27 import com.android.car.telephony.common.PhoneCallLog;
44 private final List<PhoneCallLog.Record> mCallRecords;
50 List<PhoneCallLog.Record> callRecords) { in UiCallLog()
129 public List<PhoneCallLog.Record> getCallRecords() { in getCallRecords()
140 public List<PhoneCallLog.Record> getCallRecords(int n) { in getCallRecords()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DUiCallLogLiveData.java33 import com.android.car.telephony.common.PhoneCallLog;
58 LiveData<List<PhoneCallLog>> callHistoryLiveData, in UiCallLogLiveData()
69 private void onCallHistoryChanged(@Nullable List<PhoneCallLog> callLogs) { in onCallHistoryChanged()
77 private void onContactsChanged(List<PhoneCallLog> callLogs) { in onContactsChanged()
113 private List<Object> convert(@Nullable List<PhoneCallLog> phoneCallLogs) { in convert()
121 for (PhoneCallLog phoneCallLog : phoneCallLogs) { in convert()
/packages/apps/Car/Dialer/src/com/android/car/dialer/bluetooth/
DCallHistoryManager.java23 import com.android.car.telephony.common.PhoneCallLog;
37 private LiveData<List<PhoneCallLog>> mCallHistoryLiveData;
42 CallHistoryManager(LiveData<List<PhoneCallLog>> callHistoryLiveData) { in CallHistoryManager()
64 public LiveData<List<PhoneCallLog>> getCallHistoryLiveData() { in getCallHistoryLiveData()
/packages/apps/Car/Dialer/framework/emulator/src/com/android/car/dialer/framework/
DSingleHfpEmulatorModule.java30 import com.android.car.telephony.common.PhoneCallLog;
85 static LiveData<List<PhoneCallLog>> provideCallHistoryLiveData( in provideCallHistoryLiveData()
/packages/apps/Car/Dialer/src/com/android/car/dialer/inject/
DHfpDataModules.java32 import com.android.car.telephony.common.PhoneCallLog;
62 static LiveData<List<PhoneCallLog>> provideCallHistoryLiveData( in provideCallHistoryLiveData()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/calllog/
DCallLogViewHolder.java35 import com.android.car.telephony.common.PhoneCallLog;
93 for (PhoneCallLog.Record record : uiCallLog.getCallRecords()) { in bind()