Searched defs:selectionArgs (Results 1 - 12 of 12) sorted by relevance

/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowCursorLoader.java16 private String[] selectionArgs; field in class:ShadowCursorLoader
23 public void __constructor__(Context context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { argument
28 this.selectionArgs = selectionArgs;
64 return selectionArgs;
68 public void setSelectionArgs(String[] selectionArgs) { argument
69 this.selectionArgs = selectionArgs;
H A DShadowContentProviderOperationBuilder.java32 public Builder withSelection(String selection, String[] selectionArgs) { argument
33 shadowContentProviderOperation.getSelections().put(selection, selectionArgs);
H A DShadowSQLiteDatabase.java115 String selection, String[] selectionArgs, String groupBy,
119 if (selection != null && selectionArgs != null) {
120 where = buildWhereClause(selection, selectionArgs);
141 String[] selectionArgs, String groupBy, String having,
143 return query(false, table, columns, selection, selectionArgs, groupBy, having, orderBy, null);
148 String[] selectionArgs, String groupBy, String having,
150 return query(false, table, columns, selection, selectionArgs, groupBy, having, orderBy, limit);
227 public Cursor rawQuery (String sql, String[] selectionArgs) { argument
235 }, sql, selectionArgs, null );
239 public Cursor rawQueryWithFactory (SQLiteDatabase.CursorFactory cursorFactory, String sql, String[] selectionArgs, Strin argument
114 query(boolean distinct, String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit) argument
140 query(String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy) argument
147 query(String table, String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy, String limit) argument
[all...]
H A DShadowContentResolver.java106 public int update(Uri uri, ContentValues values, String where, String[] selectionArgs) { argument
109 return provider.update(uri, values, where, selectionArgs);
111 UpdateStatement updateStatement = new UpdateStatement(uri, new ContentValues(values), where, selectionArgs);
119 String[] selectionArgs, String sortOrder) {
122 return provider.query(uri, projection, selection, selectionArgs, sortOrder);
129 returnCursor.setQuery(uri, projection, selection, selectionArgs,
136 public final int delete(Uri url, String where, String[] selectionArgs) { argument
139 return provider.delete(url, where, selectionArgs);
141 DeleteStatement deleteStatement = new DeleteStatement(url, where, selectionArgs);
366 private final String[] selectionArgs; field in class:ShadowContentResolver.UpdateStatement
118 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
368 UpdateStatement(Uri uri, ContentValues values, String where, String[] selectionArgs) argument
395 private final String[] selectionArgs; field in class:ShadowContentResolver.DeleteStatement
397 DeleteStatement(Uri uri, String where, String[] selectionArgs) argument
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/database/
H A DSimpleTestCursor.java12 public String[] selectionArgs; field in class:SimpleTestCursor
20 public void setQuery(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { argument
24 this.selectionArgs = selectionArgs;
H A DTestCursor.java208 * Mimics ContentResolver.query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder)
210 public void setQuery(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { argument
/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/
H A DSQLite.java110 * @param selectionArgs Array of substitutions for args in selection
113 public static String buildWhereClause(String selection, String[] selectionArgs) throws SQLiteException { argument
121 if (selectionArgs != null) {
122 for (int x = 0; x < selectionArgs.length; x++) {
123 if (selectionArgs[x] == null) {
128 whereClause = whereClause.replaceFirst("\\?", "'" + selectionArgs[x] + "'");
132 throw new SQLiteException("bind or column index out of range: count of selectionArgs does not match count of (?) placeholders for given sql statement!");
/external/svox/pico/src/com/svox/pico/providers/
H A DSettingsProvider.java61 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
81 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
90 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/external/chromium_org/android_webview/test/shell/src/org/chromium/android_webview/test/
H A DTestContentProvider.java98 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
184 String[] selectionArgs, String sortOrder) {
183 query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DContentResolverTest.java159 String[] selectionArgs = {};
165 Cursor cursor = shadowContentResolver.query(uri21, projection, selection, selectionArgs, sortOrder);
170 assertThat(testCursor.selectionArgs, equalTo(selectionArgs));
325 @Override public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) {
331 @Override public int delete(Uri uri, String selection, String[] selectionArgs) {
334 @Override public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
359 public String[] selectionArgs; field in class:ContentResolverTest.QueryParamTrackingTestCursor
363 public void setQuery(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { argument
367 this.selectionArgs
[all...]
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
H A DChromeBrowserProvider.java269 private Cursor getBookmarkHistorySuggestions(String selection, String[] selectionArgs, argument
273 String like = selectionArgs[0] + "%";
274 if (selectionArgs[0].startsWith("http") || selectionArgs[0].startsWith("file")) {
299 selectionArgs = args.toArray(selectionArgs);
301 selectionArgs, sortOrder);
306 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
324 cursor = getBookmarkHistorySuggestions(selection, selectionArgs, sortOrder, true);
327 cursor = getBookmarkHistorySuggestions(selection, selectionArgs, sortOrde
403 delete(Uri uri, String selection, String[] selectionArgs) argument
460 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
1018 queryBookmarkFromAPI(String[] projectionIn, String selection, String[] selectionArgs, String sortOrder) argument
1031 updateBookmarkFromAPI(ContentValues values, String selection, String[] selectionArgs) argument
1039 removeBookmarkFromAPI(String selection, String[] selectionArgs) argument
1043 removeHistoryFromAPI(String selection, String[] selectionArgs) argument
1067 updateSearchTermFromAPI(ContentValues values, String selection, String[] selectionArgs) argument
1074 querySearchTermFromAPI(String[] projectionIn, String selection, String[] selectionArgs, String sortOrder) argument
1086 removeSearchFromAPI(String selection, String[] selectionArgs) argument
1304 nativeQueryBookmarkFromAPI(int nativeChromeBrowserProvider, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
1307 nativeUpdateBookmarkFromAPI(int nativeChromeBrowserProvider, String url, Long created, Boolean isBookmark, Long date, byte[] favicon, String title, Integer visits, long parentId, String selection, String[] selectionArgs) argument
1311 nativeRemoveBookmarkFromAPI(int nativeChromeBrowserProvider, String selection, String[] selectionArgs) argument
1314 nativeRemoveHistoryFromAPI(int nativeChromeBrowserProvider, String selection, String[] selectionArgs) argument
1320 nativeQuerySearchTermFromAPI(int nativeChromeBrowserProvider, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
1323 nativeUpdateSearchTermFromAPI(int nativeChromeBrowserProvider, String search, Long date, String selection, String[] selectionArgs) argument
1326 nativeRemoveSearchTermFromAPI(int nativeChromeBrowserProvider, String selection, String[] selectionArgs) argument
[all...]
/external/robolectric/lib/main/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...

Completed in 275 milliseconds