Home
last modified time | relevance | path

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

12345678910>>...86

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DBaseCommands.java198 mRadioStateChangedRegistrants.remove(h); in unregisterForRadioStateChanged()
207 mImsNetworkStateChangedRegistrants.remove(h); in unregisterForImsNetworkStateChanged()
223 mOnRegistrants.remove(h); in unregisterForOn()
242 mAvailRegistrants.remove(h); in unregisterForAvailable()
260 mNotAvailRegistrants.remove(h); in unregisterForNotAvailable()
278 mOffOrNotAvailRegistrants.remove(h); in unregisterForOffOrNotAvailable()
289 mCallStateRegistrants.remove(h); in unregisterForCallStateChanged()
299 mNetworkStateRegistrants.remove(h); in unregisterForNetworkStateChanged()
309 mDataCallListChangedRegistrants.remove(h); in unregisterForDataCallListChanged()
319 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/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopModeTaskRepository.kt62 activeTasksListeners.remove(activeTasksListener) in removeActiveTasksListener()
69 visibleTasksListeners.remove(visibleTasksListener) in removeVisibleTasksListener()
91 val removed = activeTasks.remove(taskId) in removeActiveTask()
134 visibleTasks.remove(taskId) in updateVisibleFreeformTasks()
157 freeformTasksInZOrder.remove(taskId) in addOrMoveFreeformTaskToTop()
166 freeformTasksInZOrder.remove(taskId) in removeFreeformTask()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/util/
DFeatureTags.java107 registrationTags.remove(FEATURE_TAG_PRESENCE); in addFeatureTags()
114 registrationTags.remove(FEATURE_TAG_VIDEO); in addFeatureTags()
116 registrationTags.remove(FEATURE_TAG_MMTEL); in addFeatureTags()
117 registrationTags.remove(FEATURE_TAG_VIDEO); in addFeatureTags()
122 registrationTags.remove(FEATURE_TAG_CALL_COMPOSER_VIA_TELEPHONY); in addFeatureTags()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmStoreTest.java93 mAlarmStore.remove(unused -> true); in clear()
112 public void remove() { in remove() method in AlarmStoreTest
118 ArrayList<Alarm> removed = mAlarmStore.remove(a -> (a.getWhenElapsed() < 4)); in remove()
126 removed = mAlarmStore.remove(unused -> false); in remove()
130 removed = mAlarmStore.remove(unused -> true); in remove()
171 mAlarmStore.remove(a -> a.wakeup); in getNextWakeupDeliveryTime()
176 mAlarmStore.remove(unused -> true); in getNextWakeupDeliveryTime()
190 mAlarmStore.remove(unused -> true); in getNextDeliveryTime()
209 mAlarmStore.remove(a -> (a == a3) || (a == a5)); in getNextWakeFromIdle()
212 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/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/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/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/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/java/android/hardware/camera2/impl/
DFrameNumberTracker.java79 mPendingFrameNumbers[requestType].remove(); in update()
87 mPendingFrameNumbersWithOtherType[otherType].remove(); in update()
95 mPartialResults.remove(errorFrameNumber); in update()
96 iter.remove(); in update()
167 return mPartialResults.remove(frameNumber); in popPartialResults()
216 mPendingFrameNumbers[requestType].remove(); in updateCompletedFrameNumber()
260 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()
80 procSet.remove(proc); in removeProcessFromUidMap()
82 mUidMap.remove(uid); in removeProcessFromUidMap()
DEmbeddedWindowController.java76 mWindows.remove(inputToken); in add()
77 mWindowsByFocusToken.remove(focusToken); in add()
82 mWindows.remove(inputToken); in add()
120 void remove(IWindow client) { in remove() method in EmbeddedWindowController
125 mWindowsByFocusToken.remove(ew.getFocusGrantToken()); in remove()
126 mWindowsByWindowToken.remove(ew.getWindowToken()); in remove()
137 mWindowsByFocusToken.remove(ew.getFocusGrantToken()); in onWindowRemoved()
138 mWindowsByWindowToken.remove(ew.getWindowToken()); in onWindowRemoved()
/frameworks/av/media/libstagefright/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/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/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/utils/
DWatchedSparseSetArray.java93 public boolean remove(int n, T value) { in remove() method in WatchedSparseSetArray
94 if (mStorage.remove(n, value)) { in remove()
104 public void remove(int n) { in remove() method in WatchedSparseSetArray
105 mStorage.remove(n); in remove()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManager.java443 mServiceListeners.remove(l); in removeServiceListener()
591 removedProfiles.remove(mLeAudioProfile); in updateProfiles()
600 removedProfiles.remove(mHeadsetProfile); in updateProfiles()
608 removedProfiles.remove(mHfpClientProfile); in updateProfiles()
613 removedProfiles.remove(mA2dpProfile); in updateProfiles()
619 removedProfiles.remove(mA2dpSinkProfile); in updateProfiles()
624 removedProfiles.remove(mOppProfile); in updateProfiles()
630 removedProfiles.remove(mHidProfile); in updateProfiles()
636 removedProfiles.remove(mHidDeviceProfile); in updateProfiles()
644 removedProfiles.remove(mPanProfile); in updateProfiles()
[all …]
/frameworks/base/core/java/android/view/
DViewTreeObserver.java531 mOnWindowAttachListeners.remove(victim); in removeOnWindowAttachListener()
566 mOnWindowFocusListeners.remove(victim); in removeOnWindowFocusChangeListener()
609 mOnWindowVisibilityListeners.remove(victim); in removeOnWindowVisibilityChangeListener()
643 mOnGlobalFocusListeners.remove(victim); in removeOnGlobalFocusChangeListener()
694 mOnGlobalLayoutListeners.remove(victim); in removeOnGlobalLayoutListener()
728 mOnPreDrawListeners.remove(victim); in removeOnPreDrawListener()
767 mOnWindowShownListeners.remove(victim); in removeOnWindowShownListener()
823 mOnDrawListeners.remove(victim); in removeOnDrawListener()
864 return mOnFrameCommitListeners.remove(callback); in unregisterFrameCommitCallback()
898 mOnScrollChangedListeners.remove(victim); in removeOnScrollChangedListener()
[all …]
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DPackageInstallerImpl.java127 mSessionInfoMap.remove(packageName); in install()
138 mSessionInfoMap.remove(packageName); in install()
173 mOpenSessionMap.remove(packageName); in getSession()
176 mOpenSessionMap.remove(packageName); in getSession()
189 mSessionInfoMap.remove(packageName); in getSession()
194 mSessionInfoMap.remove(packageName); in getSession()
224 mSessionInfoMap.remove(packageName); in cancelSession()
237 PackageInstaller.Session session = mOpenSessionMap.remove(packageName); in closeSession()

12345678910>>...86