Home
last modified time | relevance | path

Searched refs:InMemoryPhoneBook (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DInMemoryPhoneBook.java49 public class InMemoryPhoneBook implements Observer<List<Contact>> { class
51 private static InMemoryPhoneBook sInMemoryPhoneBook;
76 public static InMemoryPhoneBook init(Context context) { in init()
78 sInMemoryPhoneBook = new InMemoryPhoneBook(context); in init()
97 public static InMemoryPhoneBook get() { in get()
113 private InMemoryPhoneBook(Context context) { in InMemoryPhoneBook() method in InMemoryPhoneBook
DTelecomUtils.java288 if (InMemoryPhoneBook.isInitialized()) { in lookupNumberInBackground()
289 Contact contact = InMemoryPhoneBook.get().lookupContactEntry(number); in lookupNumberInBackground()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactDetailsViewModel.java33 import com.android.car.telephony.common.InMemoryPhoneBook;
112 addSource(InMemoryPhoneBook.get().getContactsLiveData(), this::onContactListChanged); in ContactDetailsLiveData()
119 Contact inMemoryContact = InMemoryPhoneBook.get().lookupContactByKey( in onContactListChanged()
142 Contact contact = InMemoryPhoneBook.get().lookupContactByKey(lookupKey, in onContactListChanged()
153 Contact inMemoryContact = InMemoryPhoneBook.get().lookupContactByKey( in onFavoriteContactsChanged()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/dialpad/
DDialpadFragmentTest.java43 import com.android.car.telephony.common.InMemoryPhoneBook;
85 InMemoryPhoneBook.init(mContext); in setup()
98 InMemoryPhoneBook.tearDown(); in tearDown()
223 ShadowInMemoryPhoneBook phoneBook = Shadow.extract(InMemoryPhoneBook.get()); in testDisplayName()
/packages/apps/Car/Dialer/tests/instrutests/src/com/android/car/dialer/integration/
DTestDialerApplication.java21 import com.android.car.telephony.common.InMemoryPhoneBook;
31 InMemoryPhoneBook.init(this); in onCreate()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DUiCallLogLiveData.java32 import com.android.car.telephony.common.InMemoryPhoneBook;
120 InMemoryPhoneBook inMemoryPhoneBook = InMemoryPhoneBook.get(); in convert()
DContactResultsLiveData.java35 import com.android.car.telephony.common.InMemoryPhoneBook;
141 Contact contact = InMemoryPhoneBook.get().lookupContactByKey(lookupKey, accountName); in onQueryFinished()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/testutils/
DShadowInMemoryPhoneBook.java20 import com.android.car.telephony.common.InMemoryPhoneBook;
31 @Implements(InMemoryPhoneBook.class)
/packages/apps/Car/Dialer/src/com/android/car/dialer/
DDialerApplication.java29 import com.android.car.telephony.common.InMemoryPhoneBook;
58 InMemoryPhoneBook.init(this); in onCreate()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/search/
DContactResultsFragmentTest.java41 import com.android.car.telephony.common.InMemoryPhoneBook;
88 InMemoryPhoneBook.init(RuntimeEnvironment.application); in setUp()
110 InMemoryPhoneBook.tearDown(); in tearDown()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/calllog/
DCallHistoryViewModel.java31 import com.android.car.telephony.common.InMemoryPhoneBook;
58 InMemoryPhoneBook.get().getContactsLiveData()); in CallHistoryViewModel()
/packages/apps/Car/Dialer/framework/emulator/src/com/android/car/dialer/framework/
DSingleHfpEmulatorModule.java29 import com.android.car.telephony.common.InMemoryPhoneBook;
92 return InMemoryPhoneBook.get().getContactsLiveDataByAccount(null); in provideContactListLiveData()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DPhoneFragmentViewModel.java30 import com.android.car.telephony.common.InMemoryPhoneBook;
125 mContact = InMemoryPhoneBook.get().lookupContactEntry(info.getPhoneNumber()); in ContactInfo()
DMainClusterActivity.java65 import com.android.car.telephony.common.InMemoryPhoneBook;
278 InMemoryPhoneBook.init(this); in onCreate()
/packages/apps/Car/Dialer/src/com/android/car/dialer/inject/
DHfpDataModules.java31 import com.android.car.telephony.common.InMemoryPhoneBook;
74 device -> InMemoryPhoneBook.get().getContactsLiveDataByAccount( in provideContactListLiveData()
/packages/apps/Car/Dialer/src/com/android/car/dialer/storage/
DFavoriteNumberRepository.java38 import com.android.car.telephony.common.InMemoryPhoneBook;
221 Contact inMemoryContact = InMemoryPhoneBook.get().lookupContactByKey( in lookupContact()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/dialpad/
DDialpadFragment.java46 import com.android.car.telephony.common.InMemoryPhoneBook;
321 Contact contact = InMemoryPhoneBook.get().lookupContactEntry(number); in presentContactInfo()