Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/provider/
DBrowser.java276 StringBuilder whereClause = null; in getVisitedLike() local
278 whereClause = new StringBuilder(Bookmarks.URL + " = "); in getVisitedLike()
279 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike()
281 addOrUrlEquals(whereClause); in getVisitedLike()
282 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike()
285 whereClause = new StringBuilder(Bookmarks.URL + " = "); in getVisitedLike()
286 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike()
288 addOrUrlEquals(whereClause); in getVisitedLike()
290 DatabaseUtils.appendEscapedSQLString(whereClause, in getVisitedLike()
292 addOrUrlEquals(whereClause); in getVisitedLike()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DFakeProviderWithAsserts.java48 ExpectedQuery(Uri uri, String[] projection, String whereClause, String[] whereArgs, in ExpectedQuery() argument
52 mWhereClause = whereClause; in ExpectedQuery()
78 ExpectedUpdate(Uri uri, String whereClause, String[] whereArgs, in ExpectedUpdate() argument
81 mWhereClause = whereClause; in ExpectedUpdate()
102 public Cursor query(Uri uri, String[] projection, String whereClause, String[] whereArgs, in query() argument
107 assertThat(whereClause).isEqualTo(expectedQuery.mWhereClause); in query()
122 public int update(Uri uri, ContentValues contentValues, String whereClause, in update() argument
127 assertThat(whereClause).isEqualTo(expectedUpdate.mWhereClause); in update()
/frameworks/base/core/java/android/content/
DSearchRecentSuggestionsProvider.java366 StringBuilder whereClause = new StringBuilder(256); in query() local
368 whereClause.append("(_id = ").append(uri.getPathSegments().get(1)).append(")"); in query()
373 if (whereClause.length() > 0) { in query()
374 whereClause.append(" AND "); in query()
377 whereClause.append('('); in query()
378 whereClause.append(selection); in query()
379 whereClause.append(')'); in query()
383 Cursor c = db.query(base, useProjection, whereClause.toString(), in query()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java1621 public int delete(String table, String whereClause, String[] whereArgs) { in delete() argument
1625 (!TextUtils.isEmpty(whereClause) ? " WHERE " + whereClause : ""), whereArgs); in delete()
1649 public int update(String table, ContentValues values, String whereClause, String[] whereArgs) { in update() argument
1650 return updateWithOnConflict(table, values, whereClause, whereArgs, CONFLICT_NONE); in update()
1668 String whereClause, String[] whereArgs, int conflictAlgorithm) { in updateWithOnConflict() argument
1697 if (!TextUtils.isEmpty(whereClause)) { in updateWithOnConflict()
1699 sql.append(whereClause); in updateWithOnConflict()
/frameworks/base/core/java/android/app/
DDownloadManager.java1560 StringBuilder whereClause = new StringBuilder();
1561 whereClause.append("(");
1564 whereClause.append("OR ");
1566 whereClause.append(Downloads.Impl._ID);
1567 whereClause.append(" = ? ");
1569 whereClause.append(")");
1570 return whereClause.toString();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierInfoManager.java225 String whereClause = "mcc=? and mnc=?"; in deleteCarrierInfoForImsiEncryption() local
227 mContentResolver.delete(Telephony.CarrierColumns.CONTENT_URI, whereClause, whereArgs); in deleteCarrierInfoForImsiEncryption()
DSubscriptionController.java1012 StringBuilder whereClause = new StringBuilder(); in getSubscriptionInfoListForEmbeddedSubscriptionUpdate() local
1013 whereClause.append("(").append(SubscriptionManager.IS_EMBEDDED).append("=1"); in getSubscriptionInfoListForEmbeddedSubscriptionUpdate()
1018 whereClause.append(" AND ").append(SubscriptionManager.IS_REMOVABLE).append("=1"); in getSubscriptionInfoListForEmbeddedSubscriptionUpdate()
1023 whereClause.append(") OR ").append(SubscriptionManager.ICC_ID).append(" IN ("); in getSubscriptionInfoListForEmbeddedSubscriptionUpdate()
1028 whereClause.append(","); in getSubscriptionInfoListForEmbeddedSubscriptionUpdate()
1030 whereClause.append("\"").append(embeddedIccids[i]).append("\""); in getSubscriptionInfoListForEmbeddedSubscriptionUpdate()
1032 whereClause.append(")"); in getSubscriptionInfoListForEmbeddedSubscriptionUpdate()
1034 List<SubscriptionInfo> list = getSubInfo(whereClause.toString(), null); in getSubscriptionInfoListForEmbeddedSubscriptionUpdate()
DSubscriptionInfoUpdater.java1012 String whereClause = SubscriptionManager.ICC_ID + " IN (" in updateEmbeddedSubscriptionsCache() local
1017 contentResolver.update(SubscriptionManager.CONTENT_URI, values, whereClause, null); in updateEmbeddedSubscriptionsCache()
/frameworks/base/media/java/android/media/
DMediaScanner.java1360 StringBuilder whereClause = new StringBuilder();
1371 if (whereClause.length() != 0) {
1372 whereClause.append(",");
1374 whereClause.append("?");
1387 whereClause.toString() + ")", foo);
1389 whereClause.setLength(0);
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt38714 Landroid/media/MediaScanner$MediaBulkDeleter;->whereClause:Ljava/lang/StringBuilder;