/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 | 114 long rowId = mDb.insert(table, nullColumnHack, values); in insert() local 115 if (rowId > 0 && packagesModified.size() != 0) { in insert() 116 notifyVoicemailChangeOnInsert(ContentUris.withAppendedId(mBaseUri, rowId), in insert() 119 if (rowId > 0 && mIsCallsTable) { in insert() 122 return rowId; in insert() 131 long rowId = mInsertHelper.insert(values); in insert() local 132 if (rowId > 0 && packagesModified.size() != 0) { in insert() 134 ContentUris.withAppendedId(mBaseUri, rowId), packagesModified); in insert() 136 if (rowId > 0 && mIsCallsTable) { in insert() 139 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()
|
D | TransactionContext.java | 87 public void syncStateUpdated(long rowId, Object data) { in syncStateUpdated() argument 89 mUpdatedSyncStates.put(rowId, data); in syncStateUpdated()
|
/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/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/services/Mtp/src/com/android/mtp/ |
D | Mapper.java | 263 final long rowId; in putDocuments() local 265 rowId = database.insert(TABLE_DOCUMENTS, null, values); in putDocuments() 269 rowId = candidateCursor.getLong(0); in putDocuments() 271 mDatabase.writeRowSnapshot(String.valueOf(rowId), oldRowSnapshot); in putDocuments() 277 strings(rowId)); in putDocuments() 281 values.put(Document.COLUMN_DOCUMENT_ID, rowId); in putDocuments() 283 rootExtraValues.put(Root.COLUMN_ROOT_ID, rowId); in putDocuments() 288 mDatabase.writeRowSnapshot(String.valueOf(rowId), newRowSnapshot); in putDocuments()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastListActivity.java | 273 long rowId = cursor.getLong(cursor.getColumnIndexOrThrow( in onActivityCreated() 276 toggleSelectedItem(position, rowId); in onActivityCreated() 436 public void toggleSelectedItem(int position, long rowId) { in toggleSelectedItem() argument 440 mSelectedMessages.put(position, rowId); in toggleSelectedItem() 564 public void confirmDeleteThread(long[] rowId) { in confirmDeleteThread() argument 567 dialogArgs.putLongArray(DeleteDialogFragment.ROW_ID, rowId); in confirmDeleteThread() 581 long[] rowId = getArguments().getLongArray(ROW_ID); in onCreateDialog() local 582 boolean deleteAll = rowId[0] == -1; in onCreateDialog() 583 DeleteThreadListener listener = new DeleteThreadListener(getActivity(), rowId); in onCreateDialog() 609 public DeleteThreadListener(Context context, long[] rowId) { in DeleteThreadListener() argument [all …]
|
D | CellBroadcastContentProvider.java | 305 long rowId = db.insert(CellBroadcastDatabaseHelper.TABLE_NAME, null, cv); in insertNewBroadcast() local 306 if (rowId == -1) { in insertNewBroadcast() 323 public boolean deleteBroadcast(long rowId) { in deleteBroadcast() argument 328 new String[]{Long.toString(rowId)}); in deleteBroadcast() 332 Log.e(TAG, "failed to delete broadcast at row " + rowId); in deleteBroadcast()
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | ClockDatabaseHelper.kt | 135 val rowId: Long in fixAlarmInsert() constant 155 rowId = db.insert(ALARMS_TABLE_NAME, AlarmSettingColumns.RINGTONE, values) in fixAlarmInsert() 161 if (rowId < 0) { in fixAlarmInsert() 164 LogUtils.v("Added alarm rowId = " + rowId) in fixAlarmInsert() 166 return rowId in fixAlarmInsert()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | MmsProvider.java | 367 long rowId; in insert() local 411 if ((rowId = db.insert(table, null, finalValues)) <= 0) { in insert() 418 caseSpecificUri = ContentUris.withAppendedId(Mms.Inbox.CONTENT_URI, rowId); in insert() 421 res = Uri.parse(res + "/" + rowId); in insert() 426 if ((rowId = db.insert(table, null, finalValues)) <= 0) { in insert() 431 res = Uri.parse(res + "/addr/" + rowId); in insert() 538 if ((rowId = db.insert(table, null, finalValues)) <= 0) { in insert() 543 res = Uri.parse(res + "/part/" + rowId); in insert() 557 cv.put(Telephony.MmsSms.WordsTable.ID, (2L << 32) + rowId); in insert() 559 cv.put(Telephony.MmsSms.WordsTable.SOURCE_ROW_ID, rowId); in insert() [all …]
|
/packages/apps/TV/common/src/com/android/tv/common/customization/ |
D | CustomizationManager.java | 230 String rowId = INTENT_CATEGORY_TO_ROW_ID.get(intentCategory); in buildCustomActions() local 231 List<CustomAction> actions = mRowIdToCustomActionsMap.get(rowId); in buildCustomActions() 234 mRowIdToCustomActionsMap.put(rowId, actions); in buildCustomActions() 268 public List<CustomAction> getCustomActions(String rowId) { in getCustomActions() argument 269 return mRowIdToCustomActionsMap.get(rowId); in getCustomActions()
|
/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/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/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/apps/TV/tests/common/src/com/android/tv/testing/fakes/ |
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/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/providers/TvProvider/src/com/android/providers/tv/ |
D | TvProvider.java | 1479 long rowId = db.insert(CHANNELS_TABLE, null, values); in insertChannel() local 1480 if (rowId > 0) { in insertChannel() 1481 Uri channelUri = TvContract.buildChannelUri(rowId); in insertChannel() 1501 long rowId = db.insert(PROGRAMS_TABLE, null, values); in insertProgram() local 1502 if (rowId > 0) { in insertProgram() 1503 Uri programUri = TvContract.buildProgramUri(rowId); in insertProgram() 1522 long rowId = db.insert(WATCHED_PROGRAMS_TABLE, null, values); in insertWatchedProgram() local 1523 if (rowId > 0) { in insertWatchedProgram() 1527 return TvContract.buildWatchedProgramUri(rowId); in insertWatchedProgram() 1551 long rowId = db.insert(RECORDED_PROGRAMS_TABLE, null, values); in insertRecordedProgram() local [all …]
|
/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()
|
/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
D | TvProviderForTesting.java | 78 long rowId = db.insert(WATCHED_PROGRAMS_TABLE, null, values); in insertWatchedProgramSync() local 79 return TvContract.buildWatchedProgramUri(rowId); in insertWatchedProgramSync()
|
/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/ |
D | EpgContract.java | 154 public static final Uri buildUri(long rowId) { in buildUri() argument 155 return ContentUris.withAppendedId(CONTENT_URI, rowId); in buildUri()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | TranscodeHelperImpl.java | 341 private String getTranscodePath(long rowId) { in getTranscodePath() argument 342 return new File(mTranscodeDirectory, String.valueOf(rowId)).getAbsolutePath(); in getTranscodePath() 523 final long rowId = cacheInfo.first; in getIoPath() local 524 if (rowId == -1) { in getIoPath() 531 final String transcodePath = getTranscodePath(rowId); in getIoPath() 1072 final long rowId = cacheInfo.first; in isTranscodeFileCached() local 1073 if (rowId != -1) { in isTranscodeFileCached() 1075 boolean result = transcodePath.equalsIgnoreCase(getTranscodePath(rowId)) && in isTranscodeFileCached() 1272 public boolean deleteCachedTranscodeFile(long rowId) { in deleteCachedTranscodeFile() argument 1273 return new File(mTranscodeDirectory, String.valueOf(rowId)).delete(); in deleteCachedTranscodeFile()
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
D | UserDictionaryProvider.java | 247 long rowId = db.insert(USERDICT_TABLE_NAME, Words.WORD, values); in insert() local 248 if (rowId > 0) { in insert() 249 Uri wordUri = ContentUris.withAppendedId(UserDictionary.Words.CONTENT_URI, rowId); in insert()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | BugleApnSettingsLoader.java | 164 final long rowId, final int current) { in from() argument 177 return new DatabaseApn(apns, base, rowId, current); in from() 185 public DatabaseApn(final List<Apn> apns, final BaseApn base, final long rowId, in DatabaseApn() argument 189 mRowId = rowId; in DatabaseApn()
|
/packages/apps/TV/common/src/com/android/tv/common/ |
D | CommonPreferenceProvider.java | 196 long rowId = db.insert(PREFERENCES_TABLE, null, values); in insertRow() local 197 if (rowId > 0) { in insertRow()
|