Home
last modified time | relevance | path

Searched refs:queryArgs (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/android/provider/
DDocumentsProvider.java494 @NonNull String rootId, @Nullable String[] projection, @Nullable Bundle queryArgs, in queryRecentDocuments() argument
604 String parentDocumentId, @Nullable String[] projection, @Nullable Bundle queryArgs) in queryChildDocuments() argument
608 parentDocumentId, projection, getSortClause(queryArgs)); in queryChildDocuments()
706 @Nullable String[] projection, @NonNull Bundle queryArgs) throws FileNotFoundException { in querySearchDocuments() argument
708 Preconditions.checkNotNull(queryArgs, "queryArgs can not be null"); in querySearchDocuments()
709 return querySearchDocuments(rootId, DocumentsContract.getSearchDocumentsQuery(queryArgs), in querySearchDocuments()
900 Uri uri, String[] projection, Bundle queryArgs, CancellationSignal cancellationSignal) { in query() argument
907 getRootId(uri), projection, queryArgs, cancellationSignal); in query()
909 return querySearchDocuments(getRootId(uri), projection, queryArgs); in query()
922 getSortClause(queryArgs)); in query()
[all …]
DDocumentsContract.java1044 public static boolean matchSearchQueryArguments(Bundle queryArgs, String displayName, in matchSearchQueryArguments() argument
1046 if (queryArgs == null) { in matchSearchQueryArguments()
1050 final String argDisplayName = queryArgs.getString(QUERY_ARG_DISPLAY_NAME, ""); in matchSearchQueryArguments()
1058 final long argFileSize = queryArgs.getLong(QUERY_ARG_FILE_SIZE_OVER, -1 /* defaultValue */); in matchSearchQueryArguments()
1063 final long argLastModified = queryArgs.getLong(QUERY_ARG_LAST_MODIFIED_AFTER, in matchSearchQueryArguments()
1069 final String[] argMimeTypes = queryArgs.getStringArray(QUERY_ARG_MIME_TYPES); in matchSearchQueryArguments()
1094 public static String[] getHandledQueryArguments(Bundle queryArgs) { in getHandledQueryArguments() argument
1095 if (queryArgs == null) { in getHandledQueryArguments()
1101 if (queryArgs.keySet().contains(QUERY_ARG_EXCLUDE_MEDIA)) { in getHandledQueryArguments()
1105 if (queryArgs.keySet().contains(QUERY_ARG_DISPLAY_NAME)) { in getHandledQueryArguments()
[all …]
DSettings.java2468 Bundle queryArgs = ContentResolver.createSqlQueryBundle( in getStringForUser() local
2474 c = cp.query(cr.getPackageName(), mUri, SELECT_VALUE_PROJECTION, queryArgs, in getStringForUser()
2480 c = cp.query(cr.getPackageName(), mUri, SELECT_VALUE_PROJECTION, queryArgs, in getStringForUser()
/frameworks/base/core/java/android/content/
DContentResolver.java879 Bundle queryArgs = createSqlQueryBundle(selection, selectionArgs, sortOrder);
880 return query(uri, projection, queryArgs, cancellationSignal);
916 @Nullable String[] projection, @Nullable Bundle queryArgs,
922 return mWrapped.query(uri, projection, queryArgs, cancellationSignal);
945 queryArgs, remoteCancellationSignal);
956 mPackageName, uri, projection, queryArgs, remoteCancellationSignal);
965 maybeLogQueryToEventLog(durationMillis, uri, projection, queryArgs);
3257 long durationMillis, Uri uri, String[] projection, @Nullable Bundle queryArgs) {
3269 queryArgs = (queryArgs != null) ? queryArgs : Bundle.EMPTY;
3292 queryArgs.getString(QUERY_ARG_SQL_SELECTION, ""),
[all …]
DContentProvider.java228 @Nullable Bundle queryArgs, @Nullable ICancellationSignal cancellationSignal) { in query() argument
250 uri, projection, queryArgs, in query()
268 uri, projection, queryArgs, in query()
1297 @Nullable Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) { in query() argument
1298 queryArgs = queryArgs != null ? queryArgs : Bundle.EMPTY; in query()
1302 String sortClause = queryArgs.getString(ContentResolver.QUERY_ARG_SQL_SORT_ORDER); in query()
1303 if (sortClause == null && queryArgs.containsKey(ContentResolver.QUERY_ARG_SORT_COLUMNS)) { in query()
1304 sortClause = ContentResolver.createSqlSortClause(queryArgs); in query()
1310 queryArgs.getString(ContentResolver.QUERY_ARG_SQL_SELECTION), in query()
1311 queryArgs.getStringArray(ContentResolver.QUERY_ARG_SQL_SELECTION_ARGS), in query()
DLoggingContentInterface.java93 @Nullable Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) in query() argument
95 try (Logger l = new Logger("query", uri, projection, queryArgs, cancellationSignal)) { in query() argument
97 return l.setResult(delegate.query(uri, projection, queryArgs, cancellationSignal)); in query()
DContentProviderClient.java175 Bundle queryArgs = in query() local
177 return query(uri, projection, queryArgs, cancellationSignal); in query()
183 Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) in query() argument
196 mPackageName, uri, projection, queryArgs, remoteCancellationSignal); in query()
DContentInterface.java44 @Nullable Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) in query() argument
DContentProviderNative.java98 Bundle queryArgs = data.readBundle(); in onTransact() local
104 … Cursor cursor = query(callingPkg, url, projection, queryArgs, cancellationSignal); in onTransact()
398 @Nullable Bundle queryArgs, @Nullable ICancellationSignal cancellationSignal) in query() argument
416 data.writeBundle(queryArgs); in query()
DIContentProvider.java41 @Nullable Bundle queryArgs, @Nullable ICancellationSignal cancellationSignal) in query() argument
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DBaseSettingsProviderTest.java142 final String[] queryArgs; in queryStringViaProviderApi() local
147 queryArgs = null; in queryStringViaProviderApi()
151 queryArgs = new String[]{name}; in queryStringViaProviderApi()
155 queryString, queryArgs, null); in queryStringViaProviderApi()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java417 File folder, String[] projection, Set<String> exclusion, Bundle queryArgs) in querySearchDocuments() argument
430 queryArgs)) { in querySearchDocuments()
435 final String[] handledQueryArgs = DocumentsContract.getHandledQueryArguments(queryArgs); in querySearchDocuments()
496 private boolean matchSearchQueryArguments(File file, Bundle queryArgs) { in matchSearchQueryArguments() argument
514 return DocumentsContract.matchSearchQueryArguments(queryArgs, fileName, fileMimeType, in matchSearchQueryArguments()
/frameworks/base/test-mock/src/android/test/mock/
DMockContentProvider.java103 @Nullable Bundle queryArgs, in query() argument
106 return MockContentProvider.this.query(url, projection, queryArgs, null); in query()
DMockIContentProvider.java90 @Nullable Bundle queryArgs, @Nullable ICancellationSignal cancellationSignal) { in query() argument
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java546 public Cursor querySearchDocuments(String rootId, String[] projection, Bundle queryArgs) in querySearchDocuments() argument
553 return querySearchDocuments(parent, projection, Collections.emptySet(), queryArgs); in querySearchDocuments()
/frameworks/base/core/java/android/app/slice/
DSliceProvider.java337 public final Cursor query(Uri uri, String[] projection, Bundle queryArgs, in query() argument