Lines Matching full:rowid
364 FileEntry(long rowId, String path, long lastModified, int format) {
365 mRowId = rowId;
581 // if this file was just inserted via mtp, set the rowid to zero
916 long rowId = entry.mRowId;
917 if (MediaFile.isAudioFileType(mFileType) && (rowId == 0 || mMtpObjectHandle != 0)) {
994 // notifications, ringtones, and alarms, because the rowId of the inserted file is
1013 if (rowId == 0) {
1027 // If the rowId of the inserted file is needed, it gets inserted immediately,
1041 rowId = ContentUris.parseId(result);
1042 entry.mRowId = rowId;
1046 result = ContentUris.withAppendedId(tableUri, rowId);
1070 setRingtoneIfNotSet(Settings.System.NOTIFICATION_SOUND, tableUri, rowId);
1073 setRingtoneIfNotSet(Settings.System.RINGTONE, tableUri, rowId);
1076 setRingtoneIfNotSet(Settings.System.ALARM_ALERT, tableUri, rowId);
1091 private void setRingtoneIfNotSet(String settingName, Uri uri, long rowId) {
1100 final Uri ringtoneUri = ContentUris.withAppendedId(uri, rowId);
1202 long rowId = c.getLong(FILES_PRESCAN_ID_COLUMN_INDEX);
1206 lastId = rowId;
1226 deleter.delete(rowId);
1596 long rowId = c.getLong(FILES_PRESCAN_ID_COLUMN_INDEX);
1599 return new FileEntry(rowId, path, lastModified, format);
1637 private boolean matchEntries(long rowId, String data) {
1648 entry.bestmatchid = rowId;
1655 entry.bestmatchid = rowId;
1689 long rowId = fileList.getLong(FILES_PRESCAN_ID_COLUMN_INDEX);
1691 if (matchEntries(rowId, data)) {
1851 long rowId = entry.mRowId;
1868 if (rowId == 0) {
1871 rowId = ContentUris.parseId(uri);
1874 uri = ContentUris.withAppendedId(mPlaylistsUri, rowId);