Home
last modified time | relevance | path

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

/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java2629 Cursor oldRow = selectConflictingRow(db, in copyPreservedApnsToNewTable()
2631 if (oldRow != null) { in copyPreservedApnsToNewTable()
2633 mergeFieldsAndUpdateDb(db, CARRIERS_TABLE_TMP, oldRow, cv, in copyPreservedApnsToNewTable()
2635 oldRow.close(); in copyPreservedApnsToNewTable()
2904 Cursor oldRow = selectConflictingRow(db, CARRIERS_TABLE, row); in insertAddingDefaults()
2905 if (oldRow != null) { in insertAddingDefaults()
2908 int edited = oldRow.getInt(oldRow.getColumnIndex(EDITED_STATUS)); in insertAddingDefaults()
2923 mergeFieldsAndUpdateDb(db, CARRIERS_TABLE, oldRow, row, mergedValues, false, in insertAddingDefaults()
2929 oldRow.close(); in insertAddingDefaults()
2935 public static void mergeFieldsAndUpdateDb(SQLiteDatabase db, String table, Cursor oldRow, in mergeFieldsAndUpdateDb() argument
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/
DDatabaseBackupAndRecovery.java574 @NonNull FileRow oldRow, @NonNull FileRow newRow) { in updateNextRowIdAndSetDirty() argument
576 markBackupAsDirty(helper, oldRow); in updateNextRowIdAndSetDirty()
1109 public void updateBackup(DatabaseHelper helper, FileRow oldRow, FileRow newRow) { in updateBackup() argument
1133 if (oldRow.getPath() != null && !oldRow.getPath().equalsIgnoreCase(newPath)) { in updateBackup()
1135 deleteFromDbBackup(helper, oldRow); in updateBackup()
1136 Log.v(TAG, "Deleted backup of old file path: " + oldRow.getPath()); in updateBackup()
DMediaProvider.java1027 public void onUpdate(@NonNull DatabaseHelper helper, @NonNull FileRow oldRow,
1034 final boolean isDownload = oldRow.isDownload() || newRow.isDownload();
1035 final Uri fileUri = MediaStore.Files.getContentUri(oldRow.getVolumeName(),
1036 oldRow.getId());
1037 handleUpdatedRowForFuse(oldRow.getPath(), oldRow.getOwnerPackageName(), oldRow.getId(),
1039 handleOwnerPackageNameChange(oldRow.getPath(), oldRow.getOwnerPackageName(),
1041 acceptWithExpansion(helper::notifyUpdate, oldRow.getVolumeName(), oldRow.getId(),
1042 oldRow.getMediaType(), isDownload);
1044 mDatabaseBackupAndRecovery.updateNextRowIdAndSetDirty(helper, oldRow, newRow);
1052 if (mExternalDbFacade.onFileUpdated(oldRow.getId(),
[all …]
DDatabaseHelper.java248 void onUpdate(@NonNull DatabaseHelper helper, @NonNull FileRow oldRow, in onUpdate() argument
443 FileRow oldRow = FileRow.newBuilder(oldId) in onConfigure()
471 mFilesListener.onUpdate(DatabaseHelper.this, oldRow, newRow); in onConfigure()
/packages/apps/TV/src/com/android/tv/menu/
DMenuLayoutManager.java485 MenuRow oldRow = mMenuRows.get(oldPosition); in setSelectedPositionSmooth() local
497 if (oldRow.hideTitleWhenSelected() && oldTitleView.getVisibility() != View.VISIBLE) { in setSelectedPositionSmooth()