Home
last modified time | relevance | path

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

12345678910>>...50

/packages/apps/Email/provider_src/com/android/email/activity/setup/
DAccountSettingsUtils.java27 import com.android.email.provider.AccountBackupRestore;
32 import com.android.emailcommon.provider.Account;
33 import com.android.emailcommon.provider.EmailContent.AccountColumns;
34 import com.android.emailcommon.provider.QuickResponse;
126 final OAuthProvider provider, final String emailAddress) { in createOAuthRegistrationRequest() argument
127 final Uri.Builder b = Uri.parse(provider.authEndpoint).buildUpon(); in createOAuthRegistrationRequest()
128 b.appendQueryParameter("response_type", provider.responseType); in createOAuthRegistrationRequest()
129 b.appendQueryParameter("client_id", provider.clientId); in createOAuthRegistrationRequest()
130 b.appendQueryParameter("redirect_uri", provider.redirectUri); in createOAuthRegistrationRequest()
131 b.appendQueryParameter("scope", provider.scope); in createOAuthRegistrationRequest()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLegacyApiSupport.java32 import android.provider.BaseColumns;
33 import android.provider.Contacts.ContactMethods;
34 import android.provider.Contacts.Extensions;
35 import android.provider.Contacts.People;
36 import android.provider.ContactsContract;
37 import android.provider.ContactsContract.CommonDataKinds.Email;
38 import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
39 import android.provider.ContactsContract.CommonDataKinds.Im;
40 import android.provider.ContactsContract.CommonDataKinds.Note;
41 import android.provider.ContactsContract.CommonDataKinds.Organization;
[all …]
DContactDirectoryManager.java32 import android.provider.ContactsContract;
33 import android.provider.ContactsContract.Directory;
189 static boolean isDirectoryProvider(ProviderInfo provider) { in isDirectoryProvider() argument
190 if (provider == null) return false; in isDirectoryProvider()
191 Bundle metaData = provider.metaData; in isDirectoryProvider()
217 for (ProviderInfo provider : packageInfo.providers) { in getDirectoryProviderPackages()
219 Log.d(TAG, "provider=" + provider.authority); in getDirectoryProviderPackages()
221 if (isDirectoryProvider(provider)) { in getDirectoryProviderPackages()
222 Log.d(TAG, "Found " + provider.authority); in getDirectoryProviderPackages()
223 ret.add(provider.packageName); in getDirectoryProviderPackages()
[all …]
/packages/apps/Settings/src/com/android/settings/search/
DSettingsSearchIndexablesProvider.java21 import android.provider.SearchIndexableResource;
22 import android.provider.SearchIndexablesProvider;
26 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_XML_RES_CLASS_NAME;
27 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_XML_RES_ICON_RESID;
28 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_XML_RES_INTENT_ACTION;
29 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_XML_RES_INTENT_TARGET_CLASS;
30 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_XML_RES_INTENT_TARGET_PACKAGE;
31 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_XML_RES_RANK;
32 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_XML_RES_RESID;
33 import static android.provider.SearchIndexablesContract.INDEXABLES_RAW_COLUMNS;
[all …]
DIndex.java37 import android.provider.SearchIndexableData;
38 import android.provider.SearchIndexableResource;
39 import android.provider.SearchIndexablesContract;
67 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_NON_INDEXABLE_KEYS_KEY_VALUE;
68 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_CLASS_NAME;
69 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_ENTRIES;
70 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_ICON_RESID;
71 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_ACTION;
72 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_TARGET_CLASS;
73 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_TARGET_PACKAGE;
[all …]
/packages/services/Telephony/src/com/android/phone/
DPhoneSearchIndexablesProvider.java21 import android.provider.SearchIndexableResource;
22 import android.provider.SearchIndexablesProvider;
24 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_XML_RES_RANK;
25 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_XML_RES_RESID;
26 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_XML_RES_CLASS_NAME;
27 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_XML_RES_ICON_RESID;
28 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_XML_RES_INTENT_ACTION;
29 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_XML_RES_INTENT_TARGET_PACKAGE;
30 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_XML_RES_INTENT_TARGET_CLASS;
32 import static android.provider.SearchIndexablesContract.INDEXABLES_RAW_COLUMNS;
[all …]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastSearchIndexableProvider.java23 import android.provider.SearchIndexableResource;
24 import android.provider.SearchIndexablesProvider;
25 import android.provider.Settings;
29 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_NON_INDEXABLE_KEYS_KEY_VALUE;
30 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_XML_RES_RANK;
31 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_XML_RES_RESID;
32 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_XML_RES_CLASS_NAME;
33 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_XML_RES_ICON_RESID;
34 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_XML_RES_INTENT_ACTION;
35 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_XML_RES_INTENT_TARGET_PACKAGE;
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/
DDataItem.java21 import android.provider.ContactsContract.CommonDataKinds.Email;
22 import android.provider.ContactsContract.CommonDataKinds.Event;
23 import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
24 import android.provider.ContactsContract.CommonDataKinds.Identity;
25 import android.provider.ContactsContract.CommonDataKinds.Im;
26 import android.provider.ContactsContract.CommonDataKinds.Nickname;
27 import android.provider.ContactsContract.CommonDataKinds.Note;
28 import android.provider.ContactsContract.CommonDataKinds.Organization;
29 import android.provider.ContactsContract.CommonDataKinds.Phone;
30 import android.provider.ContactsContract.CommonDataKinds.Photo;
[all …]
/packages/apps/Contacts/src/com/android/contacts/list/
DContactsIntentResolver.java23 import android.provider.Contacts.ContactMethods;
24 import android.provider.Contacts.People;
25 import android.provider.Contacts.Phones;
26 import android.provider.ContactsContract;
27 import android.provider.ContactsContract.CommonDataKinds.Email;
28 import android.provider.ContactsContract.CommonDataKinds.Phone;
29 import android.provider.ContactsContract.CommonDataKinds.StructuredPostal;
30 import android.provider.ContactsContract.Contacts;
31 import android.provider.ContactsContract.Intents;
32 import android.provider.ContactsContract.Intents.Insert;
[all …]
/packages/apps/Email/provider_src/com/android/email/mail/internet/
DOAuthAuthenticator.java83 final OAuthProvider provider = AccountSettingsUtils.findOAuthProvider(context, providerId); in requestAccess() local
84 if (provider == null) { in requestAccess()
91 final HttpPost post = new HttpPost(provider.tokenEndpoint); in requestAccess()
95 nvp.add(new BasicNameValuePair(OAUTH_REQUEST_CLIENT_ID, provider.clientId)); in requestAccess()
96 nvp.add(new BasicNameValuePair(OAUTH_REQUEST_CLIENT_SECRET, provider.clientSecret)); in requestAccess()
97 nvp.add(new BasicNameValuePair(OAUTH_REQUEST_REDIRECT_URI, provider.redirectUri)); in requestAccess()
113 final OAuthProvider provider = AccountSettingsUtils.findOAuthProvider(context, providerId); in requestRefresh() local
114 if (provider == null) { in requestRefresh()
120 final HttpPost post = new HttpPost(provider.refreshEndpoint); in requestRefresh()
124 nvp.add(new BasicNameValuePair(OAUTH_REQUEST_CLIENT_ID, provider.clientId)); in requestRefresh()
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorUiUtils.java19 import static android.provider.ContactsContract.CommonDataKinds.GroupMembership;
20 import static android.provider.ContactsContract.CommonDataKinds.StructuredName;
28 import android.provider.ContactsContract.CommonDataKinds.Email;
29 import android.provider.ContactsContract.CommonDataKinds.Event;
30 import android.provider.ContactsContract.CommonDataKinds.Im;
31 import android.provider.ContactsContract.CommonDataKinds.Note;
32 import android.provider.ContactsContract.CommonDataKinds.Organization;
33 import android.provider.ContactsContract.CommonDataKinds.Phone;
34 import android.provider.ContactsContract.CommonDataKinds.Photo;
35 import android.provider.ContactsContract.CommonDataKinds.Relation;
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DAppWidgetManagerCompatV16.java61 return mAppWidgetManager.bindAppWidgetIdIfAllowed(appWidgetId, info.provider, options); in bindAppWidgetIdIfAllowed()
63 return mAppWidgetManager.bindAppWidgetIdIfAllowed(appWidgetId, info.provider); in bindAppWidgetIdIfAllowed()
84 info.provider.getPackageName(), info.previewImage, null); in loadPreview()
89 return cache.getFullResIcon(info.provider.getPackageName(), info.icon); in loadIcon()
100 ComponentName provider, UserHandleCompat user) { in findProvider() argument
102 if (info.provider.equals(provider)) { in findProvider()
114 result.put(new ComponentKey(info.provider, user), info); in getAllProvidersMap()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/account/
DExternalAccountTypeTest.java20 import android.provider.ContactsContract.CommonDataKinds.Email;
21 import android.provider.ContactsContract.CommonDataKinds.Event;
22 import android.provider.ContactsContract.CommonDataKinds.Im;
23 import android.provider.ContactsContract.CommonDataKinds.Note;
24 import android.provider.ContactsContract.CommonDataKinds.Organization;
25 import android.provider.ContactsContract.CommonDataKinds.Photo;
26 import android.provider.ContactsContract.CommonDataKinds.Relation;
27 import android.provider.ContactsContract.CommonDataKinds.SipAddress;
28 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
29 import android.provider.ContactsContract.CommonDataKinds.StructuredPostal;
[all …]
/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/Email/provider_src/com/android/email/service/
DPopImapSyncAdapterService.java36 import com.android.emailcommon.provider.Account;
37 import com.android.emailcommon.provider.EmailContent;
38 import com.android.emailcommon.provider.EmailContent.AccountColumns;
39 import com.android.emailcommon.provider.EmailContent.Message;
40 import com.android.emailcommon.provider.EmailContent.MessageColumns;
41 import com.android.emailcommon.provider.Mailbox;
64 String authority, ContentProviderClient provider, SyncResult syncResult) { in onPerformSync() argument
65 PopImapSyncAdapterService.performSync(getContext(), account, extras, provider, in onPerformSync() local
195 Bundle extras, ContentProviderClient provider, SyncResult syncResult) { in performSync() argument
199 c = provider.query(com.android.emailcommon.provider.Account.CONTENT_URI, in performSync()
[all …]
/packages/apps/Dialer/tests/src/com/android/dialer/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/apps/Settings/src/com/android/settings/datausage/
DAppDataUsagePreference.java36 UidDetailProvider provider) { in AppDataUsagePreference() argument
49 UidDetailTask.bindView(provider, item, this); in AppDataUsagePreference()
80 private UidDetailTask(UidDetailProvider provider, AppItem item, in UidDetailTask() argument
82 mProvider = checkNotNull(provider); in UidDetailTask()
87 public static void bindView(UidDetailProvider provider, AppItem item, in bindView() argument
89 final UidDetail cachedDetail = provider.getUidDetail(item.key, false); in bindView()
93 new UidDetailTask(provider, item, target).executeOnExecutor( in bindView()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DActivityTransitionBitmapHelper.java54 IActivityTransitionBitmapProvider provider = null; in getBitmapFromBinderBundle() local
65 provider = IActivityTransitionBitmapProvider. in getBitmapFromBinderBundle()
68 if (provider != null) { in getBitmapFromBinderBundle()
70 return provider.getTransitionBitmap(); in getBitmapFromBinderBundle()
80 ActivityTransitionBitmapProvider provider = new ActivityTransitionBitmapProvider(bitmap); in bitmapAsBinderBundle() local
85 sPutBinder.invoke(bundle, EXTRA_BINDER, provider); in bitmapAsBinderBundle()
/packages/apps/Email/src/com/android/email/preferences/
DEmailPreferenceMigrator.java24 import com.android.emailcommon.provider.EmailContent;
25 import com.android.emailcommon.provider.EmailContent.AccountColumns;
95 com.android.emailcommon.provider.Account.CONTENT_URI, in migrate()
96 com.android.emailcommon.provider.Account.CONTENT_PROJECTION, in migrate()
100 final com.android.emailcommon.provider.Account ecAccount = in migrate()
101 new com.android.emailcommon.provider.Account(); in migrate()
154 & com.android.emailcommon.provider.Account.FLAGS_NOTIFY_NEW_MAIL) != 0; in migrate()
161 & com.android.emailcommon.provider.Account.FLAGS_VIBRATE) != 0; in migrate()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java52 import android.provider.BaseColumns;
53 import android.provider.ContactsContract;
54 import android.provider.ContactsContract.AggregationExceptions;
55 import android.provider.ContactsContract.CommonDataKinds;
56 import android.provider.ContactsContract.CommonDataKinds.Email;
57 import android.provider.ContactsContract.CommonDataKinds.Phone;
58 import android.provider.ContactsContract.Contacts;
59 import android.provider.ContactsContract.Data;
60 import android.provider.ContactsContract.RawContacts;
61 import android.provider.ContactsContract.StatusUpdates;
[all …]
DContactsDatabaseHelperUpgradeTest.java20 import android.provider.BaseColumns;
21 import android.provider.CallLog.Calls;
22 import android.provider.ContactsContract.AggregationExceptions;
23 import android.provider.ContactsContract.Contacts;
24 import android.provider.ContactsContract.Data;
25 import android.provider.ContactsContract.DeletedContacts;
26 import android.provider.ContactsContract.Directory;
27 import android.provider.ContactsContract.DisplayNameSources;
28 import android.provider.ContactsContract.Groups;
29 import android.provider.ContactsContract.MetadataSync;
[all …]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProviderIntentService.java20 import android.provider.CalendarContract;
36 final CalendarProvider2 provider = CalendarProvider2.getInstance(); in onHandleIntent() local
44 provider.getOrCreateCalendarAlarmManager().runScheduleNextAlarm(removeAlarms, provider); in onHandleIntent()
46 provider.getOrCreateCalendarAlarmManager().releaseScheduleNextAlarmWakeLock(); in onHandleIntent()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAppWidgetProviderInfo.java53 provider = new ComponentName(context, widget.getClass().getName()); in LauncherAppWidgetProviderInfo()
84 app.getContext(), provider, null); in initSpans()
107 return cache.getFullResIcon(provider.getPackageName(), icon); in getIcon()
115 return "WidgetProviderInfo(" + provider + ")"; in toString()
118provider.toString(), provider.getPackageName(), provider.getShortClassName(), getLabel(pm)); in toString()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java19 import static android.provider.Downloads.Impl.COLUMN_CONTROL;
20 import static android.provider.Downloads.Impl.COLUMN_DELETED;
21 import static android.provider.Downloads.Impl.COLUMN_STATUS;
22 import static android.provider.Downloads.Impl.CONTROL_PAUSED;
23 import static android.provider.Downloads.Impl.STATUS_BAD_REQUEST;
24 import static android.provider.Downloads.Impl.STATUS_CANCELED;
25 import static android.provider.Downloads.Impl.STATUS_CANNOT_RESUME;
26 import static android.provider.Downloads.Impl.STATUS_FILE_ERROR;
27 import static android.provider.Downloads.Impl.STATUS_HTTP_DATA_ERROR;
28 import static android.provider.Downloads.Impl.STATUS_PAUSED_BY_APP;
[all …]
/packages/apps/Dialer/src/com/android/dialer/voicemail/
DVoicemailStatusHelperImpl.java19 import static android.provider.VoicemailContract.Status.CONFIGURATION_STATE_CAN_BE_CONFIGURED;
20 import static android.provider.VoicemailContract.Status.CONFIGURATION_STATE_OK;
21 import static android.provider.VoicemailContract.Status.DATA_CHANNEL_STATE_NO_CONNECTION;
22 import static android.provider.VoicemailContract.Status.DATA_CHANNEL_STATE_OK;
23 import static android.provider.VoicemailContract.Status.NOTIFICATION_CHANNEL_STATE_MESSAGE_WAITING;
24 import static android.provider.VoicemailContract.Status.NOTIFICATION_CHANNEL_STATE_NO_CONNECTION;
25 import static android.provider.VoicemailContract.Status.NOTIFICATION_CHANNEL_STATE_OK;
29 import android.provider.VoicemailContract.Status;

12345678910>>...50