Home
last modified time | relevance | path

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

/external/robolectric/v1/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/v1/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/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DEABContactManager.java727 StringBuilder whereClause = new StringBuilder(); in getWhereClauseForIds() local
728 whereClause.append("("); in getWhereClauseForIds()
731 whereClause.append("OR "); in getWhereClauseForIds()
733 whereClause.append(COLUMN_ID); in getWhereClauseForIds()
734 whereClause.append(" = ? "); in getWhereClauseForIds()
736 whereClause.append(")"); in getWhereClauseForIds()
737 return whereClause.toString(); in getWhereClauseForIds()
DEABProvider.java374 String whereClause = "PHONE_NUMBERS_EQUAL(" + in verifyIfMdnExists() local
378 projection, whereClause, selectionArgs, null); in verifyIfMdnExists()
/external/robolectric/v1/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()