Home
last modified time | relevance | path

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

12

/packages/apps/Car/Dialer/src/com/android/car/dialer/bluetooth/
DUiBluetoothMonitor.java69 removeObserver(mPairListLiveData, mPairListObserver); in tearDown()
70 removeObserver(mBluetoothStateLiveData, mBluetoothStateObserver); in tearDown()
71 removeObserver(mHfpDeviceListLiveData, mHfpDeviceListObserver); in tearDown()
95 private void removeObserver(LiveData liveData, Observer observer) { in removeObserver() method in UiBluetoothMonitor
97 liveData.removeObserver(observer); in removeObserver()
DCallHistoryManager.java57 mCallHistoryLiveData.removeObserver(mCallHistoryObserver); in tearDown()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DCheckLifecycleRegistry.kt37 override fun removeObserver(observer: LifecycleObserver) { in removeObserver() method
42 super.removeObserver(observer) in removeObserver()
DPermissionControllerServiceModel.kt94 liveData.removeObserver(this) in <lambda>()
/packages/apps/Settings/src/com/android/settings/slices/
DSlicePreferenceController.java71 mLiveData.removeObserver(this); in setSliceUri()
84 mLiveData.removeObserver(this); in onStop()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/audio/
DMediaViewModel.java109 mSourceViewModel.getPrimaryMediaSource().removeObserver(mMediaSourceObserver); in onCleared()
110 mPlaybackViewModel.getMetadata().removeObserver(mMetadataObserver); 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/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/data/
DDataUtils.kt36 Handler(Looper.getMainLooper()).post { removeObserver(observer) } in withLoadedValue()
/packages/apps/Car/Media/src/com/android/car/media/
DBrowseViewController.java256 mCallbacks.getActivity().getLifecycle().removeObserver(mUxrContentLimiter); in destroy()
257 mMediaItems.removeObserver(mItemsObserver); in destroy()
DMediaActivityController.java288 mMediaItemsRepository.getBrowsingState().removeObserver(mMediaBrowsingObserver); in onDestroy()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSlicePreferenceControllerTest.java82 verify(mLiveData).removeObserver(mController); in onStop_unregisterObserver()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DGlobalSettingsChangeListenerTest.java64 doNothing().when(mLifecycle).removeObserver(mTestListener); in setUp()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/
DEmbeddedSlicePreferenceHelper.java56 getSliceLiveData().removeObserver(this); in onDetached()
DSliceFragment.java204 getSliceLiveData().removeObserver(this); in onPause()
257 getSliceLiveData().removeObserver(this); in update()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DLivePreviewFragment.java265 mSettingsLiveData.removeObserver(mSettingsSliceView); in onDestroyView()
562 mSettingsLiveData.removeObserver(mSettingsSliceView); in onRecreateView()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DCarWifiManager.java99 mLifecycle.removeObserver(this); in onDestroy()
/packages/apps/ThemePicker/src/com/android/customization/model/mode/
DDarkModeSectionController.java94 mLifecycle.removeObserver(this); in release()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiDetailsFragment.java126 getLifecycle().removeObserver(mWifiInfoProvider); in onDetach()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DLockScreenPreviewer.java161 mLifecycle.removeObserver(this); in release()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DInMemoryPhoneBook.java139 mContactListAsyncQueryLiveData.removeObserver(this); in onTearDown()
/packages/apps/Car/Dialer/src/com/android/car/dialer/notification/
DMissedCallNotificationController.java66 mUnreadMissedCallLiveData.removeObserver(mUnreadMissedCallObserver); in tearDown()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DSettingsFragment.java239 mPreferenceControllers.forEach(lifecycle::removeObserver); in onDetach()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DWallpaperSectionController.java238 mLifecycleOwner.getLifecycle().removeObserver(this); in release()
/packages/apps/Car/Calendar/tests/unit/src/com/android/car/calendar/common/
DEventsLiveDataTest.java196 runOnMain(() -> mEventsLiveData.removeObserver(observer)); in removeObserver_contentNotObserved()

12