/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
H A D | ListenerSetTest.kt | 42 assertThat(runnableSet.addIfAbsent(runnable1)).isTrue() 46 assertThat(runnableSet.addIfAbsent(runnable2)).isTrue() 50 assertThat(runnableSet.addIfAbsent(runnable1)).isFalse() 61 assertThat(runnableSet.addIfAbsent(runnable)).isTrue() 149 runnableSet.addIfAbsent(runnable1) 150 runnableSet.addIfAbsent(runnable2) 181 runnableSet.addIfAbsent(runnable1) 182 runnableSet.addIfAbsent(runnable2) 202 runnableSet.addIfAbsent(runnable99) 209 runnableSet.addIfAbsent(runnable1) [all …]
|
H A D | NamedListenerSetTest.kt | 44 assertThat(runnableSet.addIfAbsent(runnable1)).isTrue() 48 assertThat(runnableSet.addIfAbsent(runnable2)).isTrue() 52 assertThat(runnableSet.addIfAbsent(runnable1)).isFalse() 63 assertThat(runnableSet.addIfAbsent(runnable1)).isTrue() 69 assertThat(runnableSet.addIfAbsent(runnable2)).isTrue() 76 assertThat(runnableSet.addIfAbsent(runnable3)).isTrue()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
H A D | ListenerSet.kt | 37 override fun addIfAbsent(element: E): Boolean = listeners.addIfAbsent(element)
|
H A D | NamedListenerSet.kt | 52 override fun addIfAbsent(element: E): Boolean = listeners.addIfAbsent(NamedListener(element))
|
H A D | IListenerSet.kt | 32 fun addIfAbsent(element: E): Boolean regex
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/ |
H A D | VisualStabilityProvider.kt | 38 allListeners.addIfAbsent(listener) 45 if (allListeners.addIfAbsent(listener)) {
|
H A D | LaunchFullScreenIntentProvider.kt | 40 listeners.addIfAbsent(listener)
|
H A D | DebugModeFilterProvider.kt | 71 listeners.addIfAbsent(listener)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
H A D | NotifPipelineChoreographer.kt | 97 listeners.addIfAbsent(onEvalListener) 134 listeners.addIfAbsent(onEvalListener)
|
H A D | NotifLiveDataStoreImpl.kt | 131 syncObservers.addIfAbsent(observer) 135 asyncObservers.addIfAbsent(observer)
|
H A D | ShadeListBuilder.java | 188 mOnBeforeTransformGroupsListeners.addIfAbsent(listener); in addOnBeforeTransformGroupsListener() 195 mOnBeforeSortListeners.addIfAbsent(listener); in addOnBeforeSortListener() 202 mOnBeforeFinalizeFilterListeners.addIfAbsent(listener); in addOnBeforeFinalizeFilterListener() 209 mOnBeforeRenderListListeners.addIfAbsent(listener); in addOnBeforeRenderListListener()
|
H A D | NotificationEntry.java | 935 mOnSensitivityChangedListeners.addIfAbsent(listener); in addOnSensitivityChangedListener()
|
H A D | NotifCollection.java | 241 mNotifCollectionListeners.addIfAbsent(listener); in addCollectionListener()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/ |
H A D | BindEventManager.kt | 35 listeners.addIfAbsent(listener)
|
H A D | NotifUiAdjustmentProvider.kt | 74 dirtyListeners.addIfAbsent(listener)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/domain/interactor/ |
H A D | PrimaryBouncerCallbackInteractor.kt | 34 resetCallbacks.addIfAbsent(callback)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
H A D | ShadeExpansionStateManager.kt | 96 shadeStateEventsListeners.addIfAbsent(listener)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/ |
H A D | KeyguardNotificationVisibilityProvider.kt | 157 onStateChangedListeners.addIfAbsent(listener)
|
/aosp14/frameworks/base/media/java/android/media/ |
H A D | MediaRouter2.java | 396 mRouteCallbackRecords.addIfAbsent(record); in registerRouteCallback() 597 if (!mTransferCallbackRecords.addIfAbsent(record)) { in registerTransferCallback() 631 if (!mControllerCallbackRecords.addIfAbsent(record)) { in registerControllerCallback()
|
H A D | MediaRouter2Manager.java | 142 if (!mCallbackRecords.addIfAbsent(callbackRecord)) { in registerCallback()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | HeadsUpManager.java | 124 mListeners.addIfAbsent(listener); in addListener()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationLockscreenUserManagerImpl.java | 628 mNotifStateChangedListeners.addIfAbsent(listener); in addNotificationStateChangedListener()
|
H A D | NotificationRemoteInputManager.java | 352 mActionPressListeners.addIfAbsent(listener); in addActionPressListener()
|
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/ |
H A D | InputMethodManagerService.java | 5806 mInputMethodListListeners.addIfAbsent(listener); in registerInputMethodListListener()
|
/aosp14/frameworks/base/config/ |
H A D | boot-image-profile.txt | 29536 HSPLjava/util/concurrent/CopyOnWriteArrayList;->addIfAbsent(Ljava/lang/Object;)Z 29537 HSPLjava/util/concurrent/CopyOnWriteArrayList;->addIfAbsent(Ljava/lang/Object;[Ljava/lang/Object;)Z
|