/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DbModifierWithNotification.java | 165 public int update(Uri uri, String table, ContentValues values, String whereClause, in update() argument 167 Set<String> packagesModified = getModifiedPackages(whereClause, whereArgs); in update() 179 updateLastModified(table, whereClause, whereArgs); in update() 199 int count = mDb.update(table, values, whereClause, whereArgs); in update() 249 private void updateLastModified(String table, String whereClause, String[] whereArgs) { in updateLastModified() argument 254 DbQueryUtils.concatenateClauses(NOT_DELETED_SELECTION, whereClause), in updateLastModified() 259 public int delete(String table, String whereClause, String[] whereArgs) { in delete() argument 260 Set<String> packagesModified = getModifiedPackages(whereClause, whereArgs); in delete() 277 count = mDb.update(table, values, whereClause, whereArgs); in delete() 279 count = mDb.delete(table, whereClause, whereArgs); in delete() [all …]
|
D | DatabaseModifier.java | 46 String whereClause, String[] whereArgs); in update() argument 51 public abstract int delete(String table, String whereClause, String[] whereArgs); in delete() argument
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/ |
D | DatabaseResultTask.java | 173 final String whereClause = buildSingleWordWhereClause(matchColumns); in firstWordQuery() local 177 return query(whereClause, selection, baseRank); in firstWordQuery() 189 final String whereClause = buildSingleWordWhereClause(matchColumns); in secondaryWordQuery() local 193 return query(whereClause, selection, baseRank); in secondaryWordQuery() 205 final String whereClause = buildTwoWordWhereClause(matchColumns); in anyWordQuery() local 208 return query(whereClause, selection, baseRank); in anyWordQuery() 219 private Set<SearchResult> query(String whereClause, String[] selection, int baseRank) { in query() argument 223 whereClause, in query() argument
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/ |
D | SlicesDatabaseAccessor.java | 98 final String whereClause; in getSliceKeys() local 101 whereClause = IndexColumns.PLATFORM_SLICE + " = 1"; in getSliceKeys() 103 whereClause = IndexColumns.PLATFORM_SLICE + " = 0"; in getSliceKeys() 110 try (final Cursor resultCursor = database.query(TABLE_SLICES_INDEX, columns, whereClause, in getSliceKeys() argument 127 final String whereClause = buildKeyMatchWhereClause(); in getIndexedSliceData() local 131 whereClause, selection, null /* groupBy */, null /* having */, null /* orderBy */); in getIndexedSliceData()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/ |
D | TranscriptionDbHelper.java | 89 String whereClause = in getUntranscribedVoicemails() local 99 try (Cursor cursor = contentResolver.query(uri, PROJECTION, whereClause, whereArgs, null)) { in getUntranscribedVoicemails() argument 116 String whereClause = VoicemailCompat.TRANSCRIPTION_STATE + "=?"; in getTranscribingVoicemails() local 118 try (Cursor cursor = contentResolver.query(uri, PROJECTION, whereClause, whereArgs, null)) { in getTranscribingVoicemails() argument
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SlicesDatabaseAccessor.java | 97 final String whereClause = IndexColumns.PUBLIC_SLICE + (isPublicSlice ? "=1" : "=0"); in getSliceUris() local 101 whereClause /* where */, null /* selection */, null /* groupBy */, in getSliceUris() argument 121 final String whereClause = buildKeyMatchWhereClause(); in getIndexedSliceData() local 125 whereClause, selection, null /* groupBy */, null /* having */, null /* orderBy */); in getIndexedSliceData()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapUtils.java | 248 String whereClause = Data.CONTACT_ID + "=?"; in updateSecondaryVersionCounter() local 254 fetchAndSetContacts(context, handler, dataProjection, whereClause, selectionArgs, in updateSecondaryVersionCounter() 279 .query(Data.CONTENT_URI, dataProjection, whereClause, selectionArgs, null); in updateSecondaryVersionCounter() 309 .query(Data.CONTENT_URI, dataProjection, whereClause, selectionArgs, null); in updateSecondaryVersionCounter() 410 String whereClause, String[] selectionArgs, boolean isLoad) { in fetchAndSetContacts() argument 413 .query(Data.CONTENT_URI, projection, whereClause, selectionArgs, null); in fetchAndSetContacts()
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
D | VideoList.java | 90 whereClause(), whereClauseArgs(), sortOrder()); in getBucketIds() 102 protected String whereClause() { in whereClause() method in VideoList 116 whereClause(), whereClauseArgs(), sortOrder()); in createCursor()
|
D | ImageList.java | 46 whereClause(), whereClauseArgs(), null); in getBucketIds() 71 protected String whereClause() { in whereClause() method in ImageList 91 whereClause(), whereClauseArgs(), sortOrder()); in createCursor()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | DatabaseIndexingManager.java | 271 final String whereClause = getKeyWhereClause(key); in updateDataInDatabase() local 272 database.update(TABLE_PREFS_INDEX, enabledToDisabledValue, whereClause, null); in updateDataInDatabase() 295 final String whereClause = getKeyWhereClause(key); in updateDataInDatabase() local 296 database.update(TABLE_PREFS_INDEX, disabledToEnabledValue, whereClause, null); in updateDataInDatabase()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/ |
D | VoicemailStatusQueryHelper.java | 93 String whereClause = in isFieldEqualTo() local 101 cursor = contentResolver.query(sourceUri, PROJECTION, whereClause, whereArgs, null); in isFieldEqualTo()
|
D | VoicemailsQueryHelper.java | 214 String whereClause = in isVoicemailUnique() local 222 cursor = contentResolver.query(sourceUri, PROJECTION, whereClause, whereArgs, null); in isVoicemailUnique()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | PackageReplacedReceiver.java | 100 String whereClause = Calls.TYPE + " = " + Calls.VOICEMAIL_TYPE; in doInBackground() local 102 context.getContentResolver().query(uri, PROJECTION, whereClause, null, null)) { in doInBackground() argument
|
/packages/apps/Dialer/java/com/android/dialer/calllog/database/ |
D | MutationApplier.java | 109 String whereClause = in applyToDatabaseInternal() local 120 .withSelection(whereClause, whereArgs) in applyToDatabaseInternal()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | PhotoAppWidgetProvider.java | 201 String whereClause = String.format("%s=%d", FIELD_APPWIDGET_ID, in deletePhoto() local 203 db.delete(TABLE_PHOTOS, whereClause, null); in deletePhoto()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | DatabaseWrapper.java | 358 public int delete(final String table, final String whereClause, final String[] whereArgs) { in delete() argument 366 count = mDatabase.delete(table, whereClause, whereArgs); in delete() 374 whereClause, count)); in delete()
|
D | BugleDatabaseOperations.java | 1914 final String whereClause = rowKey + "=?" + " AND (" + sb.toString() + ")"; in updateRowIfExists() local 1916 final int count = db.update(table, values, whereClause, whereValuesArray); in updateRowIfExists()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastContentProvider.java | 310 String whereClause = columnName + "=?"; in markBroadcastRead() local 313 … int rowCount = db.update(CellBroadcastDatabaseHelper.TABLE_NAME, cv, whereClause, whereArgs); in markBroadcastRead()
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | CarrierProviderTest.java | 316 String whereClause = "mcc=? and mnc=?"; in testDelete() local 318 … numRowsDeleted = mContentResolver.delete(CarrierProvider.CONTENT_URI, whereClause, whereArgs); in testDelete()
|
D | CarrierIdProviderTest.java | 229 String whereClause = CarrierId.All.MCCMNC + "=?"; in testDeleteCarrierInfo() local 232 whereClause, whereArgs); in testDeleteCarrierInfo()
|
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
D | DataModel.java | 415 public Builder setWhereClause(String whereClause) { in setWhereClause() argument 416 mWhereClause = whereClause; in setWhereClause()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/systemcalllog/ |
D | SystemCallLogDataSource.java | 491 String whereClause = (Calls._ID + " in (") + TextUtils.join(",", questionMarks) + ")"; in getIdsFromSystemCallLogThatMatch() local 504 whereClause, in getIdsFromSystemCallLogThatMatch() argument
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapContent.java | 1445 String whereClause = "_id=" + threadId; in getCanonicalAddressSms() local 1447 Log.v(TAG, "whereClause is " + whereClause); in getCanonicalAddressSms() 1450 cr = r.query(sAllThreadsUri, RECIPIENT_ID_PROJECTION, whereClause, null, null); in getCanonicalAddressSms() 1456 + "selection: " + whereClause); in getCanonicalAddressSms() 1470 whereClause = ""; in getCanonicalAddressSms() 1473 if (whereClause.length() != 0) { in getCanonicalAddressSms() 1474 whereClause += " OR "; in getCanonicalAddressSms() 1476 whereClause += "_id=" + id; in getCanonicalAddressSms() 1479 Log.v(TAG, "whereClause is " + whereClause); in getCanonicalAddressSms() 1482 cr = r.query(sAllCanonical, null, whereClause, null, null); in getCanonicalAddressSms()
|
D | BluetoothMapContentObserver.java | 2887 String whereClause = " _id= " + handle; in moveMmsToFolder() local 2889 Cursor queryResult = resolver.query(uri, null, whereClause, null, null); in moveMmsToFolder() 2897 resolver.update(uri, data, whereClause, null); in moveMmsToFolder()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadProvider.java | 498 final String whereClause = Downloads.Impl._DATA + " IS NOT NULL" in nullifyMediaStoreUris() local 507 db.update(DB_TABLE, values, whereClause, null); in nullifyMediaStoreUris()
|