Home
last modified time | relevance | path

Searched refs:rowId (Results 1 – 25 of 54) sorted by relevance

123

/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogAdapter.java392 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/
DDbModifierWithNotification.java114 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()
DVoicemailStatusTable.java85 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()
DTransactionContext.java87 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/
DChannelUtils.java76 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/
DCalendarInstancesHelper.java144 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/
DMapper.java263 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/
DCellBroadcastListActivity.java273 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 …]
DCellBroadcastContentProvider.java305 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/
DClockDatabaseHelper.kt135 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/
DMmsProvider.java367 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/
DCustomizationManager.java230 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/
DBluetoothOppProvider.java345 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/
DDatabaseWrapper.java386 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/
DMenuView.java179 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/
DFakeTvProvider.java1633 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/
DVoicemailPlaybackPresenter.java125 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/
DTvProvider.java1479 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/
DSearchHistoryManager.java200 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/
DTvProviderForTesting.java78 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/
DEpgContract.java154 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/
DTranscodeHelperImpl.java341 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/
DUserDictionaryProvider.java247 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/
DBugleApnSettingsLoader.java164 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/
DCommonPreferenceProvider.java196 long rowId = db.insert(PREFERENCES_TABLE, null, values); in insertRow() local
197 if (rowId > 0) { in insertRow()

123