Home
last modified time | relevance | path

Searched refs:getContact (Results 1 – 12 of 12) sorted by relevance

/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DContactPreference.java63 public EmergencyContactManager.Contact getContact(Context context, Uri phoneUri) {
64 return EmergencyContactManager.getContact(context, phoneUri);
94 EmergencyContactManager.Contact getContact(Context context, Uri phoneUri); in getContact() method
128 mContact = mContactFactory.getContact(getContext(), phoneUri); in setPhoneUri()
211 EmergencyContactManager.Contact getContact() { in getContact() method in ContactPreference
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/preferences/
DContactPreferenceTest.java58 when(mContactFactory.getContact(any(), any())).thenReturn(mContact); in setUp()
71 assertThat(mPreference.getContact().getName()).isEqualTo(NAME); in testContactPreference()
72 assertThat(mPreference.getContact().getPhoneNumber()).isEqualTo(PHONE_NUMBER); in testContactPreference()
DEmergencyContactsPreferenceTest.java95 when(mContactFactory.getContact(any(), any())).thenReturn(contact); in testAddAndRemoveEmergencyContact()
124 when(mContactFactory.getContact(any(), eq(contactUriJane))).thenReturn(contactJane); in testReloadFromPreference()
133 when(mContactFactory.getContact(any(), eq(contactUriJohn))).thenReturn(contactJohn); in testReloadFromPreference()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/search/
DContactResultsFragmentTest.java97 when(mContactResult1.getContact()).thenReturn(mContact1); in setUp()
100 when(mContactResult2.getContact()).thenReturn(mContact2); in setUp()
103 when(mContactResult3.getContact()).thenReturn(mContact3); in setUp()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/search/
DContactResultViewHolder.java76 Contact contact = contactResult.getContact(); in bindSearchResult()
98 Contact contact = contactResult.getContact(); in bindTypeDownResult()
DContactResultsFragment.java70 contactResult -> onShowContactDetail(contactResult.getContact()));
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DContactResultsLiveData.java150 .filter(o -> set.add(o.getContact())) in onQueryFinished()
207 public Contact getContact() { in getContact() method in ContactResultsLiveData.ContactResultListItem
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DPhoneFragment.java64 avatar, contactInfo.getContact(), contactInfo.getNumber()); in onCreateView()
DPhoneFragmentViewModel.java136 public Contact getContact() { in getContact() method in PhoneFragmentViewModel.ContactInfo
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/entity/
DUiCallLog.java121 public Contact getContact() { in getContact() method in UiCallLog
/packages/apps/EmergencyInfo/src/com/android/emergency/
DEmergencyContactManager.java41 public static Contact getContact(Context context, Uri phoneUri) { in getContact() method in EmergencyContactManager
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/calllog/
DCallLogViewHolder.java82 Contact contact = uiCallLog.getContact(); in bind()