Home
last modified time | relevance | path

Searched refs:removeCallback (Results 1 – 25 of 429) sorted by relevance

12345678910>>...18

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DBatteryControllerExt.kt38 awaitClose { removeCallback(batteryCallback) } in BatteryController()
52 awaitClose { removeCallback(batteryCallback) } in isBatteryPowerSaveEnabled()
70 awaitClose { removeCallback(batteryCallback) } in getBatteryLevel()
84 awaitClose { removeCallback(batteryCallback) } in isExtremePowerSaverEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DConfigurationControllerExt.kt35 awaitClose { removeCallback(listener) } in <lambda>()
52 awaitClose { removeCallback(listener) } in <lambda>()
69 awaitClose { removeCallback(listener) } in <lambda>()
DDeviceControlsControllerImpl.kt94 removeCallback() in <lambda>()
107 override fun removeCallback() { in <lambda>() method in com.android.systemui.statusbar.policy.DeviceControlsControllerImpl
111 it.removeCallback(listingCallback) in <lambda>()
171 it.removeCallback(listingCallback) in <lambda>()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/unfold/util/
DNaturalRotationUnfoldProgressProvider.kt56 rotationChangeProvider.removeCallback(rotationListener) in <lambda>()
64 override fun removeCallback(listener: TransitionProgressListener) { in <lambda>() method
65 scopedUnfoldTransitionProgressProvider.removeCallback(listener) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java202 mHotspotController.removeCallback(mHotspotCallback); in stopListening()
203 mDataSaverController.removeCallback(mDataSaverListener); in stopListening()
204 mManagedProfileController.removeCallback(mProfileCallback); in stopListening()
210 mReduceBrightColorsController.removeCallback(mReduceBrightColorsCallback); in stopListening()
212 mCastController.removeCallback(mCastCallback); in stopListening()
213 mDeviceControlsController.removeCallback(); in stopListening()
215 mSafetyController.removeCallback(mSafetyCallback); in stopListening()
317 mHandler.post(() -> mDataSaverController.removeCallback(mDataSaverListener));
329 mHandler.post(() -> mHotspotController.removeCallback(mHotspotCallback));
343 mHandler.post(() -> mDeviceControlsController.removeCallback());
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/android/animation/
DAnimatorIsolationWorkaroundRule.kt41 addedCallbacks.forEach { super.removeCallback(it) } in tearDownAndThrowDeferred()
58 override fun removeCallback(callback: AnimationFrameCallback?) { in removeCallback() method in android.animation.AnimatorIsolationWorkaroundRule
59 super.removeCallback(callback) in removeCallback()
/frameworks/opt/net/ims/tests/src/com/android/ims/
DMmTelFeatureConnectionTest.java125 mCallbackManagerUT.removeCallback(testCallback); in testCallbackAdapter_addAndRemoveCallback()
141 mCallbackManagerUT.removeCallback(testCallback); in testCallbackAdapter_addCallbackForSubAndRemove()
193 mCallbackManagerUT.removeCallback(testCallback1); in testCallbackAdapter_removeCallbackSuccessAfterImsFeatureStateChangeToUnavailable()
202 mCallbackManagerUT.removeCallback(testCallback2); in testCallbackAdapter_removeCallbackSuccessAfterImsFeatureStateChangeToUnavailable()
217 mCallbackManagerUT.removeCallback(testCallback1); in testCallbackAdapter_removeCallbackFailedAfterBinderIsNotAlive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessMirrorHandler.kt38 mirrorController?.removeCallback(brightnessMirrorListener) in onQsPanelDettached()
42 mirrorController?.removeCallback(brightnessMirrorListener) in setController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DMediaRouterWrapper.java40 public void removeCallback(MediaRouter.Callback callback) { in removeCallback() method in MediaRouterWrapper
41 mRouter.removeCallback(callback); in removeCallback()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/statusbar/policy/
DCallbackController.java35 void removeCallback(@NonNull T listener); in removeCallback() method
54 removeCallback(listener); in observe()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DKeyguardRepository.kt367 awaitClose { keyguardStateController.removeCallback(callback) } in <lambda>()
399 awaitClose { keyguardStateController.removeCallback(callback) } in <lambda>()
432 awaitClose { keyguardStateController.removeCallback(callback) } in <lambda>()
461 awaitClose { keyguardStateController.removeCallback(callback) } in <lambda>()
511 awaitClose { dreamOverlayCallbackController.removeCallback(callback) } in <lambda>()
528 awaitClose { statusBarStateController.removeCallback(callback) } in <lambda>()
559 awaitClose { dozeTransitionListener.removeCallback(callback) } in <lambda>()
572 awaitClose { keyguardUpdateMonitor.removeCallback(callback) } in <lambda>()
600 awaitClose { statusBarStateController.removeCallback(callback) } in <lambda>()
639 awaitClose { authController.removeCallback(callback) } in <lambda>()
DDeviceEntryFingerprintAuthRepository.kt119 awaitClose { authController.removeCallback(callback) } in <lambda>()
152 awaitClose { keyguardUpdateMonitor.removeCallback(callback) } in <lambda>()
180 awaitClose { keyguardUpdateMonitor.removeCallback(callback) } in <lambda>()
288 awaitClose { keyguardUpdateMonitor.removeCallback(callback) } in <lambda>()
318 awaitClose { keyguardUpdateMonitor.removeCallback(callback) } in <lambda>()
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/util/
DScopedUnfoldTransitionProgressProvider.kt63 source?.removeCallback(this) in setSourceProvider()
124 override fun removeCallback(listener: TransitionProgressListener) { in removeCallback() method
129 source?.removeCallback(this) in destroy()
DScaleAwareTransitionProgressProvider.kt63 override fun removeCallback(listener: TransitionProgressListener) { in removeCallback() method
64 scopedUnfoldTransitionProgressProvider.removeCallback(listener) in removeCallback()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeLocationController.java59 public void removeCallback(LocationChangeCallback callback) { in removeCallback() method in FakeLocationController
60 super.removeCallback(callback); in removeCallback()
DFakeKeyguardStateController.java40 public void removeCallback(Callback callback) { in removeCallback() method in FakeKeyguardStateController
41 mCallbackController.removeCallback(callback); in removeCallback()
DFakeFlashlightController.java95 public void removeCallback(FlashlightListener listener) { in removeCallback() method in FakeFlashlightController
96 super.removeCallback(listener); in removeCallback()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCastControllerImplTest.java74 mController.removeCallback(mockCallback); in testRemoveCallback()
82 mController.removeCallback(mockCallback); in testRemoveCallbackFromEmptyList()
112 mController.removeCallback(mCallback); in testAddCallbackRemoveCallback_concurrently()
138 mController.removeCallback(this); in removeCallbackWhileIterating_doesntCrash()
DCallbackControllerTest.java78 verify(controller).removeCallback(eq(callback)); in testRemoveCallback()
93 verify(controller).removeCallback(callback); in testCallbackIsRemovedOnDestroy()
115 public void removeCallback(Object listener) { in removeCallback() method in CallbackControllerTest.Controller
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DAutoTileManagerTest.java259 inOrderHotspot.verify(mHotspotController).removeCallback(any()); in testChangeUserCallbacksStoppedAndStarted()
263 inOrderDataSaver.verify(mDataSaverController).removeCallback(any()); in testChangeUserCallbacksStoppedAndStarted()
267 inOrderManagedProfile.verify(mManagedProfileController).removeCallback(any()); in testChangeUserCallbacksStoppedAndStarted()
277 inOrderReduceBrightColors.verify(mReduceBrightColorsController).removeCallback(any()); in testChangeUserCallbacksStoppedAndStarted()
281 inOrderCast.verify(mCastController).removeCallback(any()); in testChangeUserCallbacksStoppedAndStarted()
285 inOrderDevices.verify(mDeviceControlsController).removeCallback(); in testChangeUserCallbacksStoppedAndStarted()
291 inOrderSafety.verify(mSafetyController).removeCallback(any()); in testChangeUserCallbacksStoppedAndStarted()
313 inOrderHotspot.verify(mHotspotController).removeCallback(any()); in testChangeUserSomeCallbacksNotAdded()
317 inOrderDataSaver.verify(mDataSaverController).removeCallback(any()); in testChangeUserSomeCallbacksNotAdded()
321 inOrderManagedProfile.verify(mManagedProfileController).removeCallback(any()); in testChangeUserSomeCallbacksNotAdded()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/
DTemporaryViewDisplayControllerTest.kt329 verify(configurationController, never()).removeCallback(any()) in multipleViewsWithDifferentIds_moreRecentReplacesOlder()
371 verify(configurationController).removeCallback(any()) in multipleViewsWithDifferentIds_newViewRemoved_previousViewIsDisplayed()
398 verify(configurationController, never()).removeCallback(any()) in multipleViewsWithDifferentIds_oldViewRemoved_recentViewIsDisplayed()
404 verify(configurationController).removeCallback(any()) in multipleViewsWithDifferentIds_oldViewRemoved_recentViewIsDisplayed()
426 verify(configurationController, never()).removeCallback(any()) in multipleViewsWithDifferentIds_threeDifferentViews_recentActiveViewIsDisplayed()
435 verify(configurationController, never()).removeCallback(any()) in multipleViewsWithDifferentIds_threeDifferentViews_recentActiveViewIsDisplayed()
443 verify(configurationController).removeCallback(any()) in multipleViewsWithDifferentIds_threeDifferentViews_recentActiveViewIsDisplayed()
491 verify(configurationController).removeCallback(any()) in multipleViews_mostRecentViewRemoved_otherViewsTimedOutAndNotDisplayed()
510 verify(configurationController).removeCallback(any()) in multipleViews_mostRecentViewRemoved_viewWithShortTimeLeftNotDisplayed()
545 verify(configurationController, never()).removeCallback(any()) in lowerThenHigherPriority_higherReplacesLower()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/interactor/
DUiModeNightTileDataInteractor.kt82 configurationController.removeCallback(configurationCallback) in tileData()
83 batteryController.removeCallback(batteryCallback) in tileData()
84 locationController.removeCallback(locationCallback) in tileData()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/
DQrCodeScannerKeyguardQuickAffordanceConfigTest.kt75 verify(controller).removeCallback(callbackCaptor.value) in <lambda>()
92 verify(controller).removeCallback(callbackCaptor.value) in <lambda>()
108 verify(controller).removeCallback(callbackCaptor.value) in <lambda>()
124 verify(controller).removeCallback(callbackCaptor.value) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/data/repository/
DZenModeRepository.kt56 awaitClose { zenModeController.removeCallback(callback) } in <lambda>()
70 awaitClose { zenModeController.removeCallback(callback) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/data/repository/
DPrivacyChipRepository.kt92 awaitClose { privacyItemController.removeCallback(callback) } in <lambda>()
109 awaitClose { privacyConfig.removeCallback(callback) } in <lambda>()
126 awaitClose { privacyConfig.removeCallback(callback) } in <lambda>()

12345678910>>...18