Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/provider/
DBrowser.java274 StringBuilder whereClause = null; in getVisitedLike() local
276 whereClause = new StringBuilder(Bookmarks.URL + " = "); in getVisitedLike()
277 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike()
279 addOrUrlEquals(whereClause); in getVisitedLike()
280 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike()
283 whereClause = new StringBuilder(Bookmarks.URL + " = "); in getVisitedLike()
284 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike()
286 addOrUrlEquals(whereClause); in getVisitedLike()
288 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike()
290 addOrUrlEquals(whereClause); in getVisitedLike()
[all …]
/frameworks/base/core/java/android/content/
DSearchRecentSuggestionsProvider.java364 StringBuilder whereClause = new StringBuilder(256); in query() local
366 whereClause.append("(_id = ").append(uri.getPathSegments().get(1)).append(")"); in query()
371 if (whereClause.length() > 0) { in query()
372 whereClause.append(" AND "); in query()
375 whereClause.append('('); in query()
376 whereClause.append(selection); in query()
377 whereClause.append(')'); in query()
381 Cursor c = db.query(base, useProjection, whereClause.toString(), in query()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java1491 public int delete(String table, String whereClause, String[] whereArgs) { in delete() argument
1495 (!TextUtils.isEmpty(whereClause) ? " WHERE " + whereClause : ""), whereArgs); in delete()
1519 public int update(String table, ContentValues values, String whereClause, String[] whereArgs) { in update() argument
1520 return updateWithOnConflict(table, values, whereClause, whereArgs, CONFLICT_NONE); in update()
1538 String whereClause, String[] whereArgs, int conflictAlgorithm) { in updateWithOnConflict() argument
1567 if (!TextUtils.isEmpty(whereClause)) { in updateWithOnConflict()
1569 sql.append(whereClause); in updateWithOnConflict()
/frameworks/base/core/java/android/app/
DDownloadManager.java1262 StringBuilder whereClause = new StringBuilder(); in getWhereClauseForIds() local
1263 whereClause.append("("); in getWhereClauseForIds()
1266 whereClause.append("OR "); in getWhereClauseForIds()
1268 whereClause.append(Downloads.Impl._ID); in getWhereClauseForIds()
1269 whereClause.append(" = ? "); in getWhereClauseForIds()
1271 whereClause.append(")"); in getWhereClauseForIds()
1272 return whereClause.toString(); in getWhereClauseForIds()
/frameworks/base/media/java/android/media/
DMediaScanner.java1231 StringBuilder whereClause = new StringBuilder();
1244 if (whereClause.length() != 0) {
1245 whereClause.append(",");
1247 whereClause.append("?");
1260 whereClause.toString() + ")", foo);
1262 whereClause.setLength(0);