Home
last modified time | relevance | path

Searched refs:ContactsUtils (Results 1 – 25 of 33) sorted by relevance

12

/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/
H A DContactsUtilsTests.java42 assertFalse(ContactsUtils.isGraphic(null)); in testIsGraphicNull()
46 assertFalse(ContactsUtils.isGraphic("")); in testIsGraphicEmpty()
50 assertFalse(ContactsUtils.isGraphic(" ")); in testIsGraphicSpaces()
54 assertTrue(ContactsUtils.isGraphic(".")); in testIsGraphicPunctuation()
58 assertTrue("null:null", ContactsUtils.areObjectsEqual(null, null)); in testAreObjectsEqual()
59 assertTrue("1:1", ContactsUtils.areObjectsEqual(1, 1)); in testAreObjectsEqual()
61 assertFalse("null:1", ContactsUtils.areObjectsEqual(null, 1)); in testAreObjectsEqual()
62 assertFalse("1:null", ContactsUtils.areObjectsEqual(1, null)); in testAreObjectsEqual()
63 assertFalse("1:2", ContactsUtils.areObjectsEqual(1, 2)); in testAreObjectsEqual()
67 assertTrue("1", ContactsUtils.areIntentActionEqual(null, null)); in testAreIntentActionEqual()
[all …]
/aosp12/packages/apps/Contacts/src/com/android/contacts/compat/
H A DDirectoryCompat.java22 import com.android.contacts.ContactsUtils;
27 if (ContactsUtils.FLAG_N_FEATURE) { in getContentUri()
34 if (ContactsUtils.FLAG_N_FEATURE) { in isInvisibleDirectory()
42 if (ContactsUtils.FLAG_N_FEATURE) { in isRemoteDirectoryId()
49 return ContactsUtils.FLAG_N_FEATURE in isEnterpriseDirectoryId()
H A DCallableCompat.java22 import com.android.contacts.ContactsUtils;
31 if (ContactsUtils.FLAG_N_FEATURE) { in getContentFilterUri()
H A DPhoneCompat.java22 import com.android.contacts.ContactsUtils;
31 if (ContactsUtils.FLAG_N_FEATURE) { in getContentFilterUri()
H A DContactsCompat.java23 import com.android.contacts.ContactsUtils;
43 if (ContactsUtils.FLAG_N_FEATURE) { in getContentUri()
/aosp12/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DDataAction.java32 import com.android.contacts.ContactsUtils;
123 Uri.fromParts(ContactsUtils.SCHEME_SMSTO, number, null)); in DataAction()
159 final Uri mailUri = Uri.fromParts(ContactsUtils.SCHEME_MAILTO, address, null); in DataAction()
193 host = ContactsUtils.lookupProviderNameFromId(protocol); in DataAction()
198 final Uri imUri = new Uri.Builder().scheme(ContactsUtils.SCHEME_IMTO).authority( in DataAction()
331 || !ContactsUtils.areIntentActionEqual(mIntent, that.mIntent)) { in shouldCollapseWith()
/aosp12/packages/apps/Dialer/java/com/android/incallui/
H A DCallerInfo.java32 import com.android.contacts.common.ContactsUtils;
33 import com.android.contacts.common.ContactsUtils.UserType;
156 userType = ContactsUtils.USER_TYPE_CURRENT; in CallerInfo()
184 info.userType = ContactsUtils.USER_TYPE_CURRENT; in getCallerInfo()
304 info.userType = ContactsUtils.determineUserType(directoryId, contactId); in getCallerInfo()
H A DStatusBarNotifier.java65 import com.android.contacts.common.ContactsUtils;
66 import com.android.contacts.common.ContactsUtils.UserType;
341 .setContentTitle(getContentString(call, ContactsUtils.USER_TYPE_CURRENT)); in buildAndSendNotification()
582 if (contactInfo.lookupUri != null && contactInfo.userType != ContactsUtils.USER_TYPE_WORK) { in addPersonReference()
726 if (userType == ContactsUtils.USER_TYPE_WORK || isWorkCall) { in getContentString()
H A DExternalCallNotifier.java39 import com.android.contacts.common.ContactsUtils;
382 if (contactInfo.lookupUri != null && contactInfo.userType != ContactsUtils.USER_TYPE_WORK) { in getPersonReference()
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/
H A DPhoneCapabilityTester.java30 import com.android.contacts.ContactsUtils;
87 Uri.fromParts(ContactsUtils.SCHEME_SMSTO, "", null)); in getSmsComponent()
/aosp12/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupUtil.java31 import com.android.contacts.ContactsUtils;
108 final String select = (ContactsUtils.SCHEME_MAILTO.equals(scheme) in getSendToDataForIds()
115 ContactsUtils.SCHEME_MAILTO.equals(scheme) in getSendToDataForIds()
154 intent.setType(ContactsUtils.SCHEME_MAILTO.equals(sendScheme) in createSendToSelectionPickerIntent()
H A DGroupMembersFragment.java51 import com.android.contacts.ContactsUtils;
372 final String select = (ContactsUtils.SCHEME_MAILTO.equals(sendScheme) in sendToGroup()
378 ContactsUtils.SCHEME_MAILTO.equals(sendScheme) in sendToGroup()
429 Toast.makeText(getContext(), ContactsUtils.SCHEME_MAILTO.equals(sendScheme) in sendToGroup()
465 sendToGroup(ids, ContactsUtils.SCHEME_MAILTO, in onOptionsItemSelected()
471 sendToGroup(ids, ContactsUtils.SCHEME_SMSTO, in onOptionsItemSelected()
/aosp12/packages/apps/Contacts/src/com/android/contacts/
H A DContactsUtils.java37 public class ContactsUtils { class
170 host = ContactsUtils.lookupProviderNameFromId(protocol); in getCustomImIntent()
/aosp12/packages/apps/Dialer/java/com/android/contacts/common/
H A DContactsUtils.java25 public class ContactsUtils { class
/aosp12/packages/apps/Contacts/src/com/android/contacts/activities/
H A DShowOrCreateActivity.java38 import com.android.contacts.ContactsUtils;
129 if (ContactsUtils.SCHEME_MAILTO.equals(scheme)) { in onCreate()
H A DAttachPhotoActivity.java42 import com.android.contacts.ContactsUtils;
305 final int size = ContactsUtils.getThumbnailSize(this); in saveToContact()
/aosp12/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
H A DContactInfoHelper.java33 import com.android.contacts.common.ContactsUtils;
34 import com.android.contacts.common.ContactsUtils.UserType;
103 if (lookupKey == null || userType == ContactsUtils.USER_TYPE_WORK) { in lookUpDisplayNameAlternative()
370 ContactsUtils.determineUserType(null, phoneLookupCursor.getLong(PhoneQuery.PERSON_ID)); in createPhoneLookupContactInfo()
H A DContactInfo.java22 import com.android.contacts.common.ContactsUtils.UserType;
/aosp12/packages/apps/Contacts/src/com/android/contacts/model/
H A DRawContactModifier.java49 import com.android.contacts.ContactsUtils;
487 if (ContactsUtils.isGraphic(value)) { in isEmpty()
562 if (ContactsUtils.isGraphic(company)) { in parseExtras()
567 if (ContactsUtils.isGraphic(title)) { in parseExtras()
579 if (ContactsUtils.isGraphic(notes)) { in parseExtras()
598 if (ContactsUtils.isGraphic(name)) { in parseStructuredNameExtra()
643 if (ContactsUtils.isGraphic(phoneticName)) { in parseStructuredNameExtra()
/aosp12/packages/apps/Dialer/java/com/android/dialer/app/calllog/
H A DMissedCallNotifier.java44 import com.android.contacts.common.ContactsUtils;
172 contactInfo.userType == ContactsUtils.USER_TYPE_WORK in updateMissedCallNotification()
332 contactInfo.userType == ContactsUtils.USER_TYPE_WORK in getNotificationForCall()
/aosp12/packages/apps/Contacts/src/com/android/contacts/editor/
H A DEditorUiUtils.java50 import com.android.contacts.ContactsUtils;
281 final int size = ContactsUtils.getThumbnailSize(context); in getCompressedThumbnailBitmapBytes()
/aosp12/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactEntryListAdapter.java39 import com.android.contacts.ContactsUtils;
624 final long userType = ContactsUtils.determineUserType(directoryId, null); in bindWorkProfileIcon()
625 view.setWorkProfileIconEnabled(userType == ContactsUtils.USER_TYPE_WORK); in bindWorkProfileIcon()
H A DPhoneNumberListAdapter.java38 import com.android.contacts.ContactsUtils;
525 final long userType = ContactsUtils.determineUserType(directoryId, null); in bindWorkProfileIcon()
530 !isExtendedDirectory(directoryId) && userType == ContactsUtils.USER_TYPE_WORK); in bindWorkProfileIcon()
/aosp12/packages/apps/Dialer/java/com/android/dialer/calllogutils/
H A DPhoneCallDetails.java27 import com.android.contacts.common.ContactsUtils.UserType;
/aosp12/packages/apps/Contacts/src/com/android/contacts/preference/
H A DDisplayOptionsPreferenceFragment.java49 import com.android.contacts.ContactsUtils;
299 final boolean showBlockedNumbers = isPhone && ContactsUtils.FLAG_N_FEATURE in removeUnsupportedPreferences()

12