Home
last modified time | relevance | path

Searched refs:selectionArgs (Results 1 – 25 of 35) sorted by relevance

12

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowCursorLoader.java16 private String[] selectionArgs; field in ShadowCursorLoader
23 …ext context, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOr… in __constructor__() argument
28 this.selectionArgs = selectionArgs; in __constructor__()
64 return selectionArgs; in getSelectionArgs()
68 public void setSelectionArgs(String[] selectionArgs) { in setSelectionArgs() argument
69 this.selectionArgs = selectionArgs; in setSelectionArgs()
DShadowContentResolver.java106 public int update(Uri uri, ContentValues values, String where, String[] selectionArgs) {
109 return provider.update(uri, values, where, selectionArgs);
111 …tement 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) {
139 return provider.delete(url, where, selectionArgs);
141 DeleteStatement deleteStatement = new DeleteStatement(url, where, selectionArgs);
366 private final String[] selectionArgs;
[all …]
DShadowSQLiteDatabase.java115 String selection, String[] selectionArgs, String groupBy, in query() argument
119 if (selection != null && selectionArgs != null) { in query()
120 where = buildWhereClause(selection, selectionArgs); in query()
141 String[] selectionArgs, String groupBy, String having, in query() argument
143 … return query(false, table, columns, selection, selectionArgs, groupBy, having, orderBy, null); in query()
148 String[] selectionArgs, String groupBy, String having, in query() argument
150 … return query(false, table, columns, selection, selectionArgs, groupBy, having, orderBy, limit); in query()
227 public Cursor rawQuery (String sql, String[] selectionArgs) { in rawQuery() argument
235 }, sql, selectionArgs, null ); in rawQuery()
239 …ory (SQLiteDatabase.CursorFactory cursorFactory, String sql, String[] selectionArgs, String editTa…
[all …]
DShadowContentProviderOperationBuilder.java32 public Builder withSelection(String selection, String[] selectionArgs) { in withSelection() argument
33 shadowContentProviderOperation.getSelections().put(selection, selectionArgs); in withSelection()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DCursorLoaderTest.java20 String[] selectionArgs = new String[] { "5" }; in testGetters() local
26 selectionArgs, in testGetters()
32 assertThat(cursorLoader.getSelectionArgs(), equalTo(selectionArgs)); in testGetters()
41 String[] selectionArgs = new String[] { "5" }; in testSetters() local
47 cursorLoader.setSelectionArgs(selectionArgs); in testSetters()
53 assertThat(cursorLoader.getSelectionArgs(), equalTo(selectionArgs)); in testSetters()
DContentResolverTest.java159 String[] selectionArgs = {}; in query__shouldKnowWhatItsParamsWere() local
165 …Cursor cursor = shadowContentResolver.query(uri21, projection, selection, selectionArgs, sortOrder… in query__shouldKnowWhatItsParamsWere()
170 assertThat(testCursor.selectionArgs, equalTo(selectionArgs)); in query__shouldKnowWhatItsParamsWere()
325 …Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOr… in shouldDelegateCallsToRegisteredProvider()
331 @Override public int delete(Uri uri, String selection, String[] selectionArgs) { in shouldDelegateCallsToRegisteredProvider()
334 …erride public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in shouldDelegateCallsToRegisteredProvider()
359 public String[] selectionArgs; field in ContentResolverTest.QueryParamTrackingTestCursor
363 …public void setQuery(Uri uri, String[] projection, String selection, String[] selectionArgs, Strin… in setQuery() argument
367 this.selectionArgs = selectionArgs; in setQuery()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/database/
DSimpleTestCursor.java12 public String[] selectionArgs; field in SimpleTestCursor
20 …public void setQuery(Uri uri, String[] projection, String selection, String[] selectionArgs, Strin… in setQuery() argument
24 this.selectionArgs = selectionArgs; in setQuery()
DTestCursor.java210 …public void setQuery(Uri uri, String[] projection, String selection, String[] selectionArgs, Strin… in setQuery() argument
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DDatabaseContentProvider.java208 String[] selectionArgs); in deleteInternal() argument
211 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
223 result = deleteInternal(db, uri, selection, selectionArgs); in delete()
320 String selection, String[] selectionArgs, String sortOrder); in queryInternal() argument
323 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
332 return queryInternal(db, uri, projection, selection, selectionArgs, sortOrder); in query()
339 String selection, String[] selectionArgs); in updateInternal() argument
342 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
353 result = updateInternal(db, uri, values, selection, selectionArgs); in update()
DEABProvider.java208 String[] selectionArgs) { in deleteInternal() argument
216 selectionArgs = new String[] {uri.getPathSegments().get(1)}; in deleteInternal()
227 printDeletingValues(uri, selection, selectionArgs); in deleteInternal()
229 return db.delete(table, selection, selectionArgs); in deleteInternal()
265 String selection, String[] selectionArgs, String sortOrder) { in queryInternal() argument
321 return qb.query(db, projection, selection, selectionArgs, groupBy, having, sortOrder); in queryInternal()
326 String selection, String[] selectionArgs) { in updateInternal() argument
357 result = db.update(table, values, selection, selectionArgs); in updateInternal()
427 String[] selectionArgs = new String[] { formattedNumber }; in verifyIfMdnExists() local
429 projection, whereClause, selectionArgs, null); in verifyIfMdnExists()
[all …]
DEABContactManager.java540 String[] selectionArgs = null; in runQuery() local
544 selectionArgs = getWhereArgsForIds(mIds); in runQuery()
573 return resolver.query(uri, projection, selection, selectionArgs, orderBy); in runQuery()
592 String[] selectionArgs = null; in toString() local
596 selectionArgs = getWhereArgsForIds(mIds); in toString()
628 sb.append("\nSelectionArgs: " + selectionArgs); in toString()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/util/
DSQLite.java113 …public static String buildWhereClause(String selection, String[] selectionArgs) throws SQLiteExcep… in buildWhereClause() argument
121 if (selectionArgs != null) { in buildWhereClause()
122 for (int x = 0; x < selectionArgs.length; x++) { in buildWhereClause()
123 if (selectionArgs[x] == null) { in buildWhereClause()
128 whereClause = whereClause.replaceFirst("\\?", "'" + selectionArgs[x] + "'"); in buildWhereClause()
/external/svox/pico/src/com/svox/pico/providers/
DSettingsProvider.java61 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
81 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
90 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
DMmsFileProvider.java41 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
54 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
60 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/provider/
DTelephonyTestProvider.java50 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
69 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
75 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
DApiProvider.java74 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
94 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
125 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
DScriptProvider.java66 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
92 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
162 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/interpreter/
DInterpreterProvider.java72 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
95 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
118 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/android/database/
DSimpleTestCursorTest.java43 assertThat(cursor.selectionArgs[0], equalTo("selection")); in doingQueryShouldMakeQueryParamsAvailable()
/external/libmojo/base/android/jni_generator/
DtestNatives.golden161 jobjectArray selectionArgs,
168 selection), JavaParamRef<jobjectArray>(env, selectionArgs),
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DContactsFacade.java351 JSONArray selectionArgs, in contactsQueryContent()
357 String[] args = jsonToArray(selectionArgs); in contactsQueryContent()
/external/robolectric/v3/runtime/
Dshadows-core-3.1-SNAPSHOT-16.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-21.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-22.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-18.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...

12