Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/cts/
DTestPagingContentProvider.java66 public Cursor query(Uri uri, String[] ignored, Bundle queryArgs, in query() argument
69 queryArgs = queryArgs != null ? queryArgs : Bundle.EMPTY; in query()
71 int recordCount = queryArgs.getInt(RECORD_COUNT, Integer.MIN_VALUE); in query()
82 cursor = buildPagedResults(queryArgs, recordCount); in query()
97 private Cursor buildPagedResults(Bundle queryArgs, int recordsetSize) { in buildPagedResults() argument
99 int offset = queryArgs.getInt(ContentResolver.QUERY_ARG_OFFSET, 0); in buildPagedResults()
100 int limit = queryArgs.getInt(ContentResolver.QUERY_ARG_LIMIT, Integer.MIN_VALUE); in buildPagedResults()
DContentResolverTest.java323 Bundle queryArgs = new Bundle(); in testQuery_WithSqlSelectionArgs() local
324 queryArgs.putString(ContentResolver.QUERY_ARG_SQL_SELECTION, COLUMN_ID_NAME + "=?"); in testQuery_WithSqlSelectionArgs()
325 queryArgs.putStringArray(ContentResolver.QUERY_ARG_SQL_SELECTION_ARGS, new String[] {"1"}); in testQuery_WithSqlSelectionArgs()
327 mCursor = mContentResolver.query(TABLE1_URI, null, queryArgs, null); in testQuery_WithSqlSelectionArgs()
338 queryArgs.putString(ContentResolver.QUERY_ARG_SQL_SELECTION, COLUMN_KEY_NAME + "=?"); in testQuery_WithSqlSelectionArgs()
339 queryArgs.putStringArray(ContentResolver.QUERY_ARG_SQL_SELECTION_ARGS, new String[] {KEY3}); in testQuery_WithSqlSelectionArgs()
340 mCursor = mContentResolver.query(TABLE1_URI, null, queryArgs, null); in testQuery_WithSqlSelectionArgs()
378 Bundle queryArgs = new Bundle(); in testQuery_SqlSortingFromBundleArgs() local
379 queryArgs.putStringArray( in testQuery_SqlSortingFromBundleArgs()
384 queryArgs.putInt( in testQuery_SqlSortingFromBundleArgs()
[all …]