Home
last modified time | relevance | path

Searched refs:removeObserver (Results 1 – 25 of 59) sorted by relevance

123

/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSlicePreferenceControllerTest.java86 verify(mLiveData).removeObserver(mController); in onStop_unregisterObserver()
93 public void removeObserver(@NonNull Observer<? super Slice> observer) { in onStop_unregisterObserverAndHasSecurityException_noCrash()
94 super.removeObserver(observer); in onStop_unregisterObserverAndHasSecurityException_noCrash()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DCheckLifecycleRegistry.kt35 override fun removeObserver(observer: LifecycleObserver) { in removeObserver() method
39 synchronized(observerLock) { super.removeObserver(observer) } in removeObserver()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/view/
DFingerprintEnrollEnrollingUdfpsFragment.kt284 rotationViewModel.liveData.removeObserver(rotationObserver) in <lambda>()
300 progressViewModel.errorMessageLiveData.removeObserver(errorMessageObserver) in <lambda>()
301 progressViewModel.progressLiveData.removeObserver(progressObserver) in <lambda>()
302 progressViewModel.helpMessageLiveData.removeObserver(helpMessageObserver) in <lambda>()
303 progressViewModel.acquireLiveData.removeObserver(acquireObserver) in <lambda>()
304 progressViewModel.pointerDownLiveData.removeObserver(pointerDownObserver) in <lambda>()
305 progressViewModel.pointerUpLiveData.removeObserver(pointerUpObserver) in <lambda>()
579 progressViewModel.canceledSignalLiveData.removeObserver(canceledSignalObserver) in <lambda>()
DFingerprintEnrollFindSfpsFragment.kt162 rotationViewModel.liveData.removeObserver(rotationObserver) in <lambda>()
177 progressViewModel.errorMessageLiveData.removeObserver(errorMessageObserver) in <lambda>()
178 progressViewModel.progressLiveData.removeObserver(progressObserver) in <lambda>()
234 progressViewModel.canceledSignalLiveData.removeObserver(canceledSignalObserver) in <lambda>()
DFingerprintEnrollFindRfpsFragment.kt192 progressViewModel.progressLiveData.removeObserver(progressObserver) in <lambda>()
193 progressViewModel.helpMessageLiveData.removeObserver(errorMessageObserver) in <lambda>()
239 progressViewModel.canceledSignalLiveData.removeObserver(canceledSignalObserver) in <lambda>()
DFingerprintEnrollEnrollingRfpsFragment.kt259 progressViewModel.errorMessageLiveData.removeObserver(errorMessageObserver) in <lambda>()
260 progressViewModel.progressLiveData.removeObserver(progressObserver) in <lambda>()
261 progressViewModel.helpMessageLiveData.removeObserver(helpMessageObserver) in <lambda>()
318 progressViewModel.canceledSignalLiveData.removeObserver(canceledSignalObserver) in <lambda>()
DFingerprintEnrollEnrollingSfpsFragment.kt274 progressViewModel.errorMessageLiveData.removeObserver(errorMessageObserver) in <lambda>()
275 progressViewModel.progressLiveData.removeObserver(progressObserver) in <lambda>()
276 progressViewModel.helpMessageLiveData.removeObserver(helpMessageObserver) in <lambda>()
359 progressViewModel.canceledSignalLiveData.removeObserver(canceledSignalObserver) in <lambda>()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedViewModel.java81 mWifiHotspotRepository.get6gAvailable().removeObserver(m6gAvailableObserver); in onCleared()
82 mWifiHotspotRepository.get5gAvailable().removeObserver(m5gAvailableObserver); in onCleared()
83 mWifiHotspotRepository.getSpeedType().removeObserver(mSpeedTypeObserver); in onCleared()
DWifiTetherViewModel.java109 mWifiHotspotRepository.getSecurityType().removeObserver(mSecurityTypeObserver); in onCleared()
112 mWifiHotspotRepository.getSpeedType().removeObserver(mSpeedTypeObserver); in onCleared()
116 .removeObserver(mInstantHotspotStateObserver); in onCleared()
DWifiHotspotSecurityViewModel.java76 mWifiHotspotRepository.getSecurityType().removeObserver(mSecurityTypeObserver); in onCleared()
77 mWifiHotspotRepository.getSpeedType().removeObserver(mSpeedTypeObserver); in onCleared()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DWifiTetherViewModelTest.java107 verify(mSecurityType).removeObserver(mViewModel.mSecurityTypeObserver); in onCleared_removeObservers()
108 verify(mSpeedType).removeObserver(mViewModel.mSpeedTypeObserver); in onCleared_removeObservers()
109 verify(mSettingsState).removeObserver(mViewModel.mInstantHotspotStateObserver); in onCleared_removeObservers()
DWifiHotspotSecurityViewModelTest.java95 verify(mSecurityType).removeObserver(mViewModel.mSecurityTypeObserver); in onCleared_removeObserverData()
96 verify(mSpeedType).removeObserver(mViewModel.mSpeedTypeObserver); in onCleared_removeObserverData()
DWifiHotspotSpeedViewModelTest.java121 verify(mSpeedType).removeObserver(mViewModel.mSpeedTypeObserver); in onCleared_removeObserverData()
122 verify(m5gAvailable).removeObserver(mViewModel.m5gAvailableObserver); in onCleared_removeObserverData()
123 verify(m6gAvailable).removeObserver(mViewModel.m6gAvailableObserver); in onCleared_removeObserverData()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/statusicon/ui/
DStatusBarSensorInfoController.java102 mSensorStringLiveData.removeObserver(mSensorStringObserver); in onViewDetached()
103 mSensorAvailabilityData.removeObserver(mSensorAvailabilityObserver); in onViewDetached()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DSelectedMediaPreloader.java130 preloader.mIsFinishedLiveData.removeObserver(this); in preload()
140 preloader.mFinishedCountLiveData.removeObserver(this); in preload()
155 mIsPreloadingCancelledLiveData.removeObserver(this); in preload()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/homescreen/audio/
DMediaViewModel.java191 mSourceViewModel.getPrimaryMediaSource().removeObserver(mMediaSourceObserver); in onCleared()
194 mPlaybackViewModel.getMetadata().removeObserver(mMetadataObserver); in onCleared()
195 mPlaybackViewModel.getPlaybackStateWrapper().removeObserver( in onCleared()
/packages/apps/Settings/src/com/android/settings/network/
DProxySubscriptionManager.java151 mLifecycle.removeObserver(this); in setLifecycle()
181 mLifecycle.removeObserver(this); in onDestroy()
DGlobalSettingsChangeListener.java86 mLifecycle.removeObserver(this); in notifyChangeBasedOn()
/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/
DSimStatusPreferenceController.java128 mSlotSimStatus.removeObserver(mSimChangeObserver); in updateState()
131 dataLifecycleOwner.removeObserver(mLifecycleOwnerObserver); in updateState()
/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/data/
DDataUtils.kt37 Handler(Looper.getMainLooper()).post { removeObserver(observer) } in withLoadedValue()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/floatingsheetcontent/
DPreviewCustomizeSettingsContent.kt49 settingsLiveData!!.removeObserver(settingsSliceView) in onRecreateView()
/packages/apps/Car/systemlibs/car-qc-lib/src/com/android/car/qc/controller/
DBaseQCController.java65 public void removeObserver(Observer<QCItem> observer) { in removeObserver() method in BaseQCController
/packages/apps/Car/SystemUI/src/com/android/systemui/car/statusicon/
DStatusIconViewController.java60 mStatusIconLiveData.removeObserver(mObserver); in onViewDetached()
/packages/apps/Car/systemlibs/car-qc-lib/tests/unit/src/com/android/car/qc/controller/
DBaseQCControllerTestCase.java61 spiedController.removeObserver(observer); in removeObserver_updateListeningCalled()
/packages/apps/Settings/src/com/android/settings/accounts/
DWorkModePreferenceController.java67 lifecycleOwner.getLifecycle().removeObserver(mQuietModeEnabler); in onStop()

123