Home | History | Annotate | Download | only in content

Lines Matching defs:Bundle

39 import android.os.Bundle;
84 * {@link #requestSync(android.accounts.Account, String, android.os.Bundle)}
172 * This extra is "virtual". Once passed to the system server, it'll be removed from the bundle.
198 * @see #openTypedAssetFileDescriptor(Uri, String, Bundle)
199 * @see #openTypedAssetFileDescriptor(Uri, String, Bundle,
213 * Key for an SQL style selection string that may be present in the query Bundle argument
214 * passed to {@link ContentProvider#query(Uri, String[], Bundle, CancellationSignal)}
250 * Key for an SQL style sort string that may be present in the query Bundle argument
251 * passed to {@link ContentProvider#query(Uri, String[], Bundle, CancellationSignal)}
268 * supplied to {@link ContentResolver#query(Uri, String[], Bundle, CancellationSignal)}.
273 * {@link ContentProvider#query(Uri, String[], Bundle, CancellationSignal)}, if sort columns
276 * reflected in {@link Cursor} extras {@link Bundle} under {@link #EXTRA_HONORED_ARGS}.
279 * arguments {@link Bundle}, the Content framework will attempt to synthesize
291 * {@link ContentProvider#query(Uri, String[], Bundle, CancellationSignal)}, if sort direction
294 * reflected in {@link Cursor} extras {@link Bundle} under {@link #EXTRA_HONORED_ARGS}.
297 * arguments {@link Bundle}, the Content framework will attempt to synthesize
313 * {@link ContentProvider#query(Uri, String[], Bundle, CancellationSignal)}, if sort collation
316 * reflected in {@link Cursor} extras {@link Bundle} under {@link #EXTRA_HONORED_ARGS}.
319 * arguments {@link Bundle}, the Content framework will attempt to synthesize
333 * honored by the provider. Include this in {@link Cursor} extras {@link Bundle}
379 * Added to {@link Cursor} extras {@link Bundle} to indicate total row count of
751 Bundle queryArgs = createSqlQueryBundle(selection, selectionArgs, sortOrder);
766 * in the {@link Cursor} extras {@link Bundle}. See {@link #EXTRA_HONORED_ARGS}
775 * @param queryArgs A Bundle containing any arguments to the query.
783 @Nullable String[] projection, @Nullable Bundle queryArgs,
952 public final boolean refresh(@NonNull Uri url, @Nullable Bundle args,
1401 @NonNull String mimeType, @Nullable Bundle opts) throws FileNotFoundException {
1437 @NonNull String mimeType, @Nullable Bundle opts,
1741 * @param extras provider-defined Bundle argument. May be null.
1742 * @return a result Bundle, possibly null. Will be null if the ContentProvider
1747 public final @Nullable Bundle call(@NonNull Uri uri, @NonNull String method,
1748 @Nullable String arg, @Nullable Bundle extras) {
1756 final Bundle res = provider.call(mPackageName, method, arg, extras);
1757 Bundle.setDefusable(res, true);
2042 * @see #requestSync(android.accounts.Account, String, android.os.Bundle)
2076 * @see #requestSync(android.accounts.Account, String, android.os.Bundle)
2219 * types may be used in the extras bundle:
2234 * {@link #requestSync(android.accounts.Account, String, android.os.Bundle)}
2237 public void startSync(Uri uri, Bundle extras) {
2253 * types may be used in the extras bundle:
2269 public static void requestSync(Account account, String authority, Bundle extras) {
2274 * @see #requestSync(Account, String, Bundle)
2278 Bundle extras) {
2308 * Check that only values of the following types are in the Bundle:
2319 * @param extras the Bundle to check
2321 public static void validateSyncExtrasBundle(Bundle extras) {
2339 throw new IllegalArgumentException("error unparceling Bundle", exc);
2496 * <p>The bundle for a periodic sync can be queried by applications with the correct
2510 public static void addPeriodicSync(Account account, String authority, Bundle extras,
2528 * @param extras bundle to validate.
2530 public static boolean invalidPeriodicExtras(Bundle extras) {
2553 public static void removePeriodicSync(Account account, String authority, Bundle extras) {
2571 * adapter, frequency, <b>and</b> extras bundle.
2816 * @see #requestSync(Account, String, Bundle)
2876 public void putCache(Uri key, Bundle value) {
2886 public Bundle getCache(Uri key) {
2888 final Bundle bundle = getContentService().getCache(mContext.getPackageName(), key,
2890 if (bundle != null) bundle.setClassLoader(mContext.getClassLoader());
2891 return bundle;
2915 long durationMillis, Uri uri, String[] projection, @Nullable Bundle queryArgs) {
2926 // Ensure a non-null bundle.
2927 queryArgs = (queryArgs != null) ? queryArgs : Bundle.EMPTY;
3076 public static @Nullable Bundle createSqlQueryBundle(
3085 Bundle queryArgs = new Bundle();
3107 * in query args bundle.
3114 public static String createSqlSortClause(Bundle queryArgs) {