Home
last modified time | relevance | path

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

/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/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/Car/VoiceControl/src/com/android/car/voicecontrol/
DInteractionServiceClient.java154 public Contact getContact(String query, @Nullable String deviceAddress) { in getContact() method in InteractionServiceClient
155 return getRemote(() -> mInteractionService.getContact(query, deviceAddress)); in getContact()
DILocalService.aidl31 Contact getContact(String query, String deviceAddress); in getContact() method
DInteractionService.java124 public Contact getContact(String query, @Nullable String deviceAddress) {
125 return mContactsProvider.getContact(query, deviceAddress);
DContactsProvider.java106 public Contact getContact(String query, @Nullable String deviceAddress) { in getContact() method in ContactsProvider
DVoicePlateActivity.java207 Contact contact = mInteractionService.getContact(strings.get(0), deviceAddress); in askToDisambiguatePhoneNumber()
/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/EmergencyInfo/src/com/android/emergency/
DEmergencyContactManager.java41 public static Contact getContact(Context context, Uri phoneUri) { in getContact() method in EmergencyContactManager
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/actuators/
DCommActuator.java123 Contact contact = mInteractionService.getContact(query, null); in getPhoneNumberAndName()