Home
last modified time | relevance | path

Searched refs:getContact (Results 1 – 11 of 11) 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.java93 when(mContactResult1.getContact()).thenReturn(mContact1); in setUp()
96 when(mContactResult2.getContact()).thenReturn(mContact2); in setUp()
99 when(mContactResult3.getContact()).thenReturn(mContact3); in setUp()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/search/
DContactResultViewHolder.java72 Contact contact = contactResult.getContact(); in bindSearchResult()
90 Contact contact = contactResult.getContact(); in bindTypeDownResult()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DContactResultsLiveData.java142 .filter(o -> set.add(o.getContact())) in onQueryFinished()
196 public Contact getContact() { in getContact() method in ContactResultsLiveData.ContactResultListItem
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/entity/
DUiCallLog.java81 public Contact getContact() { in getContact() method in UiCallLog
/packages/apps/Car/Cluster/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/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.java72 Contact contact = uiCallLog.getContact(); in bind()