Home
last modified time | relevance | path

Searched defs:observer (Results 1 – 25 of 76) sorted by relevance

1234

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAccountController.java37 void registerAccountObserver(DataSetObserver observer); in registerAccountObserver()
42 void unregisterAccountObserver(DataSetObserver observer); in unregisterAccountObserver()
56 void registerAllAccountObserver(DataSetObserver observer); in registerAllAccountObserver()
61 void unregisterAllAccountObserver(DataSetObserver observer); in unregisterAllAccountObserver()
81 void registerFolderOrAccountChangedObserver(final DataSetObserver observer); in registerFolderOrAccountChangedObserver()
86 void unregisterFolderOrAccountChangedObserver(final DataSetObserver observer); in unregisterFolderOrAccountChangedObserver()
DRecentFolderController.java31 void registerRecentFolderObserver(DataSetObserver observer); in registerRecentFolderObserver()
36 void unregisterRecentFolderObserver(DataSetObserver observer); in unregisterRecentFolderObserver()
DFolderController.java33 void registerFolderObserver(DataSetObserver observer); in registerFolderObserver()
34 void unregisterFolderObserver(DataSetObserver observer); in unregisterFolderObserver()
DConversationListCallbacks.java75 void registerConversationLoadedObserver(DataSetObserver observer); in registerConversationLoadedObserver()
76 void unregisterConversationLoadedObserver(DataSetObserver observer); in unregisterConversationLoadedObserver()
83 void registerConversationListObserver(DataSetObserver observer); in registerConversationListObserver()
84 void unregisterConversationListObserver(DataSetObserver observer); in unregisterConversationListObserver()
DFolderSettingsObservable.java27 void registerObserver(FolderSettingsObserver observer); in registerObserver()
28 void unregisterObserver(FolderSettingsObserver observer); in unregisterObserver()
DContactLoaderCallbacks.java80 public void registerObserver(DataSetObserver observer) { in registerObserver()
85 public void unregisterObserver(DataSetObserver observer) { in unregisterObserver()
/packages/apps/Car/libs/car-arch-common/tests/robotests/src/com/android/car/arch/common/
DLiveDataFunctionsTest.java63 CaptureObserver<Object> observer = new CaptureObserver<>(); in testNullLiveData() local
73 CaptureObserver<Boolean> observer = new CaptureObserver<>(); in testTrueLiveData() local
83 CaptureObserver<Boolean> observer = new CaptureObserver<>(); in testFalseLiveData() local
113 CaptureObserver<Integer> observer = new CaptureObserver<>(); in testDistinct() local
134 CaptureObserver<Integer> observer = new CaptureObserver<>(); in testFreezable() local
199 CaptureObserver<Boolean> observer = new CaptureObserver<>(); in testAnd_changeValue() local
241 CaptureObserver<Boolean> observer = new CaptureObserver<>(); in testOr_changeValue() local
279 CaptureObserver<Object> observer = new CaptureObserver<>(); in testIff_changePredicate() local
308 CaptureObserver<Object> observer = new CaptureObserver<>(); in testIff_changeValue() local
336 CaptureObserver<Object> observer = new CaptureObserver<>(); in testIff_changeValue_doesntNotifyForIrrelevantChanges() local
[all …]
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/playback/
DPlaybackViewModelTest.java98 CaptureObserver<MediaItemMetadata> observer = new CaptureObserver<>(); in testGetMetadata() local
113 CaptureObserver<PlaybackViewModel.PlaybackStateWrapper> observer = new CaptureObserver<>(); in testGetPlaybackState() local
131 CaptureObserver<List<MediaItemMetadata>> observer = new CaptureObserver<>(); in testGetSanitizedQueue() local
149 CaptureObserver<Boolean> observer = new CaptureObserver<>(); in testGetHasQueue_null() local
164 CaptureObserver<Boolean> observer = new CaptureObserver<>(); in testGetHasQueue_empty() local
180 CaptureObserver<Boolean> observer = new CaptureObserver<>(); in testGetHasQueue_true() local
/packages/apps/UnifiedEmail/src/com/android/mail/
DContactInfoSource.java30 void registerObserver(DataSetObserver observer); in registerObserver()
31 void unregisterObserver(DataSetObserver observer); in unregisterObserver()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DMailObservable.java35 public void registerObserver(DataSetObserver observer) { in registerObserver()
43 public void unregisterObserver(DataSetObserver observer) { in unregisterObserver()
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/source/
DMediaSourceViewModelTest.java134 CaptureObserver<MediaSource> observer = new CaptureObserver<>(); in testGetSelectedMediaSource_none() local
143 CaptureObserver<MediaControllerCompat> observer = new CaptureObserver<>(); in testGetMediaController_connectedBrowser() local
159 CaptureObserver<MediaControllerCompat> observer = new CaptureObserver<>(); in testGetMediaController_noActiveSession_notConnected() local
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSuggestionCursor.java72 void registerDataSetObserver(DataSetObserver observer); in registerDataSetObserver()
80 void unregisterDataSetObserver(DataSetObserver observer); in unregisterDataSetObserver()
DSuggestionCursorWrapper.java63 public void registerDataSetObserver(DataSetObserver observer) { in registerDataSetObserver()
69 public void unregisterDataSetObserver(DataSetObserver observer) { in unregisterDataSetObserver()
DSuggestions.java110 public void registerDataSetObserver(DataSetObserver observer) { in registerDataSetObserver()
121 public void unregisterDataSetObserver(DataSetObserver observer) { in unregisterDataSetObserver()
DListSuggestionCursor.java119 public void registerDataSetObserver(DataSetObserver observer) { in registerDataSetObserver()
129 public void unregisterDataSetObserver(DataSetObserver observer) { in unregisterDataSetObserver()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DInstallPackageTaskTest.java144 IntentSender observer = verifyPackageInstalled(INSTALL_REPLACE_EXISTING); in testSuccess() local
168 IntentSender observer = verifyPackageInstalled( in testSuccess_allowTestOnly() local
192 IntentSender observer = verifyPackageInstalled(INSTALL_REPLACE_EXISTING); in testInstallFailedVersionDowngrade() local
216 IntentSender observer = verifyPackageInstalled(INSTALL_REPLACE_EXISTING); in testInstallFailedOtherError() local
240 IntentSender observer = verifyPackageInstalled(INSTALL_REPLACE_EXISTING); in testDifferentPackageName() local
/packages/modules/NetworkStack/src/com/android/server/
DNetworkObserverRegistry.java68 public void registerObserver(@NonNull NetworkObserver observer, @NonNull Handler handler) { in registerObserver()
81 public void registerObserverForNonblockingCallback(@NonNull NetworkObserver observer) { in registerObserverForNonblockingCallback()
89 public void unregisterObserver(@NonNull NetworkObserver observer) { in unregisterObserver()
102 final NetworkObserver observer = entry.getKey(); in invokeForAllObservers() local
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/
DSpecialAppAccessViewModel.java87 @NonNull ManageRoleHolderStateObserver observer) { in observeManageRoleHolderState()
108 @NonNull LifecycleOwner owner, @NonNull ManageRoleHolderStateObserver observer) { in getManageRoleHolderStateLiveData()
132 @NonNull ManageRoleHolderStateObserver observer) { in setSpecialAppAccessAsUser()
/packages/apps/Messaging/src/com/android/messaging/util/
DImeUtil.java32 void registerImeStateObserver(ImeUtil.ImeStateObserver observer); in registerImeStateObserver()
33 void unregisterImeStateObserver(ImeUtil.ImeStateObserver observer); in unregisterImeStateObserver()
/packages/apps/Car/Media/src/com/android/car/media/browse/
DBrowseAdapter.java125 public void registerObserver(Observer observer) { in registerObserver()
132 public void unregisterObserver(Observer observer) { in unregisterObserver()
/packages/apps/Contacts/tests/src/com/android/contacts/widget/
DCompositeListAdapterTest.java217 TestDataSetObserver observer = new TestDataSetObserver(); in testNotifyDataSetChangedPropagated() local
243 TestDataSetObserver observer = new TestDataSetObserver(); in testNotifyDataSetChangedOnAddingAdapter() local
261 TestDataSetObserver observer = new TestDataSetObserver(); in testNotifyDataSetInvalidated() local
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowActivityManager.java44 protected boolean clearApplicationUserData(String packageName, IPackageDataObserver observer) { in clearApplicationUserData()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DAbstractGoogleSourceResult.java72 public void registerDataSetObserver(DataSetObserver observer) { in registerDataSetObserver()
75 public void unregisterDataSetObserver(DataSetObserver observer) { in unregisterDataSetObserver()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DContextualViewModel.java74 Observer<Object> observer = x -> updateLiveData(); in ContextualViewModel() local
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationPagerController.java260 public void registerConversationLoadedObserver(DataSetObserver observer) { in registerConversationLoadedObserver()
264 public void unregisterConversationLoadedObserver(DataSetObserver observer) { in unregisterConversationLoadedObserver()

1234