Home
last modified time | relevance | path

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

12345678910>>...36

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLegacyApiSupport.java45 import android.provider.BaseColumns;
46 import android.provider.Contacts.ContactMethods;
47 import android.provider.Contacts.Extensions;
48 import android.provider.Contacts.People;
49 import android.provider.ContactsContract;
50 import android.provider.ContactsContract.CommonDataKinds.Email;
51 import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
52 import android.provider.ContactsContract.CommonDataKinds.Im;
53 import android.provider.ContactsContract.CommonDataKinds.Note;
54 import android.provider.ContactsContract.CommonDataKinds.Organization;
[all …]
DContactDirectoryManager.java39 import android.provider.ContactsContract;
40 import android.provider.ContactsContract.Directory;
201 static boolean isDirectoryProvider(ProviderInfo provider) { in isDirectoryProvider() argument
202 Bundle metaData = provider.metaData; in isDirectoryProvider()
224 for (ProviderInfo provider : providers) { in getDirectoryProviderPackages()
225 if (isDirectoryProvider(provider)) { in getDirectoryProviderPackages()
226 ret.add(provider.packageName); in getDirectoryProviderPackages()
369 for (ProviderInfo provider : providers) { in updateDirectoriesForPackage()
370 if (isDirectoryProvider(provider)) { in updateDirectoriesForPackage()
371 queryDirectoriesForAuthority(directories, provider); in updateDirectoriesForPackage()
[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()
/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/apps/Exchange/exchange2/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/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/Exchange/exchange2/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/Phone/src/com/android/phone/
DMobileNetworkSettings.java146 int settingsNetworkMode = android.provider.Settings.Secure.getInt(mPhone.getContext(). in onPreferenceTreeClick()
147 getContentResolver(), android.provider.Settings.Secure.PREFERRED_NETWORK_MODE, in onPreferenceTreeClick()
178 String tmpl = android.provider.Settings.Secure.getString(getContentResolver(), in onPreferenceTreeClick()
179 android.provider.Settings.Secure.SETUP_PREPAID_DATA_SERVICE_URL); in onPreferenceTreeClick()
231 int settingsNetworkMode = android.provider.Settings.Secure.getInt(mPhone.getContext(). in onCreate()
232 getContentResolver(),android.provider.Settings.Secure.PREFERRED_NETWORK_MODE, in onCreate()
250 int settingsNetworkMode = android.provider.Settings.Secure.getInt( in onCreate()
252 android.provider.Settings.Secure.PREFERRED_NETWORK_MODE, in onCreate()
266 android.provider.Settings.Secure.getString(getContentResolver(), in onCreate()
267 android.provider.Settings.Secure.SETUP_PREPAID_DATA_SERVICE_URL)); in onCreate()
[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/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/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/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/apps/Contacts/src/com/android/contacts/list/
DContactsIntentResolver.java28 import android.provider.Contacts.ContactMethods;
29 import android.provider.Contacts.People;
30 import android.provider.Contacts.Phones;
31 import android.provider.ContactsContract;
32 import android.provider.ContactsContract.CommonDataKinds.Email;
33 import android.provider.ContactsContract.CommonDataKinds.Phone;
34 import android.provider.ContactsContract.CommonDataKinds.StructuredPostal;
35 import android.provider.ContactsContract.Contacts;
36 import android.provider.ContactsContract.Intents;
37 import android.provider.ContactsContract.Intents.Insert;
[all …]
/packages/apps/Email/
Dproguard.flags3 -keep class com.android.emailcommon.provider.Account
6 …id actionEditIncomingSettings(android.app.Activity, int, com.android.emailcommon.provider.Account);
10 …id actionEditOutgoingSettings(android.app.Activity, int, com.android.emailcommon.provider.Account);
14 public *** newInstance(com.android.emailcommon.provider.Account, android.content.Context);
18 public *** newInstance(com.android.emailcommon.provider.Account, android.content.Context);
58 …*** buildBodyText(android.content.Context, com.android.emailcommon.provider.EmailContent$Message, …
86 -keepclasseswithmembers class com.android.email.provider.EmailProvider {
90 -keepclasseswithmembers class com.android.emailcommon.provider.EmailContent$Attachment {
179 -keepclasseswithmembers class com.android.email.provider.ContentCache$CounterMap {
184 -keepclasseswithmembers class com.android.emailcommon.provider.Account {
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DExternalAccountTypeTest.java22 import android.provider.ContactsContract.CommonDataKinds.Email;
23 import android.provider.ContactsContract.CommonDataKinds.Event;
24 import android.provider.ContactsContract.CommonDataKinds.Im;
25 import android.provider.ContactsContract.CommonDataKinds.Note;
26 import android.provider.ContactsContract.CommonDataKinds.Organization;
27 import android.provider.ContactsContract.CommonDataKinds.Photo;
28 import android.provider.ContactsContract.CommonDataKinds.Relation;
29 import android.provider.ContactsContract.CommonDataKinds.SipAddress;
30 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
31 import android.provider.ContactsContract.CommonDataKinds.StructuredPostal;
[all …]
/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/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 …]
/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/Calendar/src/com/android/calendar/
DGoogleCalendarUriIntentFilter.java20 import static android.provider.CalendarContract.Attendees.ATTENDEE_STATUS;
21 import static android.provider.CalendarContract.Attendees.ATTENDEE_STATUS_ACCEPTED;
22 import static android.provider.CalendarContract.Attendees.ATTENDEE_STATUS_DECLINED;
23 import static android.provider.CalendarContract.Attendees.ATTENDEE_STATUS_NONE;
24 import static android.provider.CalendarContract.Attendees.ATTENDEE_STATUS_TENTATIVE;
25 import static android.provider.CalendarContract.EXTRA_EVENT_BEGIN_TIME;
26 import static android.provider.CalendarContract.EXTRA_EVENT_END_TIME;
35 import android.provider.CalendarContract.Calendars;
36 import android.provider.CalendarContract.Events;
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java47 import android.provider.BaseColumns;
48 import android.provider.ContactsContract;
49 import android.provider.ContactsContract.AggregationExceptions;
50 import android.provider.ContactsContract.CommonDataKinds;
51 import android.provider.ContactsContract.CommonDataKinds.Email;
52 import android.provider.ContactsContract.CommonDataKinds.Phone;
53 import android.provider.ContactsContract.Contacts;
54 import android.provider.ContactsContract.Data;
55 import android.provider.ContactsContract.RawContacts;
56 import android.provider.ContactsContract.StatusUpdates;
[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/Email/tests/src/com/android/email/mail/
DStoreTests.java23 import com.android.email.provider.EmailProvider;
24 import com.android.email.provider.ProviderTestUtils;
26 import com.android.emailcommon.provider.Account;
27 import com.android.emailcommon.provider.EmailContent;
28 import com.android.emailcommon.provider.HostAuth;
29 import com.android.emailcommon.provider.Mailbox;

12345678910>>...36