Home
last modified time | relevance | path

Searched defs:contact (Results 1 – 25 of 62) sorted by relevance

123

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DGlobalSearchSupportTest.java70 GoldenContact contact = new GoldenContactBuilder().name("Deer", "Dough").photo( in testSearchSuggestionsByNameWithPhoto() local
77 GoldenContact contact = new GoldenContactBuilder().name("Deer", "Dough").photo( in testSearchSuggestionsByEmailWithPhoto() local
85 GoldenContact contact = new GoldenContactBuilder().name("Deer", "Dough").company("Google") in testSearchSuggestionsByName() local
92 GoldenContact contact = new GoldenContactBuilder().name("Deer", "Dough").nickname( in testSearchByNickname() local
99 GoldenContact contact = new GoldenContactBuilder().name("Deer", "Dough").company("Google") in testSearchByCompany() local
106 GoldenContact contact = new GoldenContactBuilder().name("Deer", "Dough").company("Google") in testSearchByTitleWithCompany() local
115 GoldenContact contact = new GoldenContactBuilder().name("Deer", "Dough").photo( in testSearchSuggestionsByPhoneNumberOnNonPhone() local
127 private final GoldenContact contact; field in GlobalSearchSupportTest.SuggestionTester
294 private final GoldenContact contact; field in GlobalSearchSupportTest.SuggestionTesterBuilder
306 public SuggestionTesterBuilder(GoldenContact contact) { in SuggestionTesterBuilder()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactDetailsViewModel.java68 public LiveData<FutureData<Contact>> getContactDetails(@Nullable Contact contact) { in getContactDetails()
84 public void addToFavorite(Contact contact, PhoneNumber phoneNumber) { in addToFavorite()
94 public void removeFromFavorite(Contact contact, PhoneNumber phoneNumber) { in removeFromFavorite()
106 private ContactDetailsLiveData(Context context, @NonNull Contact contact) { in ContactDetailsLiveData()
159 public void setValue(Contact contact) { in setValue()
DContactListViewHolder.java77 public void bind(Contact contact, boolean showHeader, String header, Integer sortMethod) { in bind()
78 TelecomUtils.setContactBitmapAsync(mAvatarView.getContext(), mAvatarView, contact, in bind() local
94 private void setLabelText(Contact contact) { in setLabelText()
115 private void setCallActionView(Contact contact, boolean forceShowButton) { in setCallActionView()
136 private void setShowContactDetailView(Contact contact, boolean forceShowButton) { in setShowContactDetailView()
DContactDetailsAdapter.java50 void onClick(Contact contact, PhoneNumber phoneNumber); in onClick()
63 @Assisted @Nullable Contact contact, in ContactDetailsAdapter()
72 void setContact(Contact contact) { in setContact()
160 ContactDetailsAdapter create(@Nullable Contact contact, in create()
DContactDetailsFragment.java77 public static ContactDetailsFragment newInstance(Contact contact) { in newInstance()
120 private void onContactChanged(Contact contact) { in onContactChanged()
183 public void onClick(Contact contact, PhoneNumber phoneNumber) { in onClick()
DContactListAdapter.java94 Contact contact = mContactList.get(position); in onBindViewHolderImpl() local
118 private String getHeader(Contact contact) { in getHeader()
DContactDetailsViewHolder.java117 public void bind(Context context, Contact contact) { in bind()
169 public void bind(Context context, Contact contact, PhoneNumber phoneNumber) { in bind()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DContactLoaderTest.java120 Contact contact = assertLoadContact(baseUri); in testLoadContactWithContactIdUri() local
148 Contact contact = assertLoadContact(legacyUri); in testLoadContactWithOldStyleUri() local
179 Contact contact = assertLoadContact(rawContactUri); in testLoadContactWithRawContactIdUri() local
203 Contact contact = assertLoadContact(lookupNoIdUri); in testLoadContactWithContactLookupUri() local
227 Contact contact = assertLoadContact(lookupUri); in testLoadContactWithContactLookupAndIdUri() local
261 Contact contact = assertLoadContact(lookupWithWrongIdUri); in testLoadContactWithContactLookupWithIncorrectIdUri() local
294 Contact contact = assertLoadContact(lookupUri); in testLoadContactReturnDirectoryContactWithoutDisplayName() local
DRawContactTest.java42 final RawContact contact = new RawContact(values); in buildRawContact() local
57 final RawContact contact = new RawContact(values); in buildRawContact2() local
DSimContactTests.java46 private void assertParcelsCorrectly(SimContact contact) { in assertParcelsCorrectly()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/calllog/
DCallLogViewHolder.java82 Contact contact = uiCallLog.getContact(); in bind() local
87 contact, in bind() local
125 private void setUpActionButton(Contact contact) { in setUpActionButton()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DDialerUtils.java114 Contact contact, in promptForPrimaryNumber()
136 private static boolean hasPostalAddress(Resources resources, @NonNull Contact contact) { in hasPostalAddress()
145 public static boolean hasContactDetail(Resources resources, @Nullable Contact contact) { in hasContactDetail()
/packages/apps/Car/Dialer/src/com/android/car/dialer/storage/
DFavoriteNumberRepository.java118 public void addToFavorite(Contact contact, PhoneNumber phoneNumber) { in addToFavorite()
132 public void removeFromFavorite(Contact contact, PhoneNumber phoneNumber) { in removeFromFavorite()
219 Contact contact = Contact.fromCursor(mContext, cursor); in lookupContact() local
237 private boolean matches(FavoriteNumberEntity favoriteNumber, Contact contact, in matches()
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DOldCallDetailsAdapter.java39 private final DialerContact contact; field in OldCallDetailsAdapter
43 DialerContact contact, in OldCallDetailsAdapter()
DOldCallDetailsActivity.java42 private DialerContact contact; field in OldCallDetailsActivity
53 DialerContact contact, in newInstance()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/search/
DContactResultViewHolder.java76 Contact contact = contactResult.getContact(); in bindSearchResult() local
98 Contact contact = contactResult.getContact(); in bindTypeDownResult() local
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/favorite/
DFavoriteFragment.java106 private void onItemClicked(Contact contact) { in onItemClicked()
107 DialerUtils.promptForPrimaryNumber(getContext(), contact, (phoneNumber, always) -> in onItemClicked() local
DFavoriteAdapter.java119 Contact contact = (Contact) mFavoriteContacts.get(position); in onBindViewHolder() local
170 private void onItemViewClicked(Contact contact) { in onItemViewClicked()
DFavoriteContactViewHolder.java62 public void bind(@NonNull Contact contact, Integer sortMethod) { in bind()
DFavoriteViewModel.java113 public void addToFavorite(Contact contact, PhoneNumber phoneNumber) { in addToFavorite()
/packages/apps/Contacts/src/com/android/contacts/activities/
DAttachPhotoActivity.java269 public void onContactLoaded(Contact contact); in onContactLoaded()
278 private void saveContact(Contact contact) { in saveContact()
298 private void saveToContact(Contact contact, RawContactDeltaList deltaList, in saveToContact()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/testutils/
DShadowInMemoryPhoneBook.java39 public void add(String number, Contact contact) { in add()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/dialpad/
DDialpadFragment.java321 Contact contact = InMemoryPhoneBook.get().lookupContactEntry(number); in presentContactInfo() local
331 private void presentContactDetail(@Nullable Contact contact, @NonNull String number) { in presentContactDetail()
339 TelecomUtils.setContactBitmapAsync(getContext(), mAvatar, contact, in presentContactDetail() local
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/util/
DChatManager.java182 public void initChatSession(String contact, SessionStateCallback callback) { in initChatSession()
232 public ListenableFuture<Void> sendMessage(String contact, String message) { in sendMessage()
251 public void terminateSession(String contact) { in terminateSession()
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DUceControllerManagerTest.java170 Uri contact = Uri.fromParts("sip", "00000", null); in testRequestNetworkAvailability() local
185 Uri contact = Uri.fromParts("sip", "00000", null); in testRequestNetworkAvailabilityWithRcsUnavailable() local

123