Home
last modified time | relevance | path

Searched refs:whereClause (Results 1 – 12 of 12) 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/src/java/com/android/internal/telephony/analytics/
DTelephonyAnalyticsUtil.java98 String table, ContentValues values, String whereClause, String[] whereArgs) { in update() argument
102 rowsAffected = db.update(table, values, whereClause, whereArgs); in update()
161 protected void deleteOverFlowData(String tableName, String whereClause) { in deleteOverFlowData() argument
163 delete(tableName, whereClause, whereArgs); in deleteOverFlowData()
166 protected void deleteOldData(String tableName, String whereClause) { in deleteOldData() argument
168 delete(tableName, whereClause, whereArgs); in deleteOldData()
173 public synchronized void delete(String tableName, String whereClause, String[] whereArgs) { in delete() argument
176 db.delete(tableName, whereClause, whereArgs); in delete()
/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/libs/systemui/iconloaderlib/src/com/android/launcher3/util/
DSQLiteCacheHelper.java39 public void delete(String whereClause, String[] whereArgs) { in delete() argument
44 mOpenHelper.getWritableDatabase().delete(mTableName, whereClause, whereArgs); in delete()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/eab/
DEabProvider.java535 String whereClause; in query() local
540 whereClause = " where " + ContactColumns.PHONE_NUMBER + "='" + phoneNumber + "' "; in query()
542 "((" + QUERY_CONTACT_TABLE + whereClause + ") AS " + EAB_CONTACT_TABLE_NAME in query()
/frameworks/base/core/java/android/app/
DDownloadManager.java1657 StringBuilder whereClause = new StringBuilder(); in getWhereClauseForIds() local
1658 whereClause.append("("); in getWhereClauseForIds()
1661 whereClause.append("OR "); in getWhereClauseForIds()
1663 whereClause.append(Downloads.Impl._ID); in getWhereClauseForIds()
1664 whereClause.append(" = ? "); in getWhereClauseForIds()
1666 whereClause.append(")"); in getWhereClauseForIds()
1667 return whereClause.toString(); in getWhereClauseForIds()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java2004 public int delete(@NonNull String table, @Nullable String whereClause, in delete() argument
2009 (!TextUtils.isEmpty(whereClause) ? " WHERE " + whereClause : ""), whereArgs); in delete()
2035 @Nullable String whereClause, @Nullable String[] whereArgs) { in update() argument
2036 return updateWithOnConflict(table, values, whereClause, whereArgs, CONFLICT_NONE); in update()
2055 @Nullable String whereClause, @Nullable String[] whereArgs, int conflictAlgorithm) { in updateWithOnConflict() argument
2084 if (!TextUtils.isEmpty(whereClause)) { in updateWithOnConflict()
2086 sql.append(whereClause); in updateWithOnConflict()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierInfoManager.java354 String whereClause = "mcc=? and mnc=? and carrier_id=?"; in deleteCarrierInfoForImsiEncryption() local
356 int count = mContentResolver.delete(Telephony.CarrierColumns.CONTENT_URI, whereClause, in deleteCarrierInfoForImsiEncryption()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/
DDatagramReceiver.java296 String whereClause = (Telephony.SatelliteDatagrams.COLUMN_UNIQUE_KEY_DATAGRAM_ID in deleteDatagram() local
300 null, whereClause, null, null)) { in deleteDatagram() argument
303 Telephony.SatelliteDatagrams.CONTENT_URI, whereClause, null); in deleteDatagram()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt28585 Landroid/media/MediaScanner$MediaBulkDeleter;->whereClause:Ljava/lang/StringBuilder;