Home
last modified time | relevance | path

Searched refs:remove (Results 1 – 25 of 2188) sorted by relevance

12345678910>>...88

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DBaseCommands.java214 mRadioStateChangedRegistrants.remove(h); in unregisterForRadioStateChanged()
223 mImsNetworkStateChangedRegistrants.remove(h); in unregisterForImsNetworkStateChanged()
239 mOnRegistrants.remove(h); in unregisterForOn()
258 mAvailRegistrants.remove(h); in unregisterForAvailable()
276 mNotAvailRegistrants.remove(h); in unregisterForNotAvailable()
294 mOffOrNotAvailRegistrants.remove(h); in unregisterForOffOrNotAvailable()
305 mCallStateRegistrants.remove(h); in unregisterForCallStateChanged()
315 mNetworkStateRegistrants.remove(h); in unregisterForNetworkStateChanged()
325 mDataCallListChangedRegistrants.remove(h); in unregisterForDataCallListChanged()
335 mApnUnthrottledRegistrants.remove(h); in unregisterForApnUnthrottled()
[all …]
DBiMap.java42 public boolean remove(K key) { in remove() method in BiMap
48 mPrimaryMap.remove(key); in remove()
49 mSecondaryMap.remove(value); in remove()
59 return remove(getKey(value)); in removeValue()
/frameworks/base/core/java/com/android/internal/widget/
DDefaultItemAnimator.java130 mMovesList.remove(moves); in runPendingAnimations()
153 mChangesList.remove(changes); in runPendingAnimations()
176 mAdditionsList.remove(additions); in runPendingAnimations()
215 mRemoveAnimations.remove(holder); in animateRemoveImpl()
249 mAddAnimations.remove(holder); in animateAddImpl()
313 mMoveAnimations.remove(holder); in animateMoveImpl()
372 mChangeAnimations.remove(changeInfo.oldHolder); in animateChangeImpl()
393 mChangeAnimations.remove(changeInfo.newHolder); in animateChangeImpl()
405 infoList.remove(changeInfo); in endChangeAnimation()
448 mPendingMoves.remove(i); in endAnimation()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/
DMessageRouterImpl.java62 mIdMessageCancelers.remove(id); in cancelMessages()
76 mDataMessageCancelers.remove(messageType); in cancelMessages()
101 mSimpleMessageListenerMap.get(id).remove(listener); in unsubscribeFrom()
110 mDataMessageListenerMap.get(messageType).remove(listener); in unsubscribeFrom()
119 mSimpleMessageListenerMap.get(id).remove(listener); in unsubscribeFrom()
128 mDataMessageListenerMap.get(messageType).remove(listener); in unsubscribeFrom()
158 mIdMessageCancelers.get(id).remove(0); in onMessage()
160 mIdMessageCancelers.remove(id); in onMessage()
179 mDataMessageCancelers.get(data.getClass()).remove(0); in onMessage()
181 mDataMessageCancelers.remove(data.getClass()); in onMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/
DVisualStabilityProvider.kt28 if (temporaryListeners.remove(listener)) { in <lambda>()
29 allListeners.remove(listener) in <lambda>()
37 temporaryListeners.remove(listener) in <lambda>()
52 temporaryListeners.remove(listener) in <lambda>()
53 allListeners.remove(listener) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/pipeline/
DMediaDataCombineLatest.kt40 entries[key] = data to entries.remove(oldKey)?.second in onMediaDataLoaded()
57 remove(key) in onMediaDataRemoved()
66 entries[key] = entries.remove(oldKey)?.first to data in onMediaDeviceChanged()
75 remove(key) in onKeyRemoved()
84 fun removeListener(listener: MediaDataManager.Listener) = listeners.remove(listener) in addListener()
95 private fun remove(key: String) { in remove() method
96 entries.remove(key)?.let { in remove()
/frameworks/base/services/core/java/com/android/server/
DCircularQueue.java56 K removedKey = super.remove(); in put()
57 removedValue = mArrayMap.remove(removedKey); in put()
68 super.remove(key); in removeElement()
69 return mArrayMap.remove(key); in removeElement()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/util/
DFeatureTags.java119 registrationTags.remove(FEATURE_TAG_PRESENCE); in addFeatureTags()
126 registrationTags.remove(FEATURE_TAG_VIDEO); in addFeatureTags()
128 registrationTags.remove(FEATURE_TAG_MMTEL); in addFeatureTags()
129 registrationTags.remove(FEATURE_TAG_VIDEO); in addFeatureTags()
134 registrationTags.remove(FEATURE_TAG_CALL_COMPOSER_VIA_TELEPHONY); in addFeatureTags()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DTimeLimitedMotionEventBuffer.java54 iter.remove(); in ejectOldEvents()
66 public MotionEvent remove(int index) { in remove() method in TimeLimitedMotionEventBuffer
67 return mMotionEvents.remove(index); in remove()
118 public boolean remove(Object o) { in remove() method in TimeLimitedMotionEventBuffer
119 return mMotionEvents.remove(o); in remove()
228 public void remove() { in remove() method in TimeLimitedMotionEventBuffer.Iter
229 mIterator.remove(); in remove()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmStoreTest.java92 mAlarmStore.remove(unused -> true); in clear()
111 public void remove() { in remove() method in AlarmStoreTest
117 ArrayList<Alarm> removed = mAlarmStore.remove(a -> (a.getWhenElapsed() < 4)); in remove()
125 removed = mAlarmStore.remove(unused -> false); in remove()
129 removed = mAlarmStore.remove(unused -> true); in remove()
170 mAlarmStore.remove(a -> a.wakeup); in getNextWakeupDeliveryTime()
175 mAlarmStore.remove(unused -> true); in getNextWakeupDeliveryTime()
189 mAlarmStore.remove(unused -> true); in getNextDeliveryTime()
208 mAlarmStore.remove(a -> (a == a3) || (a == a5)); in getNextWakeFromIdle()
211 mAlarmStore.remove(a -> (a == a7)); in getNextWakeFromIdle()
[all …]
/frameworks/base/core/java/android/os/
DPackageTagsList.java348 public @NonNull Builder remove(@NonNull String packageName) { in remove() method in PackageTagsList.Builder
349 mPackageTags.remove(packageName); in remove()
361 public @NonNull Builder remove(@NonNull String packageName, in remove() method in PackageTagsList.Builder
364 if (tags != null && tags.remove(attributionTag) && tags.isEmpty()) { in remove()
365 mPackageTags.remove(packageName); in remove()
378 public @NonNull Builder remove(@NonNull String packageName, in remove() method in PackageTagsList.Builder
387 mPackageTags.remove(packageName); in remove()
400 public @NonNull Builder remove(@NonNull PackageTagsList packageTagsList) { in remove() method in PackageTagsList.Builder
401 return remove(packageTagsList.mPackageTags); in remove()
413 public @NonNull Builder remove(@NonNull Map<String, ? extends Set<String>> packageTagsMap) { in remove() method in PackageTagsList.Builder
[all …]
/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
DPhysics.kt95 fun remove(p: Body) { in solve() method
96 list.remove(p) in solve()
119 fun remove(e: Entity) = entities.remove(e) in add() method
121 fun remove(c: Constraint) = constraints.remove(c) in add() method
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/models/
DDomainVerificationStateMap.java70 remove(packageName); in put()
78 public ValueType remove(@NonNull String packageName) { in remove() method in DomainVerificationStateMap
79 ValueType valueRemoved = mPackageNameMap.remove(packageName); in remove()
90 public ValueType remove(@NonNull UUID domainSetId) { in remove() method in DomainVerificationStateMap
91 ValueType valueRemoved = mDomainSetIdMap.remove(domainSetId); in remove()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DProcLocksReaderTest.java75 assertTrue(Arrays.equals(mPids.remove(0), new int[]{18292, 18291, 18293})); in testRunBlockingLocks()
86 assertTrue(Arrays.equals(mPids.remove(0), new int[]{18292, 18291, 18293})); in testRunLastBlockingLocks()
102 assertTrue(Arrays.equals(mPids.remove(0), new int[]{18292, 18291, 18293})); in testRunMultipleBlockingLocks()
103 assertTrue(Arrays.equals(mPids.remove(0), new int[]{3840, 3841})); in testRunMultipleBlockingLocks()
104 assertTrue(Arrays.equals(mPids.remove(0), new int[]{3888, 3887})); in testRunMultipleBlockingLocks()
/frameworks/base/core/java/android/util/
DSparseSetArray.java104 public boolean remove(int n, T value) { in remove() method in SparseSetArray
109 final boolean ret = set.remove(value); in remove()
111 mData.remove(n); in remove()
119 public void remove(int n) { in remove() method in SparseSetArray
120 mData.remove(n); in remove()
/frameworks/base/core/java/android/hardware/camera2/impl/
DFrameNumberTracker.java80 mPendingFrameNumbers[requestType].remove(); in update()
88 mPendingFrameNumbersWithOtherType[otherType].remove(); in update()
96 mPartialResults.remove(errorFrameNumber); in update()
97 iter.remove(); in update()
168 return mPartialResults.remove(frameNumber); in popPartialResults()
217 mPendingFrameNumbers[requestType].remove(); in updateCompletedFrameNumber()
261 srcList.remove(); in updateCompletedFrameNumber()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowProcessControllerMap.java63 void remove(int pid) { in remove() method in WindowProcessControllerMap
67 mPidMap.remove(pid); in remove()
81 procSet.remove(proc); in removeProcessFromUidMap()
83 mUidMap.remove(uid); in removeProcessFromUidMap()
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayReferenceMapperTests.kt66 mapper.remove(target) { in <lambda>()
95 mapper.remove(overlay0) { in <lambda>()
99 mapper.remove(target) { in <lambda>()
112 mapper.remove(target) { in <lambda>()
130 mapper.remove(overlay) { in <lambda>()
153 mapper.remove(target0) { in <lambda>()
157 mapper.remove(target1) { in <lambda>()
171 mapper.remove(overlay) { in <lambda>()
191 private fun OverlayReferenceMapper.remove( in <lambda>() method in com.android.server.om.OverlayReferenceMapperTests
/frameworks/av/media/module/foundation/tests/
DAData_test.cpp304 EXPECT_FALSE(u.remove(&_unique)); in TEST_F()
313 EXPECT_FALSE(u.remove(&_unique)); in TEST_F()
324 EXPECT_TRUE(u.remove(&_unique)); in TEST_F()
331 EXPECT_TRUE(u.remove(&_unique)); in TEST_F()
342 EXPECT_TRUE(u.remove(&_unique)); in TEST_F()
353 EXPECT_FALSE(u.remove(&_unique)); in TEST_F()
369 EXPECT_FALSE(u.remove(&_unique)); in TEST_F()
389 EXPECT_FALSE(u.remove(&_unique)); in TEST_F()
415 EXPECT_FALSE(u.remove(&_unique)); in TEST_F()
428 EXPECT_FALSE(u.remove(&_unique)); in TEST_F()
[all …]
/frameworks/base/telephony/common/com/google/android/mms/util/
DPduCache.java127 mUpdating.remove(uri); in setUpdating()
169 mUpdating.remove(key); in purgeSingleEntry()
224 HashSet<Uri> msgBox = mMessageBoxes.remove(msgBoxId); in purgeByMessageBox()
227 mUpdating.remove(key); in purgeByMessageBox()
240 thread.remove(key); in removeFromThreads()
249 HashSet<Uri> thread = mThreads.remove(threadId); in purgeByThreadId()
252 mUpdating.remove(key); in purgeByThreadId()
264 msgBox.remove(key); in removeFromMessageBoxes()
/frameworks/base/core/java/android/net/
DInterfaceConfiguration.java67 mFlags.remove(flag); in clearFlag()
81 mFlags.remove(FLAG_DOWN); in setInterfaceUp()
90 mFlags.remove(FLAG_UP); in setInterfaceDown()
98 mFlags.remove(FLAG_UP); in ignoreInterfaceUpDownStatus()
99 mFlags.remove(FLAG_DOWN); in ignoreInterfaceUpDownStatus()
/frameworks/base/services/core/java/com/android/server/security/rkp/
DRemoteProvisioningRegistration.java58 mGetKeyOperations.remove(mCallback.asBinder()); in onResult()
69 mGetKeyOperations.remove(mCallback.asBinder()); in onError()
130 mGetKeyOperations.remove(callback.asBinder()); in getKey()
138 CancellationSignal cancellationSignal = mGetKeyOperations.remove(callback.asBinder()); in cancelGetKey()
162 mStoreUpgradedKeyOperations.remove(callback.asBinder()); in storeUpgradedKeyAsync()
168 mStoreUpgradedKeyOperations.remove(callback.asBinder()); in storeUpgradedKeyAsync()
175 mStoreUpgradedKeyOperations.remove(callback.asBinder()); in storeUpgradedKeyAsync()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManager.java472 mServiceListeners.remove(l); in removeServiceListener()
624 removedProfiles.remove(mLeAudioProfile); in updateProfiles()
633 removedProfiles.remove(mHeadsetProfile); in updateProfiles()
641 removedProfiles.remove(mHfpClientProfile); in updateProfiles()
646 removedProfiles.remove(mA2dpProfile); in updateProfiles()
652 removedProfiles.remove(mA2dpSinkProfile); in updateProfiles()
657 removedProfiles.remove(mOppProfile); in updateProfiles()
663 removedProfiles.remove(mHidProfile); in updateProfiles()
669 removedProfiles.remove(mHidDeviceProfile); in updateProfiles()
677 removedProfiles.remove(mPanProfile); in updateProfiles()
[all …]
/frameworks/base/services/core/java/com/android/server/location/listeners/
DPendingIntentListenerRegistration.java45 remove(); in onRegister()
60 remove(); in onOperationFailure()
72 remove(); in onCanceled()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsRestrictionsImpl.java84 mGlobalRestrictions.remove(clientToken); in setGlobalRestriction()
106 return mGlobalRestrictions.remove(clientToken) != null; in clearGlobalRestrictions()
190 changed |= mUserRestrictions.remove(clientToken) != null; in clearUserRestrictions()
191 changed |= mUserRestrictionExcludedPackageTags.remove(clientToken) != null; in clearUserRestrictions()
234 userIdRestrictedCodes.remove(userId); in clearUserRestrictions()
236 mUserRestrictions.remove(clientToken); in clearUserRestrictions()
244 userIdPackageTags.remove(userId); in clearUserRestrictions()
246 mUserRestrictionExcludedPackageTags.remove(clientToken); in clearUserRestrictions()
281 userIdRestrictedCodes.remove(userId); in putUserRestriction()
284 mUserRestrictions.remove(token); in putUserRestriction()
[all …]

12345678910>>...88