Searched refs:PhoneCallLog (Results 1 – 11 of 11) sorted by relevance
40 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 …]
35 public class PhoneCallLog { class79 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()
29 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()
31 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()
57 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()
27 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()
33 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()
23 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()
30 import com.android.car.telephony.common.PhoneCallLog;85 static LiveData<List<PhoneCallLog>> provideCallHistoryLiveData( in provideCallHistoryLiveData()
32 import com.android.car.telephony.common.PhoneCallLog;62 static LiveData<List<PhoneCallLog>> provideCallHistoryLiveData( in provideCallHistoryLiveData()
35 import com.android.car.telephony.common.PhoneCallLog;93 for (PhoneCallLog.Record record : uiCallLog.getCallRecords()) { in bind()