Home
last modified time | relevance | path

Searched refs:isEnterpriseContactId (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/compat/
DContactsCompat.java52 public static boolean isEnterpriseContactId(long contactId) { in isEnterpriseContactId() method in ContactsCompat
54 return Contacts.isEnterpriseContactId(contactId); in isEnterpriseContactId()
/packages/apps/Messaging/src/com/android/messaging/util/
DContactUtil.java444 if (isEnterpriseContactId(contactId)) { in lookupFirstName()
521 public static boolean isEnterpriseContactId(final long contactId) { in isEnterpriseContactId() method in ContactUtil
522 return OsUtil.isAtLeastL() && ContactsContract.Contacts.isEnterpriseContactId(contactId); in isEnterpriseContactId()
/packages/apps/Dialer/java/com/android/contacts/common/
DContactsUtils.java66 if (contactId != null && contactId != 0L && Contacts.isEnterpriseContactId(contactId)) { in determineUserType()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DContactListItemData.java84 mIsWorkContact = ContactUtil.isEnterpriseContactId(contactId); in bind()
DConversationListItemData.java482 if (ContactUtil.isEnterpriseContactId(participant.getContactId())) { in hasAnyEnterpriseContact()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactDropdownLayouter.java103 boolean isWorkContact = ContactUtil.isEnterpriseContactId(entry.getContactId()); in bindView()
/packages/apps/Contacts/src/com/android/contacts/
DContactsUtils.java263 && ContactsCompat.isEnterpriseContactId(contactId)) { in determineUserType()
/packages/apps/Dialer/java/com/android/incallui/
DCallerInfo.java250 if (contactId != 0 && !Contacts.isEnterpriseContactId(contactId)) { in getCallerInfo()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListAdapter.java193 return ContactsCompat.isEnterpriseContactId(contactId); in isEnterpriseContact()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapVcardManager.java678 if (Contacts.isEnterpriseContactId(contactId)) { in getRawContactEntitlesInfo()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java2047 assertFalse(Contacts.isEnterpriseContactId(contactId)); // Make sure it's not rewritten. in testPhoneLookupEnterprise_noCorpProfile()
2076 assertFalse(Contacts.isEnterpriseContactId(contactId)); // Make sure it's not rewritten. in testPhoneLookupEnterprise_withCorpProfile_nullResult()
2181 assertFalse(Contacts.isEnterpriseContactId(contactId)); in testQueryMergedDataPhones()
2188 assertTrue(Contacts.isEnterpriseContactId(contactId)); in testQueryMergedDataPhones()
2225 assertFalse(Contacts.isEnterpriseContactId(contactId)); in testQueryMergedDataPhones_nullCorp()
2304 assertFalse(Contacts.isEnterpriseContactId(contactId)); in testPhoneLookupEnterprise_withCorpProfile()
2321 assertTrue(Contacts.isEnterpriseContactId(contactId)); in testPhoneLookupEnterprise_withCorpProfile()