Searched refs:observe (Results 1 - 25 of 43) sorted by relevance

12

/frameworks/support/lifecycle/livedata-core/src/test/java/androidx/lifecycle/
H A DLiveDataTest.java119 mLiveData.observe(mOwner, observer);
134 mLiveData.observe(mOwner, observer);
168 mLiveData.observe(mOwner, observer);
169 mLiveData.observe(mOwner, observer);
177 mLiveData.observe(mOwner, o1);
178 mLiveData.observe(mOwner, o2);
198 mLiveData.observe(mOwner, observer);
201 mLiveData.observe(mOwner2, observer);
214 mLiveData.observe(mOwner, observer);
232 mLiveData.observe(mOwne
[all...]
H A DThreadedLiveDataTest.java78 mLiveData.observe(mLifecycleOwner, observer);
/frameworks/support/lifecycle/reactivestreams/src/test/java/androidx/lifecycle/
H A DLiveDataReactiveStreamsTest.java85 liveData.observe(mLifecycleOwner, mObserver);
100 liveData.observe(mLifecycleOwner, mObserver);
105 liveData.observe(mLifecycleOwner, mObserver);
118 liveData.observe(mLifecycleOwner, mObserver);
135 liveData.observe(mLifecycleOwner, mObserver);
141 liveData.observe(mLifecycleOwner, new Observer<String>() {
160 liveData.observe(mLifecycleOwner, mObserver);
166 liveData.observe(mLifecycleOwner, new Observer<String>() {
185 liveData.observe(mLifecycleOwner, mObserver);
190 liveData.observe(mLifecycleOwne
[all...]
/frameworks/support/lifecycle/integration-tests/test-app/src/androidTest/java/com/android/support/lifecycle/
H A DLiveDataTransactionTest.java60 activity.viewModel.liveData.observe(activity,
67 newActivity.viewModel.liveData.observe(newActivity,
/frameworks/support/lifecycle/livedata/src/test/java/androidx/lifecycle/
H A DTransformationsTest.java68 mapped.observe(mOwner, observer);
91 result.observe(mOwner, observer);
124 result.observe(mOwner, observer);
157 result.observe(mOwner, observer);
184 result.observe(mOwner, observer);
H A DComputableLiveDataTest.java140 computable.getLiveData().observe(mLifecycleOwner, new Observer<Integer>() {
159 computable.getLiveData().observe(mLifecycleOwner, new Observer<Integer>() {
179 computable.getLiveData().observe(mLifecycleOwner, new Observer<Integer>() {
199 computable.getLiveData().observe(mLifecycleOwner, new Observer<Integer>() {
/frameworks/base/core/java/android/os/
H A DFileObserver.java86 observe(m_fd);
131 private native void observe(int fd); method in class:FileObserver.ObserverThread
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
H A DAlwaysOnDisplayPolicy.java123 mSettingsObserver.observe();
134 void observe() { method in class:AlwaysOnDisplayPolicy.SettingsObserver
/frameworks/support/lifecycle/extensions/src/androidTest/java/androidx/lifecycle/activity/
H A DFragmentLifecycleActivity.java58 observe(nested ? fragment.mNestedFragment : fragment);
98 public void observe(LifecycleOwner provider) { method in class:FragmentLifecycleActivity
/frameworks/support/lifecycle/integration-tests/test-app/src/main/java/com/android/support/lifecycle/testapp/
H A DLiveDataTestActivity.java68 liveDataViewModel.liveData.observe(this, s ->
90 viewModel.liveData.observe(this, s ->
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/sherlockholmes/
H A DAnalyzeSherlockHolmesActivity.java61 TestDatabase.getInstance(this).getWordCountDao().getWordCounts().observe(
92 workManager.getStatusById(textReducingWork.getId()).observe(
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
H A DLiveDataQueryTest.java78 observe(userLiveData, testOwner, observer);
116 observe(userLiveData, lifecycleOwner, observer);
176 observe(liveData, lifecycleOwner, observer);
197 observe(liveData, lifecycleOwner, observer);
231 observe(liveData, lifecycleOwner, observer);
251 observe(actual, lifecycleOwner, observer);
277 observe(actual, lifecycleOwner, observer);
289 observe(liveData, lifecycleOwner, observer);
328 observe(adminLiveData, lifecycleOwner, observer);
337 private void observe(fina method in class:LiveDataQueryTest
[all...]
H A DQueryTransactionTest.java144 TestSubscriber<List<Entity1>> subscriber = observe(flowable);
165 TestObserver<List<Entity1>> observer = observe(listMaybe);
178 TestObserver<List<Entity1>> observer = observe(listMaybe);
264 private <T> TestSubscriber<T> observe(final Flowable<T> flowable) { method in class:QueryTransactionTest
271 private <T> TestObserver<T> observe(final Maybe<T> maybe) { method in class:QueryTransactionTest
278 private <T> TestObserver<T> observe(final Single<T> single) { method in class:QueryTransactionTest
287 liveData.observe(mLifecycleOwner, t -> {
H A DFunnyNamedDaoTest.java72 public void observe() throws TimeoutException, InterruptedException { method in class:FunnyNamedDaoTest
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSettingsObserver.java50 public void observe(Uri uri, int what) { method in class:SettingsObserver
H A DCarrierActionAgent.java169 mSettingsObserver.observe(Settings.Global.getUriFor(mobileData),
171 mSettingsObserver.observe(
174 mSettingsObserver.observe(
/frameworks/support/paging/integration-tests/testapp/src/main/java/androidx/paging/integration/testapp/
H A DPagedListSampleActivity.java45 viewModel.getLivePagedList().observe(this, new Observer<PagedList<Item>>() {
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/paging/
H A DDataSourceFactoryTest.java117 observe(livePagedUsers, testOwner, observer);
161 private void observe(final LiveData liveData, final LifecycleOwner provider, method in class:DataSourceFactoryTest
165 liveData.observe(provider, observer);
184 observe(liveData, lifecycleOwner, observer);
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
H A DFragmentViewLifecycleTest.java134 fragment.getViewLifecycleOwnerLiveData().observe(activity,
229 mLiveData.observe(getViewLifecycleOwner(), mOnCreateViewObserver);
230 assertTrue("LiveData should have observers after onCreateView observe",
259 mLiveData.observe(getViewLifecycleOwner(), mOnCreateViewObserver);
260 assertTrue("LiveData should have observers after onCreateView observe",
268 mLiveData.observe(getViewLifecycleOwner(), mOnViewCreatedObserver);
269 assertTrue("LiveData should have observers after onViewCreated observe",
276 mLiveData.observe(getViewLifecycleOwner(), mOnViewStateRestoredObserver);
277 assertTrue("LiveData should have observers after onViewStateRestored observe",
/frameworks/support/lifecycle/reactivestreams/ktx/src/test/java/androidx/lifecycle/
H A DLiveDataReactiveStreamsTest.kt51 liveData.observe(lifecycleOwner, Observer { output.add(it) })
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/utils/
H A DLiveDataUtilsTest.java66 dedupedLiveData.observe(testLifecycleOwner, observer);
103 mappedLiveData.observe(testLifecycleOwner, observer);
/frameworks/support/frameworks/support/samples/SupportSliceDemos/src/main/java/com/example/androidx/slice/demos/
H A DSliceBrowser.java213 mSliceLiveData.observe(this, v);
224 mSliceLiveData.observe(this, slice -> {
234 mSliceLiveData.observe(this, slice -> Log.d(TAG, "Slice: " + slice));
/frameworks/support/samples/SupportSliceDemos/src/main/java/com/example/androidx/slice/demos/
H A DSliceBrowser.java213 mSliceLiveData.observe(this, v);
224 mSliceLiveData.observe(this, slice -> {
234 mSliceLiveData.observe(this, slice -> Log.d(TAG, "Slice: " + slice));
/frameworks/support/room/integration-tests/testapp/src/main/java/androidx/room/integration/testapp/
H A DRoomPagedListActivity.java69 livePagedList.observe(this, items -> mAdapter.submitList(items));
/frameworks/base/services/core/java/com/android/server/
H A DNetworkTimeUpdateService.java135 mSettingsObserver.observe(mContext);
302 void observe(Context context) { method in class:NetworkTimeUpdateService.SettingsObserver

Completed in 264 milliseconds

12