Home
last modified time | relevance | path

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

12

/packages/providers/ContactsProvider/src/com/android/providers/contacts/enterprise/
DEnterprisePolicyGuard.java29 import com.android.providers.contacts.ContactsProvider2;
40 private static final boolean VERBOSE_LOGGING = ContactsProvider2.VERBOSE_LOGGING;
41 private static final String TAG = ContactsProvider2.TAG;
43 private static final ProfileAwareUriMatcher sUriMatcher = ContactsProvider2.sUriMatcher;
106 case ContactsProvider2.PROFILE_AS_VCARD: in isUriWhitelisted()
107 case ContactsProvider2.CONTACTS_AS_VCARD: in isUriWhitelisted()
108 case ContactsProvider2.CONTACTS_AS_MULTI_VCARD: in isUriWhitelisted()
134 case ContactsProvider2.PHONE_LOOKUP: in isDirectorySupported()
135 case ContactsProvider2.EMAILS_LOOKUP: in isDirectorySupported()
136 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/
DContactsProvider2Test.java141 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in setUp()
151 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in tearDown()
166 Uri localUri = ContactsProvider2.convertToLocalUri(enterpriseUri, Phone.CONTENT_URI); in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri()
183 Uri localUri = ContactsProvider2.convertToLocalUri(enterpriseUri, Phone.CONTENT_URI); in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri()
198 Uri localUri = ContactsProvider2.convertToLocalUri(enterpriseUri, Phone.CONTENT_URI); in testConvertEnterpriseUriWithoutDirectoryToLocalUri()
1224 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testDataInsertAndUpdateHashId()
1285 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testDataInsertAndUpdateHashId_Photo()
1996 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testPhoneLookupUseStrictPhoneNumberCompare()
2421 Cursor rewritten = ContactsProvider2.rewriteCorpDirectories(c); in testRewriteCorpDirectories()
2435 rewritten = ContactsProvider2.rewriteCorpDirectories(c); in testRewriteCorpDirectories()
[all …]
DContactDirectoryManagerTest.java58 private ContactsProvider2 mProvider;
118 mProvider = (ContactsProvider2) getProvider(); in setUp()
486 ((ContactsProvider2)getProvider()).onAccountsUpdated(accounts); in testAccountRemoval()
500 ((ContactsProvider2)getProvider()).onAccountsUpdated(accounts); in testAccountRemoval()
DSynchronousProfileProvider.java30 public SynchronousProfileProvider(ContactsProvider2 delegate) { in SynchronousProfileProvider()
DSynchronousContactsProvider2.java32 public class SynchronousContactsProvider2 extends ContactsProvider2 {
DBaseContactsProvider2Test.java566 SQLiteDatabase db = ((ContactsProvider2) getProvider()).getDatabaseHelper() in markInvisible()
574 SQLiteDatabase db = ((ContactsProvider2) getProvider()).getDatabaseHelper() in createAccount()
1037 SQLiteDatabase db = ((ContactsProvider2) getProvider()).getDatabaseHelper() in assertStoredValuesDb()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DProfileProvider.java45 private final ContactsProvider2 mDelegate;
47 public ProfileProvider(ContactsProvider2 delegate) { in ProfileProvider()
111 transaction.startTransactionForDb(db, ContactsProvider2.PROFILE_DB_TAG, this); in useProfileDbForTransaction()
DLocaleChangeReceiver.java37 if (provider instanceof ContactsProvider2) { in onReceive()
38 ((ContactsProvider2)provider).onLocaleChanged(); in onReceive()
DSearchIndexManager.java242 private final ContactsProvider2 mContactsProvider;
249 public SearchIndexManager(ContactsProvider2 contactsProvider) { in SearchIndexManager()
278 mContactsProvider.setProviderStatus(ContactsProvider2.STATUS_UPGRADING); in rebuildIndex()
285 mContactsProvider.setProviderStatus(ContactsProvider2.STATUS_NORMAL); in rebuildIndex()
DContactMetadataProvider.java51 import static com.android.providers.contacts.ContactsProvider2.getLimit;
91 private ContactsProvider2 mContactsProvider;
103 mContactsProvider = (ContactsProvider2) provider; in onCreate()
DGlobalSearchSupport.java165 private final ContactsProvider2 mContactsProvider;
168 public GlobalSearchSupport(ContactsProvider2 contactsProvider) { in GlobalSearchSupport()
DContactsUpgradeReceiver.java93 ContactsProvider2.updateLocaleOffline(context, helper, profileHelper); in onReceive()
DContactDirectoryManager.java103 private final ContactsProvider2 mContactsProvider;
109 public ContactDirectoryManager(ContactsProvider2 contactsProvider) { in ContactDirectoryManager()
DContactsPackageMonitor.java129 final ContactsProvider2 provider = getProvider(mContext, ContactsContract.AUTHORITY); in onPackageChanged()
DDataRowHandlerForGroupMembership.java33 import com.android.providers.contacts.ContactsProvider2.GroupIdCacheEntry;
DLegacyApiSupport.java470 private final ContactsProvider2 mContactsProvider;
489 ContactsProvider2 contactsProvider, GlobalSearchSupport globalSearchSupport) { in LegacyApiSupport()
1821 String filter = ContactsProvider2.getQueryParameter(uri, "filter"); in query()
DContactsDatabaseHelper.java1332 ContactsProvider2.PHONEBOOK_COLLATOR_NAME + "," + in onCreate()
1336 ContactsProvider2.PHONEBOOK_COLLATOR_NAME + "," + in onCreate()
2653 ContactsProvider2.deleteDataUsage(db); in onUpgrade()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DUserUtils.java18 import com.android.providers.contacts.ContactsProvider2;
28 public static final String TAG = ContactsProvider2.TAG;
/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;
145 protected final ContactsProvider2 mContactsProvider;
275 public AbstractContactAggregator(ContactsProvider2 contactsProvider, in AbstractContactAggregator()
/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