Home
last modified time | relevance | path

Searched refs:toRemove (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/buildSrc/src/main/groovy/
DExcludeUtils.groovy22 def toRemove = !regexToKeep.any { absolutePath =~ Pattern.compile(it) }
23 // To debug: println("file: ${f.getName()} to remove: ${toRemove}")
24 return toRemove
43 def toRemove = regexToExclude.any { absolutePath =~ Pattern.compile(it) }
44 // To debug: println("file: ${f.getName()} to remove: ${toRemove}")
45 return toRemove
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DScheduledProgramReaper.java44 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/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/updateprocessors/
DRemoveTest.java81 DBProtectedSignal toRemove = createSignal(KEY_1, VALUE_1, ID_1, NOW); in testRemoveSinglePresent() local
82 existingSignals.put(BB_KEY_1, new HashSet<>(Arrays.asList(toRemove))); in testRemoveSinglePresent()
87 assertEquals(Arrays.asList(toRemove), output.getToRemove()); in testRemoveSinglePresent()
97 DBProtectedSignal toRemove = createSignal(KEY_1, VALUE_1, ID_1, NOW); in testRemoveMultiplePresent() local
98 existingSignals.put(BB_KEY_1, new HashSet<>(Arrays.asList(toRemove))); in testRemoveMultiplePresent()
103 assertEquals(Arrays.asList(toRemove), output.getToRemove()); in testRemoveMultiplePresent()
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/
DRingtonePickerActivity.kt290 val toRemove = items!![mIndexOfRingtoneToRemove] as RingtoneHolder in <lambda>() constant
295 val hasPermissions = toRemove.hasPermissions() in <lambda>()
296 ConfirmRemoveCustomRingtoneDialogFragment.show(manager, toRemove.uri, hasPermissions) in <lambda>()
361 private fun removeCustomRingtone(toRemove: Uri) { in <lambda>()
362 RemoveCustomRingtoneTask(toRemove).execute() in <lambda>()
372 val toRemove = arguments.getParcelable<Uri>(ARG_RINGTONE_URI_TO_REMOVE) in <lambda>() constant
375 (activity as RingtonePickerActivity).removeCustomRingtone(toRemove!!) in <lambda>()
396 fun show(manager: FragmentManager, toRemove: Uri?, hasPermissions: Boolean) { in <lambda>()
402 args.putParcelable(ARG_RINGTONE_URI_TO_REMOVE, toRemove) in <lambda>()
568 val toRemove = getRingtoneHolder(mRemoveUri) ?: return in <lambda>() constant
[all …]
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/data/
DFakeEventStorage.kt45 val toRemove = mutableListOf<T>() in removeEventsForPackage() constant
48 toRemove.add(event) in removeEventsForPackage()
51 events.removeAll(toRemove) in removeEventsForPackage()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DSmartUpdateMediatorLiveData.kt176 val (toAdd, toRemove) = KotlinUtils.getMapAndListDifferences(desired, have) in <lambda>() constant
181 val removed = toRemove.map { have.remove(it) }.toMutableList() in <lambda>()
185 for (key in toRemove) { in <lambda>()
208 return toAdd to toRemove in <lambda>()
DAutoRevokedPackagesLiveData.kt87 val (toAdd, toRemove) = in <lambda>() constant
90 for (packagePermGroup in toRemove) { in <lambda>()
99 if (toRemove.isNotEmpty()) { in <lambda>()
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
DMostRecentImageSaver.java97 List<Long> toRemove = new ArrayList<>(); in closeOlderImages() local
101 toRemove.add(imageTimestamp); in closeOlderImages()
104 for (Long timestamp : toRemove) { in closeOlderImages()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DManagePermissionsFragment.java102 List<Preference> toRemove = new ArrayList<>(); in updatePermissionsUi() local
106 toRemove.add(group); in updatePermissionsUi()
110 for (Preference pref: toRemove) { in updatePermissionsUi()
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamsProgressCategoryPreference.java71 for (var toRemove : streams) { in removeAudioStreamPreferences()
72 removePreference(toRemove); in removeAudioStreamPreferences()
DAudioStreamsProgressCategoryController.java306 var toRemove = mBroadcastIdToPreferenceMap.remove(broadcastId); in handleSourceLost() local
307 if (toRemove != null) { in handleSourceLost()
311 mCategoryPreference.removePreference(toRemove); in handleSourceLost()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/
DReservableTicketPool.java381 List<Waiter> toRemove = new ArrayList<>(); in abortWaitersOnCapacityDecrease() local
384 toRemove.add(waiter); in abortWaitersOnCapacityDecrease()
387 for (Waiter waiter : toRemove) { in abortWaitersOnCapacityDecrease()
/packages/modules/StatsD/statsd/src/state/
DStateManager.cpp69 sp<StateTracker> toRemove; in unregisterListener() local
78 toRemove = it->second; in unregisterListener()
/packages/apps/Launcher3/src/com/android/launcher3/
DBaseActivity.java340 protected void removeActivityFlags(int toRemove) { in removeActivityFlags() argument
342 mActivityFlags &= ~toRemove; in removeActivityFlags()
348 onActivityFlagsChanged(toRemove); in removeActivityFlags()
/packages/apps/TV/src/com/android/tv/dvr/
DBaseDvrDataManager.java311 List<SeriesRecording> toRemove = new ArrayList<>(); in checkAndRemoveEmptySeriesRecording() local
315 toRemove.add(seriesRecording); in checkAndRemoveEmptySeriesRecording()
318 removeSeriesRecording(SeriesRecording.toArray(toRemove)); in checkAndRemoveEmptySeriesRecording()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DNetworkFragment.java395 final Set<Preference> toRemove = new HashSet<>(existingCount); in updateWifiList() local
397 toRemove.add(mWifiNetworksCategory.getPreference(i)); in updateWifiList()
423 toRemove.remove(restrictedPref.getPreference()); in updateWifiList()
465 for (final Preference preference : toRemove) { in updateWifiList()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallRecordingTonePlayer.java191 private void removeCall(Call toRemove) { in removeCall() argument
192 mCalls.remove(toRemove); in removeCall()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/
DUpdateProcessingOrchestratorTest.java225 DBProtectedSignal toRemove = createSignal(KEY_1, VALUE, 123L); in testUpdatesProcessorSingleRemove() local
231 .thenReturn(Arrays.asList(toRemove, toKeep)); in testUpdatesProcessorSingleRemove()
234 toReturn.getToRemove().add(toRemove); in testUpdatesProcessorSingleRemove()
243 .insertAndDelete(ADTECH, NOW, Collections.emptyList(), Arrays.asList(toRemove)); in testUpdatesProcessorSingleRemove()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectFromListWizardFragment.java399 ArrayList<ListItem> toRemove = new ArrayList<ListItem>();
403 toRemove.add(oldItem);
406 for (ListItem item : toRemove) {
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
DTcpSocketTracker.java423 final List<Long> toRemove = new ArrayList<Long>(); in cleanupSocketInfo() local
427 toRemove.add(key); in cleanupSocketInfo()
430 for (final Long key : toRemove) { in cleanupSocketInfo()
/packages/modules/Connectivity/framework/src/android/net/
DLinkProperties.java327 public boolean removeLinkAddress(@NonNull LinkAddress toRemove) { in removeLinkAddress() argument
328 int i = findLinkAddressIndex(toRemove); in removeLinkAddress()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java1801 ArrayList<String> toRemove = new ArrayList<>(); in refreshCodec() local
1802 toRemove.add(Connection.EXTRA_AUDIO_CODEC_BITRATE_KBPS); in refreshCodec()
1803 toRemove.add(Connection.EXTRA_AUDIO_CODEC_BANDWIDTH_KHZ); in refreshCodec()
1804 removeTelephonyExtras(toRemove); in refreshCodec()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java8509 final ArrayList<NetworkOfferInfo> toRemove = new ArrayList<>();
8513 toRemove.add(noi);
8516 for (final NetworkOfferInfo noi : toRemove) {
10084 final ArraySet<Integer> toRemove = new ArraySet<>(prevUids);
10086 toRemove.removeAll(newUids);
10095 if (!toRemove.isEmpty()) {
10098 intsToUidRangeStableParcels(toRemove),
/packages/apps/TV/libs/m2/
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...

12