Searched refs:queryArgs (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/content/src/android/content/cts/ |
D | TestPagingContentProvider.java | 66 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()
|
D | ContentResolverTest.java | 332 Bundle queryArgs = new Bundle(); in testQuery_WithSqlSelectionArgs() local 333 queryArgs.putString(ContentResolver.QUERY_ARG_SQL_SELECTION, COLUMN_ID_NAME + "=?"); in testQuery_WithSqlSelectionArgs() 334 queryArgs.putStringArray(ContentResolver.QUERY_ARG_SQL_SELECTION_ARGS, new String[] {"1"}); in testQuery_WithSqlSelectionArgs() 336 mCursor = mContentResolver.query(TABLE1_URI, null, queryArgs, null); in testQuery_WithSqlSelectionArgs() 347 queryArgs.putString(ContentResolver.QUERY_ARG_SQL_SELECTION, COLUMN_KEY_NAME + "=?"); in testQuery_WithSqlSelectionArgs() 348 queryArgs.putStringArray(ContentResolver.QUERY_ARG_SQL_SELECTION_ARGS, new String[] {KEY3}); in testQuery_WithSqlSelectionArgs() 349 mCursor = mContentResolver.query(TABLE1_URI, null, queryArgs, null); in testQuery_WithSqlSelectionArgs() 387 Bundle queryArgs = new Bundle(); in testQuery_SqlSortingFromBundleArgs() local 388 queryArgs.putStringArray( in testQuery_SqlSortingFromBundleArgs() 393 queryArgs.putInt( in testQuery_SqlSortingFromBundleArgs() [all …]
|