Home
last modified time | relevance | path

Searched refs:whereClause (Results 1 – 4 of 4) sorted by relevance

/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/
DSQLite.java56 …dBindings buildUpdateString(String table, ContentValues values, String whereClause, String[] where… in buildUpdateString() argument
66 if (whereClause != null) { in buildUpdateString()
67 String where = whereClause; in buildUpdateString()
69 where = buildWhereClause(whereClause, whereArgs); in buildUpdateString()
87 public static String buildDeleteString(String table, String whereClause, String[] whereArgs) { in buildDeleteString() argument
93 if (whereClause != null) { in buildDeleteString()
94 String where = whereClause; in buildDeleteString()
96 where = buildWhereClause(whereClause, whereArgs); in buildDeleteString()
114 String whereClause = selection; in buildWhereClause() local
128 whereClause = whereClause.replaceFirst("\\?", "'" + selectionArgs[x] + "'"); in buildWhereClause()
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
DSQLite_Test.java51 …String whereClause = buildWhereClause("id=? AND name=? AND int_value=?", new String[]{"1234", "Chu… in testBuildWhereClause() local
52 assertThat(whereClause, equalTo("id='1234' AND name='Chuck' AND int_value='33'")); in testBuildWhereClause()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowSQLiteDatabase.java154 public int update(String table, ContentValues values, String whereClause, String[] whereArgs) { in update() argument
155 … SQLStringAndBindings sqlUpdateString = buildUpdateString(table, values, whereClause, whereArgs); in update()
172 public int delete(String table, String whereClause, String[] whereArgs) { in delete() argument
173 String sql = buildDeleteString(table, whereClause, whereArgs); in delete()
/external/robolectric/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...