/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/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 2277 long rowId = db.insert("files", FileColumns.DATE_MODIFIED, values); in insertDirectory() local 2278 return rowId; in insertDirectory() 2601 long rowId = 0; in insertFile() local 2605 rowId = i.intValue(); in insertFile() 2678 if (rowId == 0) { in insertFile() 2714 rowId = db.insert("files", FileColumns.DATE_MODIFIED, values); in insertFile() 2717 new String[] { Long.toString(rowId) }); in insertFile() 2721 mDirectoryCache.put(path, rowId); in insertFile() 2725 return rowId; in insertFile() 2831 private void updateGenre(long rowId, String genre, String volumeName) { in updateGenre() argument [all …]
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
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 …]
|
/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()
|
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 | 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/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastContentProvider.java | 265 long rowId = db.insert(CellBroadcastDatabaseHelper.TABLE_NAME, null, cv); in insertNewBroadcast() local 266 if (rowId == -1) { in insertNewBroadcast() 282 boolean deleteBroadcast(long rowId) { in deleteBroadcast() argument 287 new String[]{Long.toString(rowId)}); in deleteBroadcast() 291 Log.e(TAG, "failed to delete broadcast at row " + rowId); in deleteBroadcast()
|
D | CellBroadcastListActivity.java | 426 public void confirmDeleteThread(long rowId) { in confirmDeleteThread() argument 427 DeleteThreadListener listener = new DeleteThreadListener(rowId); in confirmDeleteThread() 428 confirmDeleteThreadDialog(listener, (rowId == -1), getActivity()); in confirmDeleteThread() 454 public DeleteThreadListener(long rowId) { in DeleteThreadListener() argument 455 mRowId = rowId; in DeleteThreadListener()
|
/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/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/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/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/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/providers/TvProvider/src/com/android/providers/tv/ |
D | TvProvider.java | 1431 long rowId = db.insert(CHANNELS_TABLE, null, values); in insertChannel() local 1432 if (rowId > 0) { in insertChannel() 1433 Uri channelUri = TvContract.buildChannelUri(rowId); in insertChannel() 1453 long rowId = db.insert(PROGRAMS_TABLE, null, values); in insertProgram() local 1454 if (rowId > 0) { in insertProgram() 1455 Uri programUri = TvContract.buildProgramUri(rowId); in insertProgram() 1474 long rowId = db.insert(WATCHED_PROGRAMS_TABLE, null, values); in insertWatchedProgram() local 1475 if (rowId > 0) { in insertWatchedProgram() 1479 return TvContract.buildWatchedProgramUri(rowId); in insertWatchedProgram() 1503 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/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/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()
|