Home
last modified time | relevance | path

Searched refs:ContactsProvider2 (Results 1 – 25 of 27) sorted by relevance

12

/packages/providers/ContactsProvider/src/com/android/providers/contacts/enterprise/
DEnterprisePolicyGuard.java31 import com.android.providers.contacts.ContactsProvider2;
45 private static final boolean VERBOSE_LOGGING = ContactsProvider2.VERBOSE_LOGGING;
46 private static final String TAG = ContactsProvider2.TAG;
48 private static final ProfileAwareUriMatcher sUriMatcher = ContactsProvider2.sUriMatcher;
127 case ContactsProvider2.PROFILE_AS_VCARD: in isUriWhitelisted()
128 case ContactsProvider2.CONTACTS_AS_VCARD: in isUriWhitelisted()
129 case ContactsProvider2.CONTACTS_AS_MULTI_VCARD: in isUriWhitelisted()
155 case ContactsProvider2.PHONE_LOOKUP: in isDirectorySupported()
156 case ContactsProvider2.EMAILS_LOOKUP: in isDirectorySupported()
157 case ContactsProvider2.CONTACTS_FILTER: in isDirectorySupported()
[all …]
DEnterpriseContactsCursorWrapper.java36 import com.android.providers.contacts.ContactsProvider2;
46 private static final UriMatcher sUriMatcher = ContactsProvider2.sUriMatcher;
177 if (uriCode == ContactsProvider2.CONTACTS_ID_PHOTO) { in getCorpThumbnailUri()
202 if (uriCode == ContactsProvider2.CONTACTS_ID_PHOTO) { in getCorpDisplayPhotoUri()
205 } else if (uriCode == ContactsProvider2.CONTACTS_ID_DISPLAY_PHOTO in getCorpDisplayPhotoUri()
206 || uriCode == ContactsProvider2.DISPLAY_PHOTO_ID) { in getCorpDisplayPhotoUri()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCloneContactsProvider2Test.java145 private void assertContactsProviderEmpty(ContactsProvider2 contactsProvider2) { in assertContactsProviderEmpty()
162 ContactsProvider2 cloneContactsProvider = in testAreContactWritesEnabled()
163 (ContactsProvider2) mCloneContactsActor.provider; in testAreContactWritesEnabled()
167 ContactsProvider2 primaryContactsProvider = (ContactsProvider2) getProvider(); in testAreContactWritesEnabled()
404 final ContactsProvider2 primaryCP2 = (ContactsProvider2) getProvider(); in testQueryPrimaryProfileProvider_callingFromParentUser()
473 SparseArray<ContactsProvider2.LaunchableCloneAppsCacheEntry> launchableCloneAppsCache = in testIsAppAllowedToUseParentUsersContacts_AppInAllowlistCacheEmpty()
481 ContactsProvider2.LaunchableCloneAppsCacheEntry cacheEntry = in testIsAppAllowedToUseParentUsersContacts_AppInAllowlistCacheEmpty()
492 SparseArray<ContactsProvider2.LaunchableCloneAppsCacheEntry> launchableCloneAppsCache = in testIsAppAllowedToUseParentUsersContacts_AppNotInAllowlistCacheEmtpy()
498 ContactsProvider2.LaunchableCloneAppsCacheEntry cacheEntry = in testIsAppAllowedToUseParentUsersContacts_AppNotInAllowlistCacheEmtpy()
DContactsProvider2Test.java154 private ContactsProvider2 mContactsProvider2;
161 mContactsProvider2 = (ContactsProvider2) getProvider(); in setUp()
172 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in tearDown()
385 Uri localUri = ContactsProvider2.convertToLocalUri(enterpriseUri, Phone.CONTENT_URI); in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri()
402 Uri localUri = ContactsProvider2.convertToLocalUri(enterpriseUri, Phone.CONTENT_URI); in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri()
417 Uri localUri = ContactsProvider2.convertToLocalUri(enterpriseUri, Phone.CONTENT_URI); in testConvertEnterpriseUriWithoutDirectoryToLocalUri()
1443 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testDataInsertAndUpdateHashId()
1504 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testDataInsertAndUpdateHashId_Photo()
2215 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testPhoneLookupUseStrictPhoneNumberCompare()
2640 Cursor rewritten = ContactsProvider2.rewriteCorpDirectories(c); in testRewriteCorpDirectories()
[all …]
DSynchronousProfileProvider.java30 public SynchronousProfileProvider(ContactsProvider2 delegate) { in SynchronousProfileProvider()
DContactDirectoryManagerTest.java75 private ContactsProvider2 mProvider;
137 mProvider = (ContactsProvider2) getProvider(); in setUp()
513 ((ContactsProvider2)getProvider()).onAccountsUpdated(accounts); in testAccountRemoval()
527 ((ContactsProvider2)getProvider()).onAccountsUpdated(accounts); in testAccountRemoval()
DSynchronousContactsProvider2.java32 public class SynchronousContactsProvider2 extends ContactsProvider2 {
DBaseContactsProvider2Test.java584 SQLiteDatabase db = ((ContactsProvider2) getProvider()).getDatabaseHelper() in markInvisible()
592 SQLiteDatabase db = ((ContactsProvider2) getProvider()).getDatabaseHelper() in createAccount()
1055 SQLiteDatabase db = ((ContactsProvider2) getProvider()).getDatabaseHelper() in assertStoredValuesDb()
DCallLogProviderTest.java21 import static com.android.providers.contacts.ContactsProvider2.BACKGROUND_TASK_MIGRATE_PHONE_ACCOUN…
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLocaleChangeReceiver.java37 if (provider instanceof ContactsProvider2) { in onReceive()
38 ((ContactsProvider2)provider).onLocaleChanged(); in onReceive()
DProfileProvider.java45 private final ContactsProvider2 mDelegate;
47 public ProfileProvider(ContactsProvider2 delegate) { in ProfileProvider()
111 transaction.startTransactionForDb(db, ContactsProvider2.PROFILE_DB_TAG, this); in useProfileDbForTransaction()
DSearchIndexManager.java243 private final ContactsProvider2 mContactsProvider;
250 public SearchIndexManager(ContactsProvider2 contactsProvider) { in SearchIndexManager()
279 mContactsProvider.setProviderStatus(ContactsProvider2.STATUS_UPGRADING); in rebuildIndex()
286 mContactsProvider.setProviderStatus(ContactsProvider2.STATUS_NORMAL); in rebuildIndex()
DGlobalSearchSupport.java165 private final ContactsProvider2 mContactsProvider;
168 public GlobalSearchSupport(ContactsProvider2 contactsProvider) { in GlobalSearchSupport()
DContactsUpgradeReceiver.java93 ContactsProvider2.updateLocaleOffline(context, helper, profileHelper); in onReceive()
DContactsPackageMonitor.java130 final ContactsProvider2 provider = getProvider(mContext, ContactsContract.AUTHORITY); in onPackageChanged()
DContactDirectoryManager.java106 private final ContactsProvider2 mContactsProvider;
112 public ContactDirectoryManager(ContactsProvider2 contactsProvider) { in ContactDirectoryManager()
DDataRowHandlerForGroupMembership.java33 import com.android.providers.contacts.ContactsProvider2.GroupIdCacheEntry;
DLegacyApiSupport.java472 private final ContactsProvider2 mContactsProvider;
491 ContactsProvider2 contactsProvider, GlobalSearchSupport globalSearchSupport) { in LegacyApiSupport()
1823 String filter = ContactsProvider2.getQueryParameter(uri, "filter"); in query()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DProfileAggregator.java26 import com.android.providers.contacts.ContactsProvider2;
39 public ProfileAggregator(ContactsProvider2 contactsProvider, in ProfileAggregator()
DContactAggregator.java36 import com.android.providers.contacts.ContactsProvider2;
67 public ContactAggregator(ContactsProvider2 contactsProvider, in ContactAggregator()
DContactAggregator2.java43 import com.android.providers.contacts.ContactsProvider2;
79 public ContactAggregator2(ContactsProvider2 contactsProvider, in ContactAggregator2()
DAbstractContactAggregator.java34 import com.android.providers.contacts.ContactsProvider2;
144 protected final ContactsProvider2 mContactsProvider;
273 public AbstractContactAggregator(ContactsProvider2 contactsProvider, in AbstractContactAggregator()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DUserUtils.java18 import com.android.providers.contacts.ContactsProvider2;
30 public static final String TAG = ContactsProvider2.TAG;
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
DContactAggregatorTest.java43 import com.android.providers.contacts.ContactsProvider2;
82 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in setUp()
95 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in tearDown()
DContactAggregator2Test.java43 import com.android.providers.contacts.ContactsProvider2;
83 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in setUp()
95 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in tearDown()

12