/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/ |
D | ContactsUtilsTests.java | 28 import com.android.contacts.common.ContactsUtils; 43 assertFalse(ContactsUtils.isGraphic(null)); in testIsGraphicNull() 47 assertFalse(ContactsUtils.isGraphic("")); in testIsGraphicEmpty() 51 assertFalse(ContactsUtils.isGraphic(" ")); in testIsGraphicSpaces() 55 assertTrue(ContactsUtils.isGraphic(".")); in testIsGraphicPunctuation() 59 assertTrue("null:null", ContactsUtils.areObjectsEqual(null, null)); in testAreObjectsEqual() 60 assertTrue("1:1", ContactsUtils.areObjectsEqual(1, 1)); in testAreObjectsEqual() 62 assertFalse("null:1", ContactsUtils.areObjectsEqual(null, 1)); in testAreObjectsEqual() 63 assertFalse("1:null", ContactsUtils.areObjectsEqual(1, null)); in testAreObjectsEqual() 64 assertFalse("1:2", ContactsUtils.areObjectsEqual(1, 2)); in testAreObjectsEqual() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/compat/ |
D | DirectoryCompat.java | 23 import com.android.contacts.common.ContactsUtils; 28 if (ContactsUtils.FLAG_N_FEATURE) { in getContentUri() 35 if (ContactsUtils.FLAG_N_FEATURE) { in isInvisibleDirectory() 43 if (ContactsUtils.FLAG_N_FEATURE) { in isRemoteDirectoryId() 50 return ContactsUtils.FLAG_N_FEATURE in isEnterpriseDirectoryId()
|
D | PhoneCompat.java | 22 import com.android.contacts.common.ContactsUtils; 31 if (ContactsUtils.FLAG_N_FEATURE) { in getContentFilterUri()
|
D | CallableCompat.java | 22 import com.android.contacts.common.ContactsUtils; 31 if (ContactsUtils.FLAG_N_FEATURE) { in getContentFilterUri()
|
D | ContactsCompat.java | 23 import com.android.contacts.common.ContactsUtils; 43 if (ContactsUtils.FLAG_N_FEATURE) { in getContentUri()
|
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
D | ContactInfoHelperTest.java | 25 import com.android.contacts.common.ContactsUtils; 104 ContactsUtils.USER_TYPE_CURRENT)); in testLookupDisplayNameAlternative_NullLookup() 111 TEST_LOOKUP_KEY, ContactsUtils.USER_TYPE_CURRENT)); in testLookupDisplayNameAlternative_NoResults() 120 , ContactsUtils.USER_TYPE_CURRENT)); in testLookupDisplayNameAlternative_HasDisplayNameAlternative()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | DataAction.java | 34 import com.android.contacts.common.ContactsUtils; 128 Uri.fromParts(ContactsUtils.SCHEME_SMSTO, number, null)); in DataAction() 164 final Uri mailUri = Uri.fromParts(ContactsUtils.SCHEME_MAILTO, address, null); in DataAction() 198 host = ContactsUtils.lookupProviderNameFromId(protocol); in DataAction() 203 final Uri imUri = new Uri.Builder().scheme(ContactsUtils.SCHEME_IMTO).authority( in DataAction() 336 || !ContactsUtils.areIntentActionEqual(mIntent, that.mIntent)) { in shouldCollapseWith()
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
D | CallerInfo.java | 38 import com.android.contacts.common.ContactsUtils; 39 import com.android.contacts.common.ContactsUtils.UserType; 201 userType = ContactsUtils.USER_TYPE_CURRENT; in CallerInfo() 221 info.userType = ContactsUtils.USER_TYPE_CURRENT; in getCallerInfo() 270 if (contactId != 0 && (ContactsUtils.FLAG_N_FEATURE in getCallerInfo() 322 info.userType = ContactsUtils.determineUserType(directoryId, contactId); in getCallerInfo()
|
D | StatusBarNotifier.java | 48 import com.android.contacts.common.ContactsUtils; 49 import com.android.contacts.common.ContactsUtils.UserType; 275 .setContentTitle(getContentString(call, ContactsUtils.USER_TYPE_CURRENT)); in buildAndSendNotification() 446 if (contactInfo.lookupUri != null && contactInfo.userType != ContactsUtils.USER_TYPE_WORK) { in addPersonReference() 540 if(userType == ContactsUtils.USER_TYPE_WORK || isWorkCall) { in getContentString()
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
D | RegularSearchListAdapter.java | 24 import com.android.contacts.common.ContactsUtils; 71 ? ContactsUtils.USER_TYPE_WORK : ContactsUtils.USER_TYPE_CURRENT; in getContactInfo()
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | ContactInfoHelper.java | 33 import com.android.contacts.common.ContactsUtils; 34 import com.android.contacts.common.ContactsUtils.UserType; 206 info.userType = ContactsUtils.determineUserType(null, in createPhoneLookupContactInfo() 215 if (lookupKey == null || userType == ContactsUtils.USER_TYPE_WORK) { in lookUpDisplayNameAlternative() 408 if (!ContactsUtils.FLAG_N_FEATURE) { in getContactInfoLookupUri()
|
D | DefaultVoicemailNotifier.java | 39 import com.android.contacts.common.ContactsUtils; 247 if (ContactsUtils.FLAG_N_FEATURE) { in getNotificationDefaults()
|
D | MissedCallNotifier.java | 30 import com.android.contacts.common.ContactsUtils; 112 titleResId = contactInfo.userType == ContactsUtils.USER_TYPE_WORK in updateMissedCallNotification()
|
D | PhoneQuery.java | 26 import com.android.contacts.common.ContactsUtils;
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | PhoneCapabilityTester.java | 30 import com.android.contacts.common.ContactsUtils; 87 Uri.fromParts(ContactsUtils.SCHEME_SMSTO, "", null)); in getSmsComponent()
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupBrowseListFragment.java | 49 import com.android.contacts.common.ContactsUtils; 148 setAddAccountsVisibility(!ContactsUtils.areGroupWritableAccountsAvailable(mContext)); in onCreateView() 218 setAddAccountsVisibility(!ContactsUtils.areGroupWritableAccountsAvailable(mContext)); in bindGroupList()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
D | ContactFragment.java | 31 import com.android.loaderapp.util.ContactsUtils; 415 imEntry.intent = ContactsUtils.buildImIntent(entryValues); in buildEntries() 426 entry.intent = ContactsUtils.buildImIntent(entryValues); in buildEntries() 628 if (!ContactsUtils.areDataEqual(context, mimetype, data, entry.mimetype, entry.data)) { in shouldCollapseWith() 633 || !ContactsUtils.areIntentActionEqual(intent, entry.intent) in shouldCollapseWith() 634 || !ContactsUtils.areIntentActionEqual(secondaryIntent, entry.secondaryIntent) in shouldCollapseWith()
|
/packages/apps/Dialer/src/com/android/dialer/util/ |
D | DialerUtils.java | 38 import com.android.contacts.common.ContactsUtils; 114 Uri.fromParts(ContactsUtils.SCHEME_SMSTO, "", null)); in getSmsComponent()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | PhotoEditorView.java | 37 import com.android.contacts.common.ContactsUtils; 182 final int size = ContactsUtils.getThumbnailSize(getContext()); in setPhotoEntry()
|
D | EditorUiUtils.java | 50 import com.android.contacts.common.ContactsUtils; 298 final int size = ContactsUtils.getThumbnailSize(context); in getCompressedThumbnailBitmapBytes()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
D | ContactsUtils.java | 44 public class ContactsUtils { class 183 host = ContactsUtils.lookupProviderNameFromId(protocol); in getCustomImIntent()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ShowOrCreateActivity.java | 37 import com.android.contacts.common.ContactsUtils; 130 if (ContactsUtils.SCHEME_MAILTO.equals(scheme)) { in onCreate()
|
D | AttachPhotoActivity.java | 49 import com.android.contacts.common.ContactsUtils; 292 final int size = ContactsUtils.getThumbnailSize(this); in saveToContact()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | RawContactModifier.java | 49 import com.android.contacts.common.ContactsUtils; 489 if (ContactsUtils.isGraphic(value)) { in isEmpty() 564 if (ContactsUtils.isGraphic(company)) { in parseExtras() 569 if (ContactsUtils.isGraphic(title)) { in parseExtras() 581 if (ContactsUtils.isGraphic(notes)) { in parseExtras() 600 if (ContactsUtils.isGraphic(name)) { in parseStructuredNameExtra() 645 if (ContactsUtils.isGraphic(phoneticName)) { in parseStructuredNameExtra()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | PhoneNumberListAdapter.java | 38 import com.android.contacts.common.ContactsUtils; 525 final long userType = ContactsUtils.determineUserType(directoryId, null); in bindWorkProfileIcon() 530 !isExtendedDirectory(directoryId) && userType == ContactsUtils.USER_TYPE_WORK); in bindWorkProfileIcon()
|