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.java699 if (Contacts.isEnterpriseContactId(contactId)) { in getRawContactEntitlesInfo()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java2066 assertFalse(Contacts.isEnterpriseContactId(contactId)); // Make sure it's not rewritten. in testPhoneLookupEnterprise_noCorpProfile()
2095 assertFalse(Contacts.isEnterpriseContactId(contactId)); // Make sure it's not rewritten. in testPhoneLookupEnterprise_withCorpProfile_nullResult()
2200 assertFalse(Contacts.isEnterpriseContactId(contactId)); in testQueryMergedDataPhones()
2207 assertTrue(Contacts.isEnterpriseContactId(contactId)); in testQueryMergedDataPhones()
2244 assertFalse(Contacts.isEnterpriseContactId(contactId)); in testQueryMergedDataPhones_nullCorp()
2323 assertFalse(Contacts.isEnterpriseContactId(contactId)); in testPhoneLookupEnterprise_withCorpProfile()
2340 assertTrue(Contacts.isEnterpriseContactId(contactId)); in testPhoneLookupEnterprise_withCorpProfile()