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.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/src/com/android/providers/contacts/
DProfileProvider.java44 private final ContactsProvider2 mDelegate;
46 public ProfileProvider(ContactsProvider2 delegate) { in ProfileProvider()
101 transaction.startTransactionForDb(db, ContactsProvider2.PROFILE_DB_TAG, this); in useProfileDbForTransaction()
DLocaleChangeReceiver.java37 if (provider instanceof ContactsProvider2) { in onReceive()
38 ((ContactsProvider2)provider).onLocaleChanged(); in onReceive()
DPackageIntentReceiver.java40 if (provider instanceof ContactsProvider2) { in onReceive()
41 ((ContactsProvider2)provider).onPackageChanged(packageName); in onReceive()
DSearchIndexManager.java238 private final ContactsProvider2 mContactsProvider;
245 public SearchIndexManager(ContactsProvider2 contactsProvider) { in SearchIndexManager()
274 mContactsProvider.setProviderStatus(ContactsProvider2.STATUS_UPGRADING); in rebuildIndex()
281 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.java95 ContactsProvider2.updateLocaleOffline(context, helper, profileHelper); in onReceive()
DContactDirectoryManager.java100 private final ContactsProvider2 mContactsProvider;
104 public ContactDirectoryManager(ContactsProvider2 contactsProvider) { in ContactDirectoryManager()
DDataRowHandlerForGroupMembership.java32 import com.android.providers.contacts.ContactsProvider2.GroupIdCacheEntry;
DLegacyApiSupport.java501 private final ContactsProvider2 mContactsProvider;
520 ContactsProvider2 contactsProvider, GlobalSearchSupport globalSearchSupport) { in LegacyApiSupport()
1166 mDb.execSQL(ContactsProvider2.UPDATE_TIMES_CONTACTED_CONTACTS_TABLE, mSelectionArgs1); in updateContactTime()
1172 mDb.execSQL(ContactsProvider2.UPDATE_TIMES_CONTACTED_RAWCONTACTS_TABLE, mSelectionArgs1); in updateContactTime()
1882 String filter = ContactsProvider2.getQueryParameter(uri, "filter"); in query()
DContactsDatabaseHelper.java1275 ContactsProvider2.PHONEBOOK_COLLATOR_NAME + "," + in onCreate()
1279 ContactsProvider2.PHONEBOOK_COLLATOR_NAME + "," + in onCreate()
3171 + " TEXT COLLATE " + ContactsProvider2.PHONEBOOK_COLLATOR_NAME + ";"); in upgradeToVersion205()
3174 + " TEXT COLLATE " + ContactsProvider2.PHONEBOOK_COLLATOR_NAME + ";"); in upgradeToVersion205()
/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.java35 import com.android.providers.contacts.ContactsProvider2;
67 public ContactAggregator(ContactsProvider2 contactsProvider, in ContactAggregator()
DContactAggregator2.java42 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/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java139 Uri localUri = ContactsProvider2.convertToLocalUri(enterpriseUri, Phone.CONTENT_URI); in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri()
156 Uri localUri = ContactsProvider2.convertToLocalUri(enterpriseUri, Phone.CONTENT_URI); in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri()
171 Uri localUri = ContactsProvider2.convertToLocalUri(enterpriseUri, Phone.CONTENT_URI); in testConvertEnterpriseUriWithoutDirectoryToLocalUri()
1163 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testDataInsertAndUpdateHashId()
1224 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testDataInsertAndUpdateHashId_Photo()
1936 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testPhoneLookupUseStrictPhoneNumberCompare()
2360 Cursor rewritten = ContactsProvider2.rewriteCorpDirectories(c); in testRewriteCorpDirectories()
2374 rewritten = ContactsProvider2.rewriteCorpDirectories(c); in testRewriteCorpDirectories()
2768 final ContactsProvider2 provider = (ContactsProvider2) getProvider(); in testAddQueryParametersFromUri()
2790 final ContactsProvider2 provider = (ContactsProvider2) getProvider(); in testTestInvalidDirectory()
[all …]
DContactDirectoryManagerTest.java56 private ContactsProvider2 mProvider;
116 mProvider = (ContactsProvider2) getProvider(); in setUp()
444 ((ContactsProvider2)getProvider()).onAccountsUpdated(accounts); in testAccountRemoval()
458 ((ContactsProvider2)getProvider()).onAccountsUpdated(accounts); in testAccountRemoval()
DSynchronousProfileProvider.java30 public SynchronousProfileProvider(ContactsProvider2 delegate) { in SynchronousProfileProvider()
DSynchronousContactsProvider2.java32 public class SynchronousContactsProvider2 extends ContactsProvider2 {
DBaseContactsProvider2Test.java558 SQLiteDatabase db = ((ContactsProvider2) getProvider()).getDatabaseHelper() in markInvisible()
566 SQLiteDatabase db = ((ContactsProvider2) getProvider()).getDatabaseHelper() in createAccount()
1029 SQLiteDatabase db = ((ContactsProvider2) getProvider()).getDatabaseHelper() in assertStoredValuesDb()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
DContactAggregatorTest.java40 import com.android.providers.contacts.ContactsProvider2;
73 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in setUp()
DContactAggregator2Test.java40 import com.android.providers.contacts.ContactsProvider2;
74 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in setUp()

12