/packages/apps/DeskClock/src/com/android/deskclock/ringtone/ |
D | RingtonePickerActivity.java | 354 final RingtoneHolder toRemove = (RingtoneHolder) items.get(mIndexOfRingtoneToRemove); in onContextItemSelected() local 359 final boolean hasPermissions = toRemove.hasPermissions(); in onContextItemSelected() 360 ConfirmRemoveCustomRingtoneDialogFragment.show(manager, toRemove.getUri(), hasPermissions); in onContextItemSelected() 427 private void removeCustomRingtone(Uri toRemove) { in removeCustomRingtone() argument 428 new RemoveCustomRingtoneTask(toRemove).execute(); in removeCustomRingtone() 440 static void show(FragmentManager manager, Uri toRemove, boolean hasPermissions) { in show() argument 446 args.putParcelable(ARG_RINGTONE_URI_TO_REMOVE, toRemove); in show() 458 final Uri toRemove = arguments.getParcelable(ARG_RINGTONE_URI_TO_REMOVE); in onCreateDialog() local 464 ((RingtonePickerActivity) getActivity()).removeCustomRingtone(toRemove); in onCreateDialog() 654 final RingtoneHolder toRemove = getRingtoneHolder(mRemoveUri); in onPostExecute() local [all …]
|
D | RingtonePickerActivity.kt | 289 val toRemove = items[mIndexOfRingtoneToRemove] as RingtoneHolder in <lambda>() constant 294 val hasPermissions = toRemove.hasPermissions() in <lambda>() 295 ConfirmRemoveCustomRingtoneDialogFragment.show(manager, toRemove.uri, hasPermissions) in <lambda>() 360 private fun removeCustomRingtone(toRemove: Uri) { in <lambda>() 361 RemoveCustomRingtoneTask(toRemove).execute() in <lambda>() 371 val toRemove = arguments.getParcelable<Uri>(ARG_RINGTONE_URI_TO_REMOVE) in <lambda>() constant 374 (activity as RingtonePickerActivity).removeCustomRingtone(toRemove!!) in <lambda>() 395 fun show(manager: FragmentManager, toRemove: Uri?, hasPermissions: Boolean) { in <lambda>() 401 args.putParcelable(ARG_RINGTONE_URI_TO_REMOVE, toRemove) in <lambda>() 567 val toRemove = getRingtoneHolder(mRemoveUri) ?: return in <lambda>() constant [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/recorder/ |
D | ScheduledProgramReaper.java | 44 List<ScheduledRecording> toRemove = new ArrayList<>(); in run() local 52 toRemove.add(r); in run() 57 toRemove.add(r); in run() 60 if (!toRemove.isEmpty()) { in run() 61 mDvrDataManager.removeScheduledRecording(ScheduledRecording.toArray(toRemove)); in run()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | NetworkFragment.java | 237 final Set<Preference> toRemove = new HashSet<>(existingCount); in updateWifiList() local 239 toRemove.add(mWifiNetworksCategory.getPreference(i)); in updateWifiList() 253 toRemove.remove(pref); in updateWifiList() 268 for (final Preference preference : toRemove) { in updateWifiList()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/ |
D | MostRecentImageSaver.java | 97 List<Long> toRemove = new ArrayList<>(); in closeOlderImages() local 101 toRemove.add(imageTimestamp); in closeOlderImages() 104 for (Long timestamp : toRemove) { in closeOlderImages()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/ |
D | ReservableTicketPool.java | 381 List<Waiter> toRemove = new ArrayList<>(); in abortWaitersOnCapacityDecrease() local 384 toRemove.add(waiter); in abortWaitersOnCapacityDecrease() 387 for (Waiter waiter : toRemove) { in abortWaitersOnCapacityDecrease()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | AppNotificationSettings.java | 254 List<Preference> toRemove = new ArrayList<>(); in onGroupBlockStateChanged() local 259 toRemove.add(pref); in onGroupBlockStateChanged() 262 for (Preference pref : toRemove) { in onGroupBlockStateChanged()
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | BaseDvrDataManager.java | 311 List<SeriesRecording> toRemove = new ArrayList<>(); in checkAndRemoveEmptySeriesRecording() local 315 toRemove.add(seriesRecording); in checkAndRemoveEmptySeriesRecording() 318 removeSeriesRecording(SeriesRecording.toArray(toRemove)); in checkAndRemoveEmptySeriesRecording()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ChannelListPreferenceController.java | 260 List<Preference> toRemove = new ArrayList<>(); in onGroupBlockStateChanged() local 265 toRemove.add(pref); in onGroupBlockStateChanged() 268 for (Preference pref : toRemove) { in onGroupBlockStateChanged()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallRecordingTonePlayer.java | 138 private void removeCall(Call toRemove) { in removeCall() argument 139 mCalls.remove(toRemove); in removeCall()
|
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/ |
D | TcpSocketTracker.java | 279 final List<Long> toRemove = new ArrayList<Long>(); in cleanupSocketInfo() local 283 toRemove.add(key); in cleanupSocketInfo() 286 for (final Long key : toRemove) { in cleanupSocketInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | GridSizeMigrationTask.java | 153 DbEntry toRemove = items.get(items.size() / 2); 157 if (entry.weight < toRemove.weight) { 158 toRemove = entry; 162 mEntryToRemove.add(toRemove.id); 163 items.remove(toRemove);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | SelectFromListWizardFragment.java | 400 ArrayList<ListItem> toRemove = new ArrayList<ListItem>(); 404 toRemove.add(oldItem); 407 for (ListItem item : toRemove) {
|