Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/provider/
DDocumentsProvider.java505 @NonNull String rootId, @Nullable String[] projection, @Nullable Bundle queryArgs, in queryRecentDocuments() argument
615 String parentDocumentId, @Nullable String[] projection, @Nullable Bundle queryArgs) in queryChildDocuments() argument
619 parentDocumentId, projection, getSortClause(queryArgs)); in queryChildDocuments()
717 @Nullable String[] projection, @NonNull Bundle queryArgs) throws FileNotFoundException { in querySearchDocuments() argument
719 Preconditions.checkNotNull(queryArgs, "queryArgs can not be null"); in querySearchDocuments()
720 return querySearchDocuments(rootId, DocumentsContract.getSearchDocumentsQuery(queryArgs), in querySearchDocuments()
911 Uri uri, String[] projection, Bundle queryArgs, CancellationSignal cancellationSignal) { in query() argument
918 getRootId(uri), projection, queryArgs, cancellationSignal); in query()
920 return querySearchDocuments(getRootId(uri), projection, queryArgs); in query()
933 getSortClause(queryArgs)); in query()
[all …]
DDocumentsContract.java1098 public static boolean matchSearchQueryArguments(Bundle queryArgs, String displayName, in matchSearchQueryArguments() argument
1100 if (queryArgs == null) { in matchSearchQueryArguments()
1104 final String argDisplayName = queryArgs.getString(QUERY_ARG_DISPLAY_NAME, ""); in matchSearchQueryArguments()
1112 final long argFileSize = queryArgs.getLong(QUERY_ARG_FILE_SIZE_OVER, -1 /* defaultValue */); in matchSearchQueryArguments()
1117 final long argLastModified = queryArgs.getLong(QUERY_ARG_LAST_MODIFIED_AFTER, in matchSearchQueryArguments()
1123 final String[] argMimeTypes = queryArgs.getStringArray(QUERY_ARG_MIME_TYPES); in matchSearchQueryArguments()
1148 public static String[] getHandledQueryArguments(Bundle queryArgs) { in getHandledQueryArguments() argument
1149 if (queryArgs == null) { in getHandledQueryArguments()
1155 if (queryArgs.keySet().contains(QUERY_ARG_EXCLUDE_MEDIA)) { in getHandledQueryArguments()
1159 if (queryArgs.keySet().contains(QUERY_ARG_DISPLAY_NAME)) { in getHandledQueryArguments()
[all …]
DSettings.java3645 Bundle queryArgs = ContentResolver.createSqlQueryBundle( in getStringForUser() local
3652 SELECT_VALUE_PROJECTION, queryArgs, null); in getStringForUser()
3658 SELECT_VALUE_PROJECTION, queryArgs, null); in getStringForUser()
/frameworks/base/core/java/android/content/
DContentResolver.java1160 Bundle queryArgs = createSqlQueryBundle(selection, selectionArgs, sortOrder);
1161 return query(uri, projection, queryArgs, cancellationSignal);
1201 @Nullable String[] projection, @Nullable Bundle queryArgs,
1207 return mWrapped.query(uri, projection, queryArgs, cancellationSignal);
1230 queryArgs, remoteCancellationSignal);
1241 queryArgs, remoteCancellationSignal);
1250 maybeLogQueryToEventLog(durationMillis, uri, projection, queryArgs);
3807 long durationMillis, Uri uri, String[] projection, @Nullable Bundle queryArgs) {
3819 queryArgs = (queryArgs != null) ? queryArgs : Bundle.EMPTY;
3842 queryArgs.getString(QUERY_ARG_SQL_SELECTION, ""),
[all …]
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()
DContentProvider.java252 @Nullable String[] projection, @Nullable Bundle queryArgs, in query() argument
277 uri, projection, queryArgs, in query()
296 uri, projection, queryArgs, in query()
1706 @Nullable Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) { in query() argument
1707 queryArgs = queryArgs != null ? queryArgs : Bundle.EMPTY; in query()
1711 String sortClause = queryArgs.getString(ContentResolver.QUERY_ARG_SQL_SORT_ORDER); in query()
1712 if (sortClause == null && queryArgs.containsKey(ContentResolver.QUERY_ARG_SORT_COLUMNS)) { in query()
1713 sortClause = ContentResolver.createSqlSortClause(queryArgs); in query()
1719 queryArgs.getString(ContentResolver.QUERY_ARG_SQL_SELECTION), in query()
1720 queryArgs.getStringArray(ContentResolver.QUERY_ARG_SQL_SELECTION_ARGS), in query()
DContentProviderClient.java176 Bundle queryArgs = in query() local
178 return query(uri, projection, queryArgs, cancellationSignal); in query()
184 Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) in query() argument
197 mAttributionSource, uri, projection, queryArgs, in query()
DContentInterface.java44 @Nullable Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) in query() argument
DContentProviderNative.java101 Bundle queryArgs = data.readBundle(); in onTransact() local
107 Cursor cursor = query(attributionSource, url, projection, queryArgs, in onTransact()
469 @Nullable String[] projection, @Nullable Bundle queryArgs, in query() argument
488 data.writeBundle(queryArgs); in query()
DIContentProvider.java46 @Nullable Bundle queryArgs, @Nullable ICancellationSignal cancellationSignal) in query() argument
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DBaseSettingsProviderTest.java158 final String[] queryArgs; in queryStringViaProviderApi() local
163 queryArgs = null; in queryStringViaProviderApi()
167 queryArgs = new String[]{name}; in queryStringViaProviderApi()
171 queryString, queryArgs, null); in queryStringViaProviderApi()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java447 Set<String> exclusion, Bundle queryArgs) throws FileNotFoundException { in querySearchDocuments() argument
468 if (matchSearchQueryArguments(file, queryArgs)) { in querySearchDocuments()
473 final String[] handledQueryArgs = DocumentsContract.getHandledQueryArguments(queryArgs); in querySearchDocuments()
559 private boolean matchSearchQueryArguments(File file, Bundle queryArgs) { in matchSearchQueryArguments() argument
577 return DocumentsContract.matchSearchQueryArguments(queryArgs, fileName, fileMimeType, in matchSearchQueryArguments()
/frameworks/base/test-mock/src/android/test/mock/
DMockContentProvider.java120 @Nullable String[] projection, @Nullable Bundle queryArgs, in query() argument
122 return MockContentProvider.this.query(url, projection, queryArgs, null); in query()
DMockIContentProvider.java119 @Nullable String[] projection, @Nullable Bundle queryArgs, in query() argument
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java659 public Cursor querySearchDocuments(String rootId, String[] projection, Bundle queryArgs) in querySearchDocuments() argument
669 return querySearchDocuments(parent, projection, Collections.emptySet(), queryArgs); in querySearchDocuments()
/frameworks/base/core/java/android/app/slice/
DSliceProvider.java329 public final Cursor query(Uri uri, String[] projection, Bundle queryArgs, in query() argument