Lines Matching defs:provider

58      *     <td>A newly allocated appWidgetId, which will be bound to the AppWidget provider
98 * <td>A newly allocated appWidgetId, which will be bound to the AppWidget provider
103 * <td>The BroadcastReceiver that will be the AppWidget provider for this AppWidget.
108 * <td>An optional handle to a user profile under which runs the provider
137 * This action is not sent as a broadcast to the AppWidget provider, but as a startActivity
213 * An intent extra that contains the component name of a AppWidget provider.
221 * which an AppWidget provider is registered.
273 * <p>This may be sent in response to a new instance for this AppWidget provider having
283 * provider, or just a subset. The system tries to send updates for as few AppWidget
315 * Sent when the last AppWidget of this provider is removed from the last host.
327 * an instance for this provider.
337 * Sent to an {@link AppWidgetProvider} after AppWidget state related to that provider has
421 public static final String META_DATA_APPWIDGET_PROVIDER = "android.appwidget.provider";
460 * This method will only work when called from the uid that owns the AppWidget provider.
537 * This method will only work when called from the uid that owns the AppWidget provider.
568 * This method will only work when called from the uid that owns the AppWidget provider.
603 * This method will only work when called from the uid that owns the AppWidget provider.
620 * Set the RemoteViews to use for all AppWidget instances for the supplied AppWidget provider.
625 * This method will only work when called from the uid that owns the AppWidget provider.
627 * @param provider The {@link ComponentName} for the {@link
628 * android.content.BroadcastReceiver BroadcastReceiver} provider
632 public void updateAppWidget(ComponentName provider, RemoteViews views) {
637 mService.updateAppWidgetProvider(provider, views);
776 * @return A appWidgetId. If the appWidgetId has not been bound to a provider yet, or
804 * @param provider The {@link android.content.BroadcastReceiver} that will be the AppWidget
805 * provider for this AppWidget.
808 public void bindAppWidgetId(int appWidgetId, ComponentName provider) {
812 bindAppWidgetId(appWidgetId, provider, null);
823 * @param provider The {@link android.content.BroadcastReceiver} that will be the AppWidget
824 * provider for this AppWidget.
830 public void bindAppWidgetId(int appWidgetId, ComponentName provider, Bundle options) {
834 bindAppWidgetIdIfAllowed(appWidgetId, Process.myUserHandle(), provider, options);
845 * @param appWidgetId The AppWidget id under which to bind the provider.
846 * @param provider The {@link android.content.BroadcastReceiver} that will be the AppWidget
847 * provider for this AppWidget.
850 public boolean bindAppWidgetIdIfAllowed(int appWidgetId, ComponentName provider) {
854 return bindAppWidgetIdIfAllowed(appWidgetId, UserHandle.myUserId(), provider, null);
865 * @param appWidgetId The AppWidget id under which to bind the provider.
866 * @param provider The {@link android.content.BroadcastReceiver} that will be the AppWidget
867 * provider for this AppWidget.
873 public boolean bindAppWidgetIdIfAllowed(int appWidgetId, ComponentName provider,
878 return bindAppWidgetIdIfAllowed(appWidgetId, UserHandle.myUserId(), provider, options);
882 * Set the provider for a given appWidgetId if the caller has a permission.
890 * @param appWidgetId The AppWidget id under which to bind the provider.
891 * @param user The user id in which the provider resides.
892 * @param provider The component name of the provider.
898 ComponentName provider, Bundle options) {
902 return bindAppWidgetIdIfAllowed(appWidgetId, user.getIdentifier(), provider, options);
1040 * provider.
1042 * @param provider The {@link android.content.BroadcastReceiver} that is the
1043 * AppWidget provider to find appWidgetIds for.
1045 public int[] getAppWidgetIds(ComponentName provider) {
1050 return mService.getAppWidgetIds(provider);
1072 ComponentName provider, Bundle options) {
1078 profileId, provider, options);