/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | CallLogAdapter.java | 392 if (viewHolder.rowId == currentlyExpandedRowId) { 580 currentlyExpandedRowId = viewHolder.rowId; in expandViewHolderActions() 827 if (currentlyExpandedRowId == views.rowId) { in bindCallLogListViewHolder() 830 loadAndRender(views, views.rowId, details, callDetailsEntries); in bindCallLogListViewHolder() 844 private boolean isHiddenRow(@Nullable String number, long rowId) { in isHiddenRow() argument 848 if (hiddenRowIds.contains(rowId)) { in isHiddenRow() 865 final long rowId, in loadAndRender() argument 902 return !isCancelled() && loadData(viewHolder, rowId, details); in loadAndRender() 909 viewHolder.callbackAction = getCallbackAction(viewHolder.rowId); in loadAndRender() 910 int currentDayGroup = getDayGroup(viewHolder.rowId); in loadAndRender() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DbModifierWithNotification.java | 106 long rowId = mDb.insert(table, nullColumnHack, values); in insert() local 107 if (rowId > 0 && packagesModified.size() != 0) { in insert() 108 notifyVoicemailChangeOnInsert(ContentUris.withAppendedId(mBaseUri, rowId), in insert() 111 if (rowId > 0 && mIsCallsTable) { in insert() 114 return rowId; in insert() 123 long rowId = mInsertHelper.insert(values); in insert() local 124 if (rowId > 0 && packagesModified.size() != 0) { in insert() 126 ContentUris.withAppendedId(mBaseUri, rowId), packagesModified); in insert() 128 if (rowId > 0 && mIsCallsTable) { in insert() 131 return rowId; in insert()
|
D | VoicemailStatusTable.java | 85 int rowId = c.getInt(0); in insert() local 87 return ContentUris.withAppendedId(uriData.getUri(), rowId); in insert() 91 long rowId = createDatabaseModifier(db).insert(mTableName, null, copiedValues); in insert() local 92 if (rowId > 0) { in insert() 93 return ContentUris.withAppendedId(uriData.getUri(), rowId); in insert()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarInstancesHelper.java | 144 private static String getEventValue(SQLiteDatabase db, long rowId, String columnName) { in getEventValue() argument 148 new String[] { String.valueOf(rowId) }); in getEventValue() 610 public void updateInstancesLocked(ContentValues values, long rowId, boolean newEvent, in updateInstancesLocked() argument 646 String.valueOf(rowId) in updateInstancesLocked() 673 updateRecurrenceInstancesLocked(values, rowId, db); in updateInstancesLocked() 693 instanceValues.put(Instances.EVENT_ID, rowId); in updateInstancesLocked() 727 private void updateRecurrenceInstancesLocked(ContentValues values, long rowId, in updateRecurrenceInstancesLocked() argument 751 originalSyncId = getEventValue(db, rowId, Events.ORIGINAL_SYNC_ID); in updateRecurrenceInstancesLocked() 765 recurrenceSyncId = getEventValue(db, rowId, Events._SYNC_ID); in updateRecurrenceInstancesLocked() 778 originalId = getEventValue(db, rowId, Events.ORIGINAL_ID); in updateRecurrenceInstancesLocked() [all …]
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/data/ |
D | ChannelUtils.java | 76 long rowId = cursor.getLong(0); in updateChannels() local 78 existingChannelsMap.put(originalNetworkId, rowId); in updateChannels() 111 Long rowId = existingChannelsMap.get(channel.originalNetworkId); in updateChannels() local 113 if (rowId == null) { in updateChannels() 122 uri = TvContract.buildChannelUri(rowId); in updateChannels() 137 Long rowId = existingChannelsMap.valueAt(i); in updateChannels() local 138 resolver.delete(TvContract.buildChannelUri(rowId), null, null); in updateChannels()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | RcsProviderUtil.java | 82 static Uri buildUriWithRowIdAppended(Uri prefix, long rowId) { in buildUriWithRowIdAppended() argument 83 if (rowId == TRANSACTION_FAILED) { in buildUriWithRowIdAppended() 86 return Uri.withAppendedPath(prefix, Long.toString(rowId)); in buildUriWithRowIdAppended() 89 static Uri returnUriAsIsIfSuccessful(Uri uri, long rowId) { in returnUriAsIsIfSuccessful() argument 90 if (rowId == TRANSACTION_FAILED) { in returnUriAsIsIfSuccessful()
|
D | RcsProviderEventHelper.java | 189 long rowId = db.insert(RCS_PARTICIPANT_EVENT_TABLE, SOURCE_PARTICIPANT_ID_COLUMN, values); in insertParticipantEvent() local 192 if (rowId == INSERTION_FAILED) { in insertParticipantEvent() 196 return rowId; in insertParticipantEvent() 223 long rowId = db.insert(RCS_THREAD_EVENT_TABLE, EVENT_ID_COLUMN, values); in insertGroupThreadEvent() local 225 if (rowId == INSERTION_FAILED) { in insertGroupThreadEvent() 229 return rowId; in insertGroupThreadEvent()
|
D | MmsProvider.java | 366 long rowId; in insert() local 410 if ((rowId = db.insert(table, null, finalValues)) <= 0) { in insert() 417 caseSpecificUri = ContentUris.withAppendedId(Mms.Inbox.CONTENT_URI, rowId); in insert() 420 res = Uri.parse(res + "/" + rowId); in insert() 425 if ((rowId = db.insert(table, null, finalValues)) <= 0) { in insert() 430 res = Uri.parse(res + "/addr/" + rowId); in insert() 533 if ((rowId = db.insert(table, null, finalValues)) <= 0) { in insert() 538 res = Uri.parse(res + "/part/" + rowId); in insert() 552 cv.put(Telephony.MmsSms.WordsTable.ID, (2L << 32) + rowId); in insert() 554 cv.put(Telephony.MmsSms.WordsTable.SOURCE_ROW_ID, rowId); in insert() [all …]
|
D | RcsProviderMessageHelper.java | 469 long rowId; in insertMessageOnThread() local 471 rowId = db.insert(RCS_MESSAGE_TABLE, MESSAGE_ID_COLUMN, values); in insertMessageOnThread() 472 if (rowId == INSERTION_FAILED) { in insertMessageOnThread() 476 subMessageTableValues.put(MESSAGE_ID_COLUMN, rowId); in insertMessageOnThread() 501 appendPath(messagePart).appendPath(Long.toString(rowId)).build(); in insertMessageOnThread() 620 long rowId = db.insert(RCS_FILE_TRANSFER_TABLE, MESSAGE_ID_COLUMN, values); in insertFileTransferToMessage() local 623 if (rowId == INSERTION_FAILED) { in insertFileTransferToMessage() 624 rowId = TRANSACTION_FAILED; in insertFileTransferToMessage() 627 return rowId; in insertFileTransferToMessage()
|
D | RcsProviderParticipantHelper.java | 262 long rowId = db.insert(RCS_PARTICIPANT_TABLE, RCS_PARTICIPANT_ID_COLUMN, contentValues); in insertParticipant() local 263 Log.e(TAG, "Inserted participant with rowId=" + rowId); in insertParticipant() 264 if (rowId < 0) { in insertParticipant() 267 return rowId; in insertParticipant() 370 Uri getParticipantInThreadUri(ContentValues values, long rowId) { in getParticipantInThreadUri() argument 381 Long.toString(rowId)).build(); in getParticipantInThreadUri()
|
D | RcsProviderThreadHelper.java | 424 long rowId = insertIntoCommonRcsThreads(db); in insertGroupThread() local 425 if (rowId == INSERTION_FAILED) { in insertGroupThread() 430 contentValues.put(RCS_THREAD_ID_COLUMN, rowId); in insertGroupThread() 435 returnValue = rowId; in insertGroupThread()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 2276 long rowId = db.insert("files", FileColumns.DATE_MODIFIED, values); in insertDirectory() local 2277 return rowId; in insertDirectory() 2600 long rowId = 0; in insertFile() local 2604 rowId = i.intValue(); in insertFile() 2677 if (rowId == 0) { in insertFile() 2713 rowId = db.insert("files", FileColumns.DATE_MODIFIED, values); in insertFile() 2716 new String[] { Long.toString(rowId) }); in insertFile() 2720 mDirectoryCache.put(path, rowId); in insertFile() 2724 return rowId; in insertFile() 2830 private void updateGenre(long rowId, String genre, String volumeName) { in updateGenre() argument [all …]
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastContentProvider.java | 200 long rowId = db.insert(CellBroadcastDatabaseHelper.TABLE_NAME, null, cv); in insertNewBroadcast() local 201 if (rowId == -1) { in insertNewBroadcast() 217 boolean deleteBroadcast(long rowId) { in deleteBroadcast() argument 222 new String[]{Long.toString(rowId)}); in deleteBroadcast() 226 Log.e(TAG, "failed to delete broadcast at row " + rowId); in deleteBroadcast()
|
D | CellBroadcastListActivity.java | 264 public void confirmDeleteThread(long rowId) { in confirmDeleteThread() argument 265 DeleteThreadListener listener = new DeleteThreadListener(rowId); in confirmDeleteThread() 266 confirmDeleteThreadDialog(listener, (rowId == -1), getActivity()); in confirmDeleteThread() 292 public DeleteThreadListener(long rowId) { in DeleteThreadListener() argument 293 mRowId = rowId; in DeleteThreadListener()
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | ClockDatabaseHelper.java | 200 long rowId = -1; in fixAlarmInsert() local 220 rowId = db.insert(ALARMS_TABLE_NAME, ClockContract.AlarmsColumns.RINGTONE, values); in fixAlarmInsert() 225 if (rowId < 0) { in fixAlarmInsert() 228 LogUtils.v("Added alarm rowId = " + rowId); in fixAlarmInsert() 230 return rowId; in fixAlarmInsert()
|
D | ClockProvider.java | 238 long rowId; in insert() local 242 rowId = mOpenHelper.fixAlarmInsert(initialValues); in insert() 245 rowId = db.insert(INSTANCES_TABLE_NAME, null, initialValues); in insert() 251 Uri uriResult = ContentUris.withAppendedId(uri, rowId); in insert()
|
/packages/apps/TV/common/src/com/android/tv/common/customization/ |
D | CustomizationManager.java | 211 String rowId = INTENT_CATEGORY_TO_ROW_ID.get(intentCategory); in buildCustomActions() local 212 List<CustomAction> actions = mRowIdToCustomActionsMap.get(rowId); in buildCustomActions() 215 mRowIdToCustomActionsMap.put(rowId, actions); in buildCustomActions() 248 public List<CustomAction> getCustomActions(String rowId) { in getCustomActions() argument 249 return mRowIdToCustomActionsMap.get(rowId); in getCustomActions()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | DatabaseWrapper.java | 386 long rowId = -1; in insert() local 388 rowId = mDatabase.insert(table, nullColumnHack, values); in insert() 396 return rowId; in insert() 406 long rowId = -1; in replace() local 408 rowId = mDatabase.replace(table, nullColumnHack, values); in replace() 416 return rowId; in replace()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | FakeTvProvider.java | 1633 long rowId = db.insert(CHANNELS_TABLE, null, values); in insertChannel() local 1634 if (rowId > 0) { in insertChannel() 1635 Uri channelUri = TvContractCompat.buildChannelUri(rowId); in insertChannel() 1655 long rowId = db.insert(PROGRAMS_TABLE, null, values); in insertProgram() local 1656 if (rowId > 0) { in insertProgram() 1657 Uri programUri = TvContractCompat.buildProgramUri(rowId); in insertProgram() 1676 long rowId = db.insert(WATCHED_PROGRAMS_TABLE, null, values); in insertWatchedProgram() local 1677 if (rowId > 0) { in insertWatchedProgram() 1678 return ContentUris.withAppendedId(WatchedPrograms.CONTENT_URI, rowId); in insertWatchedProgram() 1698 long rowId = db.insert(RECORDED_PROGRAMS_TABLE, null, values); in insertRecordedProgram() local [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppProvider.java | 345 long rowId; in update() local 363 rowId = Long.parseLong(segment); in update() 364 myWhere += " ( " + BluetoothShare._ID + " = " + rowId + " ) "; in update() 400 long rowId = Long.parseLong(segment); in delete() local 401 myWhere += " ( " + BluetoothShare._ID + " = " + rowId + " ) "; in delete()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | MenuView.java | 179 public boolean update(String rowId, boolean menuActive) { in update() argument 181 MenuRow row = getMenuRow(rowId); in update() 225 private MenuRow getMenuRow(String rowId) { in getMenuRow() argument 227 if (rowId.equals(item.getId())) { in getMenuRow()
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
D | TvProvider.java | 1394 long rowId = db.insert(CHANNELS_TABLE, null, values); in insertChannel() local 1395 if (rowId > 0) { in insertChannel() 1396 Uri channelUri = TvContract.buildChannelUri(rowId); in insertChannel() 1416 long rowId = db.insert(PROGRAMS_TABLE, null, values); in insertProgram() local 1417 if (rowId > 0) { in insertProgram() 1418 Uri programUri = TvContract.buildProgramUri(rowId); in insertProgram() 1437 long rowId = db.insert(WATCHED_PROGRAMS_TABLE, null, values); in insertWatchedProgram() local 1438 if (rowId > 0) { in insertWatchedProgram() 1442 return TvContract.buildWatchedProgramUri(rowId); in insertWatchedProgram() 1466 long rowId = db.insert(RECORDED_PROGRAMS_TABLE, null, values); in insertRecordedProgram() local [all …]
|
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/ |
D | VoicemailPlaybackPresenter.java | 125 private long rowId; field in VoicemailPlaybackPresenter 259 long rowId, in setPlaybackView() argument 263 this.rowId = rowId; in setPlaybackView() 807 onVoicemailDeletedListener.onVoicemailDeleteUndo(rowId, adapterPosition, voicemailUri); in onVoicemailDeleteUndo() 813 onVoicemailDeletedListener.onVoicemailDeletedInDatabase(rowId, voicemailUri); in onVoicemailDeletedInDatabase() 1043 void onVoicemailDeleteUndo(long rowId, int adaptorPosition, Uri uri); in onVoicemailDeleteUndo() argument 1045 void onVoicemailDeletedInDatabase(long rowId, Uri uri); in onVoicemailDeletedInDatabase() argument
|
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/cache/ |
D | IconCacheUpdateHandler.java | 155 int rowId = c.getInt(rowIndex); in updateIconsPerUser() local 161 mItemsToDelete.put(rowId, true); in updateIconsPerUser() 179 mItemsToDelete.put(rowId, false); in updateIconsPerUser() 186 mItemsToDelete.put(rowId, true); in updateIconsPerUser()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/ |
D | SearchHistoryManager.java | 200 final long rowId = mHelper.getWritableDatabase().insert( in addDatabaseData() local 202 if (rowId == -1) { in addDatabaseData() 207 mListener.onAddChangedListener(rowId); in addDatabaseData()
|