Home
last modified time | relevance | path

Searched refs:removeIf (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/apct-tests/perftests/core/src/android/util/
DArraySetPerfTest.java116 set.removeIf(predicate); in testRemoveIf_Small_RemoveNothing()
131 set.removeIf(predicate); in testRemoveIf_Small_RemoveAll()
146 set.removeIf(predicate); in testRemoveIf_Small_RemoveHalf()
179 set.removeIf(predicate); in testRemoveIf_Large_RemoveNothing()
194 set.removeIf(predicate); in testRemoveIf_Large_RemoveAll()
209 set.removeIf(predicate); in testRemoveIf_Large_RemoveHalf()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTests.java169 sRenderMessages.removeIf(message -> message.equals("Path.isConvex is not supported.")); in testAllWidgets()
177 sRenderMessages.removeIf( in testArrayCheck()
196 sRenderMessages.removeIf(message -> message.equals("Path.isConvex is not supported.")); in testAllWidgetsTablet()
197 … sRenderMessages.removeIf(message -> message.equals("Font$Builder.nAddAxis is not supported.")); in testAllWidgetsTablet()
828 sRenderMessages.removeIf( in testFonts()
1045 sRenderMessages.removeIf(message -> message.equals("Path.isConvex is not supported.")); in testShadowFlagsNoShadows()
1064 sRenderMessages.removeIf(message -> message.equals("Path.isConvex is not supported.")); in testRectangleShadow()
1083 sRenderMessages.removeIf(message -> message.equals("Path.isConvex is not supported.")); in testHighQualityRectangleShadow()
1101 sRenderMessages.removeIf(message -> message.equals("Path.isConvex is not supported.")); in testHighQualityRoundedEdgeRectangleShadow()
1120 sRenderMessages.removeIf(message -> message.equals("Path.isConvex is not supported.")); in testHighQualityLargeViewShadow()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDockedStackExistsListener.java78 sCallbacks.removeIf(wf -> { in onDockedStackExistsChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationInlineImageCache.java73 mCache.entrySet().removeIf(entry -> !wantedSet.contains(entry.getKey())); in purge()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverySessionStorage.java82 mSessionsByUid.get(uid).removeIf(session -> session.mSessionId.equals(sessionId)); in remove()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/
DBridgeContextTest.java83 sRenderMessages.removeIf(msg -> in basic()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DDelegateManager.java254 boolean collected = sNativeAllocations.removeIf(e -> e.mReferent.get() == null); in markAsNativeAllocation()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceManager.java179 mCachedDevices.removeIf(cachedDevice in clearNonBondedDevices()
/frameworks/base/services/backup/java/com/android/server/backup/
DTransportManager.java126 mRegisteredTransportsDescriptionMap.keySet().removeIf(fromPackageFilter(packageName)); in onPackageRemoved()
139 mRegisteredTransportsDescriptionMap.keySet().removeIf(transportComponents::contains); in onPackageChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarStateControllerImpl.java298 mListeners.removeIf((it) -> it.mListener.equals(listener)); in removeCallback()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsSubscriptionsMonitorTest.java140 mTestSubList.removeIf(it -> it == subId); in removeTestSub()
/frameworks/base/core/java/android/app/
DWallpaperColors.java179 swatches.removeIf(s -> s.getPopulation() < minColorArea); in fromBitmap()
DWallpaperManager.java339 mColorListeners.removeIf(pair -> pair.first == callback); in removeOnColorsChangedListener()
/frameworks/base/services/core/java/com/android/server/textservices/
DTextServicesManagerService.java906 mPendingSessionRequests.removeIf(removeCondition); in removeListener()
907 mOnGoingSessionRequests.removeIf(removeCondition); in removeListener()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java196 mBroadcastReceivers.removeIf(r -> r.receiver == receiver); in unregisterReceiver()
/frameworks/base/core/java/android/util/
DArraySet.java637 public boolean removeIf(Predicate<? super E> filter) { in removeIf() method in ArraySet
/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java561 uids.removeIf(uid -> mApps.getOrDefault(uid, NETWORK) == SYSTEM); in removeBypassingUids()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java135 mPinnedSlicesByUri.values().removeIf(s -> getUserIdFromUri(s.getUri()) == userId); in onStopUser()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java1859 dynamicList.removeIf((si) -> !si.isDynamic()); in verifyStates()
1862 dynamicList.removeIf((si) -> !si.isManifestShortcut()); in verifyStates()
DShortcutService.java3276 all.removeIf(PACKAGE_NOT_INSTALLED); in getInstalledPackages()
3433 resolved.removeIf(ACTIVITY_NOT_EXPORTED); in queryActivities()
/frameworks/base/core/java/android/content/res/
DResources.java1890 mThemeRefs.removeIf(ref -> ref.get() == null); in newTheme()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java703 mProviders.entrySet().removeIf(entry -> { in removeEphemeralProviders()
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java394 ret.removeIf(si -> !p.test(si)); in filter()
/frameworks/base/core/java/android/bluetooth/
DBluetoothAdapter.java3470 sMetadataListeners.get(device).removeIf((pair) -> (pair.first.equals(listener))); in removeOnMetadataChangedListener()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java1397 .removeIf(filter -> filter.slotId >= newNumSlots); in handleMsimConfigChange()

12