/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/ |
D | DeviceInfoHelper.java | 89 long rowId = getDeviceInfoMap().getOrDefault(deviceInfo, DEFAULT_LONG); in populateDeviceInfoId() local 90 if (rowId == DEFAULT_LONG) { in populateDeviceInfoId() 91 rowId = insertIfNotPresent(deviceInfo); in populateDeviceInfoId() 93 recordInternal.setDeviceInfoId(rowId); in populateDeviceInfoId() 133 long rowId = getCursorLong(cursor, RecordHelper.PRIMARY_COLUMN_NAME); in populateDeviceInfoMap() local 138 deviceInfoMap.put(deviceInfo, rowId); in populateDeviceInfoMap() 139 idDeviceInfoMap.put(rowId, deviceInfo); in populateDeviceInfoMap() 168 long rowId = in insertIfNotPresent() local 177 getDeviceInfoMap().put(deviceInfo, rowId); in insertIfNotPresent() 178 getIdDeviceInfoMap().put(rowId, deviceInfo); in insertIfNotPresent() [all …]
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/ |
D | TransactionManager.java | 690 long rowId = db.insertOrThrow(request.getTable(), null, request.getContentValues()); in insertRecord() local 692 .forEach(childRequest -> insertRecord(db, childRequest.withParentKey(rowId))); in insertRecord() 697 return rowId; in insertRecord() 708 long rowId = in insertOrIgnore() local 715 if (rowId != -1) { in insertOrIgnore() 717 .forEach(childRequest -> insertRecord(db, childRequest.withParentKey(rowId))); in insertOrIgnore() 723 return rowId; in insertOrIgnore() 806 final long rowId = StorageUtils.getCursorLong(cursor, request.getRowIdColName()); in updateRecord() local 807 deleteChildTableRequest(request, rowId, db); in updateRecord() 808 insertChildTableRequest(request, rowId, db); in updateRecord() [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/ |
D | PaginationParameters.java | 54 public PaginationParameters(int pageSize, long dateBeforeMs, int rowId) { in PaginationParameters() argument 57 mRowId = rowId; in PaginationParameters() 70 public PaginationParameters(long dateBeforeMs, int rowId) { in PaginationParameters() argument 71 this(PAGINATION_PAGE_SIZE_ITEMS, dateBeforeMs, rowId); in PaginationParameters()
|
D | CloudProviderQueryExtras.java | 87 boolean isLocalOnly, int pageSize, long dateTakenBeforeMs, int rowId, in CloudProviderQueryExtras() argument 101 mRowId = rowId; in CloudProviderQueryExtras() 132 final int rowId = bundle.getInt(QUERY_ROW_ID, INT_DEFAULT); in fromMediaStoreBundle() local 142 rowId, shouldScreenSelectionUris, localIdSelection, cloudIdSelection, pageToken); in fromMediaStoreBundle() 165 final int rowId = bundle.getInt(QUERY_ROW_ID, INT_DEFAULT); in fromCloudMediaBundle() local 177 rowId, shouldScreenSelectionUris, localIdSelection, cloudIdSelection, pageToken); in fromCloudMediaBundle()
|
/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()
|
/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/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/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/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/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/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/ |
D | DBHistogramEventData.java | 100 @Nullable Long rowId, in create() 106 .setRowId(rowId) in create() 141 public abstract Builder setRowId(Long rowId); in setRowId() argument
|
D | DBProtectedServersEncryptionConfig.java | 125 Long rowId, in create() argument 135 .setRowId(rowId) in create() 157 abstract Builder setRowId(Long rowId); in setRowId() argument
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastListActivity.java | 418 long rowId = cursor.getLong(cursor.getColumnIndex( in getSelectedItemsRowId() local 420 arr[i] = rowId; in getSelectedItemsRowId() 615 public void confirmDeleteThread(long[] rowId) { in confirmDeleteThread() argument 618 dialogArgs.putLongArray(DeleteDialogFragment.ROW_ID, rowId); in confirmDeleteThread() 632 long[] rowId = getArguments().getLongArray(ROW_ID); in onCreateDialog() local 633 boolean deleteAll = rowId[0] == -1; in onCreateDialog() 634 DeleteThreadListener listener = new DeleteThreadListener(getActivity(), rowId); in onCreateDialog() 660 public DeleteThreadListener(Context context, long[] rowId) { in DeleteThreadListener() argument 662 mRowId = rowId; in DeleteThreadListener()
|
D | CellBroadcastContentProvider.java | 312 long rowId = db.insert(CellBroadcastDatabaseHelper.TABLE_NAME, null, cv); in insertNewBroadcast() local 313 if (rowId == -1) { in insertNewBroadcast() 330 public boolean deleteBroadcast(long rowId) { in deleteBroadcast() argument 335 new String[]{Long.toString(rowId)}); in deleteBroadcast() 339 Log.e(TAG, "failed to delete broadcast at row " + rowId); in deleteBroadcast()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | MenuView.java | 181 public boolean update(String rowId, boolean menuActive) { in update() argument 183 MenuRow row = getMenuRow(rowId); in update() 232 private MenuRow getMenuRow(String rowId) { in getMenuRow() argument 234 if (rowId.equals(item.getId())) { in getMenuRow()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | MmsProvider.java | 444 long rowId; in insert() local 507 if ((rowId = db.insert(table, null, finalValues)) <= 0) { in insert() 517 caseSpecificUri = ContentUris.withAppendedId(Mms.Inbox.CONTENT_URI, rowId); in insert() 520 res = Uri.parse(res + "/" + rowId); in insert() 525 if ((rowId = db.insert(table, null, finalValues)) <= 0) { in insert() 533 res = Uri.parse(res + "/addr/" + rowId); in insert() 640 if ((rowId = db.insert(table, null, finalValues)) <= 0) { in insert() 648 res = Uri.parse(res + "/part/" + rowId); in insert() 662 cv.put(Telephony.MmsSms.WordsTable.ID, (2L << 32) + rowId); in insert() 664 cv.put(Telephony.MmsSms.WordsTable.SOURCE_ROW_ID, rowId); in insert() [all …]
|
/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/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/cache/ |
D | IconCacheUpdateHandler.java | 164 int rowId = c.getInt(rowIndex); in updateIconsPerUser() local 170 mItemsToDelete.put(rowId, true); in updateIconsPerUser() 188 mItemsToDelete.put(rowId, false); in updateIconsPerUser() 196 mItemsToDelete.put(rowId, true); in updateIconsPerUser()
|
/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/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherProvider.java | 90 int rowId = executeControllerTask(controller -> { in insert() local 130 return rowId < 0 ? null : ContentUris.withAppendedId(uri, rowId); in insert()
|
/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/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/ |
D | BluetoothOppProvider.java | 461 long rowId; in update() local 480 rowId = Long.parseLong(segment); in update() 481 myWhere += " ( " + BluetoothShare._ID + " = " + rowId + " ) "; in update() 518 long rowId = Long.parseLong(segment); in delete() local 519 myWhere += " ( " + BluetoothShare._ID + " = " + rowId + " ) "; in delete()
|
/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 …]
|