Home
last modified time | relevance | path

Searched refs:provider (Results 1 – 25 of 825) sorted by relevance

12345678910>>...33

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLegacyApiSupport.java44 import android.provider.BaseColumns;
45 import android.provider.Contacts.ContactMethods;
46 import android.provider.Contacts.Extensions;
47 import android.provider.Contacts.People;
48 import android.provider.ContactsContract;
49 import android.provider.ContactsContract.CommonDataKinds.Email;
50 import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
51 import android.provider.ContactsContract.CommonDataKinds.Im;
52 import android.provider.ContactsContract.CommonDataKinds.Note;
53 import android.provider.ContactsContract.CommonDataKinds.Organization;
[all …]
DLocaleChangeReceiver.java24 import android.provider.ContactsContract;
36 ContentProvider provider = ContentProvider.coerceToLocalContentProvider(iprovider); in onReceive() local
37 if (provider instanceof ContactsProvider2) { in onReceive()
38 ((ContactsProvider2)provider).onLocaleChanged(); in onReceive()
DPackageIntentReceiver.java25 import android.provider.ContactsContract;
39 ContentProvider provider = ContentProvider.coerceToLocalContentProvider(iprovider); in onReceive() local
40 if (provider instanceof ContactsProvider2) { in onReceive()
41 ((ContactsProvider2)provider).onPackageChanged(packageName); in onReceive()
DContactDirectoryManager.java36 import android.provider.ContactsContract;
37 import android.provider.ContactsContract.Directory;
300 for (ProviderInfo provider : providers) { in updateDirectoriesForPackage()
301 Bundle metaData = provider.metaData; in updateDirectoriesForPackage()
305 queryDirectoriesForAuthority(directories, provider); in updateDirectoriesForPackage()
344 ArrayList<DirectoryInfo> directoryInfo, ProviderInfo provider) { in queryDirectoriesForAuthority() argument
346 .authority(provider.authority).appendPath("directories").build(); in queryDirectoriesForAuthority()
352 Log.i(TAG, providerDescription(provider) + " returned a NULL cursor."); in queryDirectoriesForAuthority()
356 info.packageName = provider.packageName; in queryDirectoriesForAuthority()
357 info.authority = provider.authority; in queryDirectoriesForAuthority()
[all …]
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
DExchangeDirectoryProviderTests.java17 package com.android.exchange.provider;
20 import com.android.emailcommon.provider.Account;
21 import com.android.exchange.provider.GalResult.GalData;
28 import android.provider.ContactsContract.CommonDataKinds;
29 import android.provider.ContactsContract.Contacts;
58 ExchangeDirectoryProvider provider = new ExchangeDirectoryProvider(); in testBuildSimpleGalResultCursor() local
59 Cursor c = provider.buildGalResultCursor(GAL_RESULT_PROJECTION, result); in testBuildSimpleGalResultCursor()
101 ExchangeDirectoryProvider provider = new ExchangeDirectoryProvider(); in testDisplayNameLogic() local
102 Cursor c = provider.buildGalResultCursor(GAL_RESULT_PROJECTION, result); in testDisplayNameLogic()
115 ExchangeDirectoryProvider provider = new ExchangeDirectoryProvider(); in testLookupKeyLogic() local
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactAggregatorPerformanceTest.java23 import android.provider.ContactsContract;
87 SynchronousContactsProvider2 provider = new SynchronousContactsProvider2(); in testPerformance() local
88 provider.setDataWipeEnabled(false); in testPerformance()
89 provider.attachInfo(providerContext, null); in testPerformance()
90 resolver.addProvider(ContactsContract.AUTHORITY, provider); in testPerformance()
92 long rawContactCount = provider.getRawContactCount(); in testPerformance()
100 provider.prepareForFullAggregation(500); in testPerformance()
101 rawContactCount = provider.getRawContactCount(); in testPerformance()
114 long contactCount = provider.getContactCount(); in testPerformance()
125 provider.getDatabaseHelper().close(); in testPerformance()
DLegacyContactImporterPerformanceTest.java25 import android.provider.CallLog;
26 import android.provider.ContactsContract;
106 SynchronousContactsProvider2 provider = new SynchronousContactsProvider2(); in testPerformance() local
107 provider.setDataWipeEnabled(false); in testPerformance()
108 provider.attachInfo(providerContext, null); in testPerformance()
109 resolver.addProvider(ContactsContract.AUTHORITY, provider); in testPerformance()
115 LegacyContactImporter importer = new LegacyContactImporter(providerContext, provider); in testPerformance()
117 provider.wipeData(); in testPerformance()
123 provider.importLegacyContacts(importer); in testPerformance()
128 long contactCount = provider.getRawContactCount(); in testPerformance()
DLegacyContactImporterTest.java24 import android.provider.BaseColumns;
25 import android.provider.CallLog;
26 import android.provider.CallLog.Calls;
27 import android.provider.ContactsContract.Contacts;
28 import android.provider.ContactsContract.Data;
29 import android.provider.ContactsContract.Groups;
30 import android.provider.ContactsContract.RawContacts;
143 ContactsProvider2 provider = (ContactsProvider2)getProvider(); in testAssetSet() local
145 new LegacyContactImporter(createLegacyMockContext(folder), provider); in testAssetSet()
146 provider.importLegacyContacts(importer); in testAssetSet()
[all …]
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSettingsUtils.java28 import com.android.email.provider.AccountBackupRestore;
30 import com.android.emailcommon.provider.Account;
31 import com.android.emailcommon.provider.EmailContent.AccountColumns;
114 Provider provider = null; in findProviderForDomain() local
121 provider = new Provider(); in findProviderForDomain()
122 provider.id = getXmlAttribute(context, xml, "id"); in findProviderForDomain()
123 provider.label = getXmlAttribute(context, xml, "label"); in findProviderForDomain()
124 provider.domain = domain.toLowerCase(); in findProviderForDomain()
125 provider.note = getXmlAttribute(context, xml, "note"); in findProviderForDomain()
134 && provider != null) { in findProviderForDomain()
[all …]
/packages/apps/Browser/tests/src/com/android/browser/tests/utils/
DMockContentResolver2.java51 public void addProvider(String name, ContentProvider provider) { in addProvider() argument
56 mProviders.put(name, provider); in addProvider()
72 final ContentProvider provider = mProviders.get(name); in acquireExistingProvider() local
74 if (provider != null) { in acquireExistingProvider()
75 return provider.getIContentProvider(); in acquireExistingProvider()
83 public boolean releaseProvider(IContentProvider provider) { in releaseProvider() argument
/packages/apps/Exchange/src/com/android/exchange/
DEmailSyncAdapterService.java19 import com.android.emailcommon.provider.EmailContent;
20 import com.android.emailcommon.provider.EmailContent.AccountColumns;
21 import com.android.emailcommon.provider.EmailContent.MailboxColumns;
22 import com.android.emailcommon.provider.Mailbox;
61 String authority, ContentProviderClient provider, SyncResult syncResult) { in onPerformSync() argument
64 authority, provider, syncResult); in onPerformSync()
90 String authority, ContentProviderClient provider, SyncResult syncResult) in performSync() argument
97 cr.query(com.android.emailcommon.provider.Account.CONTENT_URI, in performSync()
DCalendarSyncAdapterService.java31 import android.provider.CalendarContract.Events;
34 import com.android.emailcommon.provider.EmailContent;
35 import com.android.emailcommon.provider.EmailContent.AccountColumns;
36 import com.android.emailcommon.provider.EmailContent.MailboxColumns;
37 import com.android.emailcommon.provider.Mailbox;
67 String authority, ContentProviderClient provider, SyncResult syncResult) { in onPerformSync() argument
70 authority, provider, syncResult); in onPerformSync()
98 String authority, ContentProviderClient provider, SyncResult syncResult) in performSync() argument
119 cr.query(com.android.emailcommon.provider.Account.CONTENT_URI, in performSync()
DContactsSyncAdapterService.java19 import com.android.emailcommon.provider.EmailContent.AccountColumns;
20 import com.android.emailcommon.provider.EmailContent.MailboxColumns;
21 import com.android.emailcommon.provider.Mailbox;
36 import android.provider.ContactsContract.Groups;
37 import android.provider.ContactsContract.RawContacts;
63 String authority, ContentProviderClient provider, SyncResult syncResult) { in onPerformSync() argument
66 authority, provider, syncResult); in onPerformSync()
103 String authority, ContentProviderClient provider, SyncResult syncResult) in performSync() argument
131 cr.query(com.android.emailcommon.provider.Account.CONTENT_URI, ID_PROJECTION, in performSync()
/packages/apps/Email/src/com/android/email/service/
DPopImapSyncAdapterService.java34 import com.android.emailcommon.provider.EmailContent;
35 import com.android.emailcommon.provider.EmailContent.AccountColumns;
36 import com.android.emailcommon.provider.Mailbox;
57 String authority, ContentProviderClient provider, SyncResult syncResult) { in onPerformSync() argument
60 authority, provider, syncResult); in onPerformSync()
85 String authority, ContentProviderClient provider, SyncResult syncResult) in performSync() argument
91 com.android.emailcommon.provider.Account.CONTENT_URI, in performSync()
/packages/apps/Mms/src/com/android/mms/
DTempFileProvider.java17 import android.provider.BaseColumns;
18 import android.provider.Telephony;
19 import android.provider.Telephony.CanonicalAddressesColumns;
20 import android.provider.Telephony.Mms;
21 import android.provider.Telephony.MmsSms;
22 import android.provider.Telephony.Mms.Addr;
23 import android.provider.Telephony.Mms.Part;
24 import android.provider.Telephony.Mms.Rate;
34 import android.provider.Telephony.Threads;
/packages/apps/Phone/src/com/android/phone/
DSettings.java149 int settingsNetworkMode = android.provider.Settings.Secure.getInt(mPhone.getContext(). in onPreferenceTreeClick()
150 getContentResolver(), android.provider.Settings.Secure.PREFERRED_NETWORK_MODE, in onPreferenceTreeClick()
181 String tmpl = android.provider.Settings.Secure.getString(getContentResolver(), in onPreferenceTreeClick()
182 android.provider.Settings.Secure.SETUP_PREPAID_DATA_SERVICE_URL); in onPreferenceTreeClick()
234 int settingsNetworkMode = android.provider.Settings.Secure.getInt(mPhone.getContext(). in onCreate()
235 getContentResolver(),android.provider.Settings.Secure.PREFERRED_NETWORK_MODE, in onCreate()
253 int settingsNetworkMode = android.provider.Settings.Secure.getInt( in onCreate()
255 android.provider.Settings.Secure.PREFERRED_NETWORK_MODE, in onCreate()
269 android.provider.Settings.Secure.getString(getContentResolver(), in onCreate()
270 android.provider.Settings.Secure.SETUP_PREPAID_DATA_SERVICE_URL)); in onCreate()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DQueryTask.java52 public QueryTask(String query, int queryLimit, SuggestionCursorProvider<C> provider, in QueryTask() argument
56 mProvider = provider; in QueryTask()
83 for (SuggestionCursorProvider<C> provider : providers) { in startQueries()
84 QueryTask.startQuery(query, maxResultsPerProvider, provider, in startQueries()
91 SuggestionCursorProvider<C> provider, in startQuery() argument
95 QueryTask<C> task = new QueryTask<C>(query, maxResultsPerProvider, provider, handler, in startQuery()
/packages/apps/Calendar/src/com/android/calendar/
DGoogleCalendarUriIntentFilter.java20 import static android.provider.CalendarContract.EXTRA_EVENT_BEGIN_TIME;
21 import static android.provider.CalendarContract.EXTRA_EVENT_END_TIME;
22 import static android.provider.CalendarContract.Attendees.ATTENDEE_STATUS;
23 import static android.provider.CalendarContract.Attendees.ATTENDEE_STATUS_ACCEPTED;
24 import static android.provider.CalendarContract.Attendees.ATTENDEE_STATUS_DECLINED;
25 import static android.provider.CalendarContract.Attendees.ATTENDEE_STATUS_NONE;
26 import static android.provider.CalendarContract.Attendees.ATTENDEE_STATUS_TENTATIVE;
35 import android.provider.CalendarContract.Events;
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProviderIntentService.java43 final CalendarProvider2 provider = CalendarProvider2.getInstance(); in onHandleIntent() local
46 provider.getOrCreateCalendarAlarmManager().runScheduleNextAlarm(removeAlarms, provider); in onHandleIntent()
48 provider.getOrCreateCalendarAlarmManager().releaseScheduleNextAlarmWakeLock(); in onHandleIntent()
/packages/providers/CalendarProvider/tests/
DEMMA_README2 # the Calendar provider with EMMA coverage, executes the Calendar CTS
18 # This also defines a no_emma_calp() function that rebuilds the provider
25 # rebuild provider with emma coverage
34 -e class android.provider.cts.CalendarTest \
35 -w 'com.android.cts.provider/android.provider.cts.CalendarTest\$CalendarEmmaTestRunner'
38 output=/sdcard/calendar-provider.ec
59 # rebuild provider without emma coverage
77 && EMMA_INSTRUMENT=$emma mmm -j4 cts/tests/tests/provider
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DTypePrecedence.java21 import android.provider.ContactsContract.CommonDataKinds.Email;
22 import android.provider.ContactsContract.CommonDataKinds.Im;
23 import android.provider.ContactsContract.CommonDataKinds.Organization;
24 import android.provider.ContactsContract.CommonDataKinds.Phone;
25 import android.provider.ContactsContract.CommonDataKinds.StructuredPostal;
/packages/apps/Email/
Dproguard.flags2 -keep class com.android.emailcommon.provider.Account
5 …id actionEditIncomingSettings(android.app.Activity, int, com.android.emailcommon.provider.Account);
9 …id actionEditOutgoingSettings(android.app.Activity, int, com.android.emailcommon.provider.Account);
13 public *** newInstance(com.android.emailcommon.provider.Account, android.content.Context);
17 public *** newInstance(com.android.emailcommon.provider.Account, android.content.Context);
57 …*** buildBodyText(android.content.Context, com.android.emailcommon.provider.EmailContent$Message, …
85 -keepclasseswithmembers class com.android.email.provider.EmailProvider {
89 -keepclasseswithmembers class com.android.emailcommon.provider.EmailContent$Attachment {
178 -keepclasseswithmembers class com.android.email.provider.ContentCache$CounterMap {
183 -keepclasseswithmembers class com.android.emailcommon.provider.Account {
[all …]
/packages/apps/Contacts/src/com/android/contacts/
DTypePrecedence.java23 import android.provider.ContactsContract.CommonDataKinds.Email;
24 import android.provider.ContactsContract.CommonDataKinds.Im;
25 import android.provider.ContactsContract.CommonDataKinds.Organization;
26 import android.provider.ContactsContract.CommonDataKinds.Phone;
27 import android.provider.ContactsContract.CommonDataKinds.StructuredPostal;
/packages/apps/Contacts/src/com/android/contacts/list/
DContactsIntentResolver.java27 import android.provider.Contacts.ContactMethods;
28 import android.provider.Contacts.People;
29 import android.provider.Contacts.Phones;
30 import android.provider.ContactsContract;
31 import android.provider.ContactsContract.CommonDataKinds.Email;
32 import android.provider.ContactsContract.CommonDataKinds.Phone;
33 import android.provider.ContactsContract.CommonDataKinds.StructuredPostal;
34 import android.provider.ContactsContract.Contacts;
35 import android.provider.ContactsContract.Intents;
36 import android.provider.ContactsContract.Intents.UI;
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/voicemail/
DVoicemailStatusHelperImplTest.java19 import static android.provider.VoicemailContract.Status.CONFIGURATION_STATE;
20 import static android.provider.VoicemailContract.Status.CONFIGURATION_STATE_CAN_BE_CONFIGURED;
21 import static android.provider.VoicemailContract.Status.CONFIGURATION_STATE_NOT_CONFIGURED;
22 import static android.provider.VoicemailContract.Status.DATA_CHANNEL_STATE;
23 import static android.provider.VoicemailContract.Status.DATA_CHANNEL_STATE_NO_CONNECTION;
24 import static android.provider.VoicemailContract.Status.DATA_CHANNEL_STATE_OK;
25 import static android.provider.VoicemailContract.Status.NOTIFICATION_CHANNEL_STATE;
26 import static android.provider.VoicemailContract.Status.NOTIFICATION_CHANNEL_STATE_MESSAGE_WAITING;
27 import static android.provider.VoicemailContract.Status.NOTIFICATION_CHANNEL_STATE_NO_CONNECTION;
28 import static android.provider.VoicemailContract.Status.NOTIFICATION_CHANNEL_STATE_OK;
[all …]

12345678910>>...33