/packages/providers/ContactsProvider/src/com/android/providers/contacts/enterprise/ |
D | EnterprisePolicyGuard.java | 31 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 …]
|
D | EnterpriseContactsCursorWrapper.java | 36 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/ |
D | CloneContactsProvider2Test.java | 145 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()
|
D | ContactsProvider2Test.java | 154 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 …]
|
D | SynchronousProfileProvider.java | 30 public SynchronousProfileProvider(ContactsProvider2 delegate) { in SynchronousProfileProvider()
|
D | ContactDirectoryManagerTest.java | 75 private ContactsProvider2 mProvider; 137 mProvider = (ContactsProvider2) getProvider(); in setUp() 513 ((ContactsProvider2)getProvider()).onAccountsUpdated(accounts); in testAccountRemoval() 527 ((ContactsProvider2)getProvider()).onAccountsUpdated(accounts); in testAccountRemoval()
|
D | SynchronousContactsProvider2.java | 32 public class SynchronousContactsProvider2 extends ContactsProvider2 {
|
D | BaseContactsProvider2Test.java | 584 SQLiteDatabase db = ((ContactsProvider2) getProvider()).getDatabaseHelper() in markInvisible() 592 SQLiteDatabase db = ((ContactsProvider2) getProvider()).getDatabaseHelper() in createAccount() 1055 SQLiteDatabase db = ((ContactsProvider2) getProvider()).getDatabaseHelper() in assertStoredValuesDb()
|
D | CallLogProviderTest.java | 21 import static com.android.providers.contacts.ContactsProvider2.BACKGROUND_TASK_MIGRATE_PHONE_ACCOUN…
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | LocaleChangeReceiver.java | 37 if (provider instanceof ContactsProvider2) { in onReceive() 38 ((ContactsProvider2)provider).onLocaleChanged(); in onReceive()
|
D | ProfileProvider.java | 45 private final ContactsProvider2 mDelegate; 47 public ProfileProvider(ContactsProvider2 delegate) { in ProfileProvider() 111 transaction.startTransactionForDb(db, ContactsProvider2.PROFILE_DB_TAG, this); in useProfileDbForTransaction()
|
D | SearchIndexManager.java | 243 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()
|
D | GlobalSearchSupport.java | 165 private final ContactsProvider2 mContactsProvider; 168 public GlobalSearchSupport(ContactsProvider2 contactsProvider) { in GlobalSearchSupport()
|
D | ContactsUpgradeReceiver.java | 93 ContactsProvider2.updateLocaleOffline(context, helper, profileHelper); in onReceive()
|
D | ContactsPackageMonitor.java | 130 final ContactsProvider2 provider = getProvider(mContext, ContactsContract.AUTHORITY); in onPackageChanged()
|
D | ContactDirectoryManager.java | 106 private final ContactsProvider2 mContactsProvider; 112 public ContactDirectoryManager(ContactsProvider2 contactsProvider) { in ContactDirectoryManager()
|
D | DataRowHandlerForGroupMembership.java | 33 import com.android.providers.contacts.ContactsProvider2.GroupIdCacheEntry;
|
D | LegacyApiSupport.java | 472 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/ |
D | ProfileAggregator.java | 26 import com.android.providers.contacts.ContactsProvider2; 39 public ProfileAggregator(ContactsProvider2 contactsProvider, in ProfileAggregator()
|
D | ContactAggregator.java | 36 import com.android.providers.contacts.ContactsProvider2; 67 public ContactAggregator(ContactsProvider2 contactsProvider, in ContactAggregator()
|
D | ContactAggregator2.java | 43 import com.android.providers.contacts.ContactsProvider2; 79 public ContactAggregator2(ContactsProvider2 contactsProvider, in ContactAggregator2()
|
D | AbstractContactAggregator.java | 34 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/ |
D | UserUtils.java | 18 import com.android.providers.contacts.ContactsProvider2; 30 public static final String TAG = ContactsProvider2.TAG;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregatorTest.java | 43 import com.android.providers.contacts.ContactsProvider2; 82 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in setUp() 95 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in tearDown()
|
D | ContactAggregator2Test.java | 43 import com.android.providers.contacts.ContactsProvider2; 83 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in setUp() 95 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in tearDown()
|