/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/util/ |
D | ListenerSetTest.kt | 42 assertThat(runnableSet.addIfAbsent(runnable1)).isTrue() in makeRunnableListenerSet() 46 assertThat(runnableSet.addIfAbsent(runnable2)).isTrue() in makeRunnableListenerSet() 50 assertThat(runnableSet.addIfAbsent(runnable1)).isFalse() in makeRunnableListenerSet() 61 assertThat(runnableSet.addIfAbsent(runnable)).isTrue() in isEmpty_changes() 77 assertThat(runnableSet.addIfAbsent(Runnable {})).isTrue() in size_changes() 80 assertThat(runnableSet.addIfAbsent(Runnable {})).isTrue() in size_changes() 94 assertThat(runnableSet.addIfAbsent(runnable1)).isTrue() in contains_worksAsExpected() 100 assertThat(runnableSet.addIfAbsent(runnable2)).isTrue() in contains_worksAsExpected() 124 assertThat(runnableSet.addIfAbsent(runnable1)).isTrue() in containsAll_worksAsExpected() 130 assertThat(runnableSet.addIfAbsent(runnable2)).isTrue() in containsAll_worksAsExpected() [all …]
|
D | NamedListenerSetTest.kt | 44 assertThat(runnableSet.addIfAbsent(runnable1)).isTrue() in <lambda>() 48 assertThat(runnableSet.addIfAbsent(runnable2)).isTrue() in <lambda>() 52 assertThat(runnableSet.addIfAbsent(runnable1)).isFalse() in <lambda>() 63 assertThat(runnableSet.addIfAbsent(runnable1)).isTrue() in <lambda>() 69 assertThat(runnableSet.addIfAbsent(runnable2)).isTrue() in <lambda>() 76 assertThat(runnableSet.addIfAbsent(runnable3)).isTrue() in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | ListenerSet.kt | 37 override fun addIfAbsent(element: E): Boolean = listeners.addIfAbsent(element) method in com.android.systemui.util.ListenerSet
|
D | NamedListenerSet.kt | 53 override fun addIfAbsent(element: E): Boolean = listeners.addIfAbsent(NamedListener(element)) in addIfAbsent() method in com.android.systemui.util.NamedListenerSet
|
D | IListenerSet.kt | 32 fun addIfAbsent(element: E): Boolean method
|
D | CopyOnLoopListenerSet.kt | 38 override fun addIfAbsent(element: E): Boolean = in iterator() method in com.android.systemui.util.CopyOnLoopListenerSet
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/ |
D | VisualStabilityProvider.kt | 38 allListeners.addIfAbsent(listener) in <lambda>() 45 if (allListeners.addIfAbsent(listener)) { in <lambda>()
|
D | LaunchFullScreenIntentProvider.kt | 40 listeners.addIfAbsent(listener) in registerListener()
|
D | DebugModeFilterProvider.kt | 74 listeners.addIfAbsent(listener) in registerInvalidationListener()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotifPipelineChoreographer.kt | 97 listeners.addIfAbsent(onEvalListener) in addOnEvalListener() 134 listeners.addIfAbsent(onEvalListener) in addOnEvalListener()
|
D | NotifLiveDataStoreImpl.kt | 131 syncObservers.addIfAbsent(observer) in addSyncObserver() 135 asyncObservers.addIfAbsent(observer) in addAsyncObserver()
|
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()
|
D | NotificationEntry.java | 939 mOnSensitivityChangedListeners.addIfAbsent(listener); in addOnSensitivityChangedListener()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/ |
D | BindEventManager.kt | 35 listeners.addIfAbsent(listener) in addListener()
|
D | NotifUiAdjustmentProvider.kt | 85 dirtyListeners.addIfAbsent(listener) in addDirtyListener()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/domain/interactor/ |
D | PrimaryBouncerCallbackInteractor.kt | 34 resetCallbacks.addIfAbsent(callback) in addKeyguardResetCallback()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarBoundsProvider.kt | 51 changeListeners.addIfAbsent(listener) in <lambda>()
|
D | DozeServiceHost.java | 221 mCallbacks.addIfAbsent(callback); in addCallback()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | IndividualSensorPrivacyControllerImpl.java | 119 mCallbacks.addIfAbsent(listener); in addCallback()
|
D | SensitiveNotificationProtectionControllerImpl.java | 338 mListeners.addIfAbsent(onSensitiveStateChanged); in registerSensitiveStateListener()
|
D | BaseHeadsUpManager.java | 151 mListeners.addIfAbsent(listener); in addListener()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/ |
D | KeyguardNotificationVisibilityProvider.kt | 175 onStateChangedListeners.addIfAbsent(listener) in addOnStateChangedListener()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationRemoteInputManager.java | 381 mActionPressListeners.addIfAbsent(listener); in addActionPressListener()
|
D | NotificationLockscreenUserManagerImpl.java | 795 mNotifStateChangedListeners.addIfAbsent(listener); in addNotificationStateChangedListener()
|
/frameworks/base/media/java/android/media/ |
D | MediaRouter2.java | 718 mRouteCallbackRecords.addIfAbsent(record); in registerRouteCallback() 909 if (!mTransferCallbackRecords.addIfAbsent(record)) { in registerTransferCallback() 941 if (!mControllerCallbackRecords.addIfAbsent(record)) { in registerControllerCallback()
|