Home
last modified time | relevance | path

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

1234

/packages/apps/Car/libs/car-arch-common/tests/robotests/src/com/android/car/arch/common/
DLiveDataFunctionsTest.java61 CaptureObserver<Object> observer = new CaptureObserver<>(); in testNullLiveData() local
71 CaptureObserver<Boolean> observer = new CaptureObserver<>(); in testTrueLiveData() local
81 CaptureObserver<Boolean> observer = new CaptureObserver<>(); in testFalseLiveData() local
111 CaptureObserver<Integer> observer = new CaptureObserver<>(); in testDistinct() local
132 CaptureObserver<Integer> observer = new CaptureObserver<>(); in testFreezable() local
197 CaptureObserver<Boolean> observer = new CaptureObserver<>(); in testAnd_changeValue() local
239 CaptureObserver<Boolean> observer = new CaptureObserver<>(); in testOr_changeValue() local
277 CaptureObserver<Object> observer = new CaptureObserver<>(); in testIff_changePredicate() local
306 CaptureObserver<Object> observer = new CaptureObserver<>(); in testIff_changeValue() local
334 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.java108 CaptureObserver<MediaItemMetadata> observer = new CaptureObserver<>(); in testGetMetadata() local
123 CaptureObserver<PlaybackViewModel.PlaybackStateWrapper> observer = new CaptureObserver<>(); in testGetPlaybackState() local
141 CaptureObserver<List<MediaItemMetadata>> observer = new CaptureObserver<>(); in testGetSanitizedQueue() local
159 CaptureObserver<Boolean> observer = new CaptureObserver<>(); in testGetHasQueue_null() local
174 CaptureObserver<Boolean> observer = new CaptureObserver<>(); in testGetHasQueue_empty() local
190 CaptureObserver<Boolean> observer = new CaptureObserver<>(); in testGetHasQueue_true() local
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/
DDelegatingContentLimitingAdapterTest.java141 AdapterDataObserver observer = mock(AdapterDataObserver.class); in testChangeItem_callsObservers() local
164 AdapterDataObserver observer = mock(AdapterDataObserver.class); in testInsertItem_callsObservers() local
187 AdapterDataObserver observer = mock(AdapterDataObserver.class); in testRemoveItem_callsObservers() local
210 AdapterDataObserver observer = mock(AdapterDataObserver.class); in testMoveItem_callsObservers() local
233 AdapterDataObserver observer = mock(AdapterDataObserver.class); in testChangeDataSet_callsObservers() local
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/source/
DMediaSourceViewModelTest.java124 CaptureObserver<MediaSource> observer = new CaptureObserver<>(); in testGetSelectedMediaSource_none() local
133 CaptureObserver<BrowsingState> observer = new CaptureObserver<>(); in testGetMediaController_connectedBrowser() local
150 CaptureObserver<BrowsingState> observer = new CaptureObserver<>(); in testGetMediaController_noActiveSession_notConnected() local
/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/data/
DDataUtils.kt26 val observer = Observer<T?> { in withLoadedValue() constant
/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/Launcher3/src/com/android/launcher3/util/
DVibratorWrapper.java61 final ContentObserver observer = new ContentObserver(MAIN_EXECUTOR.getHandler()) { in VibratorWrapper() local
68 false /* notifyForDescendents */, observer); in VibratorWrapper() local
/packages/modules/NetworkStack/src/com/android/server/
DNetworkObserverRegistry.java63 public void registerObserver(@NonNull NetworkObserver observer, @NonNull Handler handler) { in registerObserver()
76 public void registerObserverForNonblockingCallback(@NonNull NetworkObserver observer) { in registerObserverForNonblockingCallback()
84 public void unregisterObserver(@NonNull NetworkObserver observer) { in unregisterObserver()
97 final NetworkObserver observer = entry.getKey(); in invokeForAllObservers() local
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/specialappaccess/
DSpecialAppAccessViewModel.java90 @NonNull ManageRoleHolderStateObserver observer) { in observeManageRoleHolderState()
111 @NonNull LifecycleOwner owner, @NonNull ManageRoleHolderStateObserver observer) { in getManageRoleHolderStateLiveData()
135 @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/Settings/tests/robotests/src/com/android/settings/development/
DWirelessDebuggingEnablerTest.java100 final ContentObserver observer = in adbWifiEnabled_switchBarShouldBeChecked() local
120 final ContentObserver observer = in adbWifiEnabled_switchBarShouldNotBeChecked() local
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DSingleLiveEvent.java37 public void observe(@NonNull LifecycleOwner owner, @NonNull Observer<? super T> observer) { in observe()
/packages/apps/Car/libs/car-ui-lib/oem-apis/src/main/java/com/android/car/ui/sharedlibrary/oemapis/recyclerview/
DAdapterOEMV1.java69 void registerAdapterDataObserver(AdapterDataObserverOEMV1 observer); in registerAdapterDataObserver()
72 void unregisterAdapterDataObserver(AdapterDataObserverOEMV1 observer); in unregisterAdapterDataObserver()
/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/modules/DnsResolver/
DDnsTlsSocketFactory.h36 IDnsTlsSocketObserver* _Nonnull observer, in createDnsTlsSocket()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DCarUiListItemAdapterAdapterV1.java152 public void registerAdapterDataObserver(@NonNull RecyclerView.AdapterDataObserver observer) { in registerAdapterDataObserver()
160 public void unregisterAdapterDataObserver(@NonNull RecyclerView.AdapterDataObserver observer) { in unregisterAdapterDataObserver()
/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/libs/car-ui-lib/referencedesign/sharedlibrary/src/main/java/com/chassis/car/ui/sharedlibrary/recyclerview/
DAdapterWrapper.java157 public void registerAdapterDataObserver(RecyclerView.AdapterDataObserver observer) { in registerAdapterDataObserver()
165 public void unregisterAdapterDataObserver(RecyclerView.AdapterDataObserver observer) { in unregisterAdapterDataObserver()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapContentObserverTest.java112 BluetoothMapContentObserver observer; in testInitMsgList() local
164 BluetoothMapContentObserver observer = in testPushGroupMMS() local
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DGridCustomizationsProvider.java204 PreviewLifecycleObserver observer = null; in getPreview() local
212 mActivePreviews.put(renderer.getHostToken(), observer); in getPreview() local
235 private synchronized void destroyObserver(PreviewLifecycleObserver observer) { in destroyObserver()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DSmartUpdateMediatorLiveData.kt207 val observer = Observer<Any> { in <lambda>() constant
247 observe = { observer -> in <lambda>() method
/packages/modules/Connectivity/tests/cts/hostside/app2/src/com/android/cts/net/hostside/app2/
DCommon.java77 INetworkStateObserver observer) throws RemoteException { in validateComponentState()
130 final INetworkStateObserver observer = INetworkStateObserver.Stub.asInterface( in notifyNetworkStateObserver() local

1234