Home
last modified time | relevance | path

Searched refs:observe (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/support/lifecycle/extensions/src/test/java/android/arch/lifecycle/
DLiveDataTest.java80 mLiveData.observe(mOwner, observer); in testObserverToggle()
95 mLiveData.observe(mOwner, observer); in testActiveObserverToggle()
129 mLiveData.observe(mOwner, observer); in testReAddSameObserverTuple()
130 mLiveData.observe(mOwner, observer); in testReAddSameObserverTuple()
138 mLiveData.observe(mOwner, o1); in testAdd2ObserversWithSameOwnerAndRemove()
139 mLiveData.observe(mOwner, o2); in testAdd2ObserversWithSameOwnerAndRemove()
162 mLiveData.observe(mOwner, observer); in testAddSameObserverIn2LifecycleOwners()
165 mLiveData.observe(owner2, observer); in testAddSameObserverIn2LifecycleOwners()
178 mLiveData.observe(mOwner, observer); in testRemoveDestroyedObserver()
196 mLiveData.observe(mOwner, observer); in testInactiveRegistry()
[all …]
DTransformationsTest.java67 mapped.observe(mOwner, observer); in testMap()
90 result.observe(mOwner, observer); in testSwitchMap()
123 result.observe(mOwner, observer); in testSwitchMap2()
156 result.observe(mOwner, observer); in testNoRedispatchSwitchMap()
183 result.observe(mOwner, observer); in testSwitchMapToNull()
DComputableLiveDataTest.java133 computable.getLiveData().observe(mLifecycleOwner, new Observer<Integer>() { in addingObserverShouldTriggerAComputation()
152 computable.getLiveData().observe(mLifecycleOwner, new Observer<Integer>() { in invalidationShouldNotReTriggerComputationIfObserverIsInActive()
172 computable.getLiveData().observe(mLifecycleOwner, new Observer<Integer>() { in invalidationShouldReTriggerQueryIfObserverIsActive()
DThreadedLiveDataTest.java75 mLiveData.observe(mLifecycleOwner, observer); in testPostValue()
DMediatorLiveDataTest.java65 mMediator.observe(mOwner, mock(Observer.class)); in setup()
90 mMediator.observe(mOwner, mock(Observer.class)); in testChangeWhileInactive()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/android/arch/persistence/room/integration/testapp/test/
DLiveDataQueryTest.java75 observe(userLiveData, testOwner, observer); in observeById()
113 observe(userLiveData, lifecycleOwner, observer); in observeListQuery()
173 observe(liveData, lifecycleOwner, observer); in liveDataWithPojo()
194 observe(liveData, lifecycleOwner, observer); in withRelation()
228 observe(liveData, lifecycleOwner, observer); in withRelationOnly()
247 observe(actual, lifecycleOwner, observer); in withWithClause()
273 observe(actual, lifecycleOwner, observer); in withWithClause()
285 observe(liveData, lifecycleOwner, observer); in handleGc()
315 private void observe(final LiveData liveData, final LifecycleOwner provider, in observe() method in LiveDataQueryTest
321 liveData.observe(provider, observer); in observe()
/frameworks/support/lifecycle/integration-tests/test-app/src/androidTest/java/com/android/support/lifecycle/
DLiveDataTransactionTest.java60 activity.viewModel.liveData.observe(activity, in transactionInOnStateChanged()
67 newActivity.viewModel.liveData.observe(newActivity, in transactionInOnStateChanged()
/frameworks/support/lifecycle/reactivestreams/src/test/java/android/arch/lifecycle/
DLiveDataReactiveStreamsTest.java120 liveData.observe(S_LIFECYCLE_OWNER, mObserver); in convertsFromPublisher()
135 liveData.observe(S_LIFECYCLE_OWNER, mObserver); in convertsFromPublisherWithMultipleObservers()
141 liveData.observe(S_LIFECYCLE_OWNER, new Observer<String>() { in convertsFromPublisherWithMultipleObservers()
160 liveData.observe(S_LIFECYCLE_OWNER, mObserver); in convertsFromAsyncPublisher()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/android/arch/persistence/room/integration/testapp/paging/
DLivePagedListProviderTest.java82 observe(livePagedUsers, testOwner, observer); in getUsersAsPagedList()
124 private void observe(final LiveData liveData, final LifecycleOwner provider, in observe() method in LivePagedListProviderTest
130 liveData.observe(provider, observer); in observe()
/frameworks/base/core/java/android/os/
DFileObserver.java86 observe(m_fd); in run()
131 private native void observe(int fd); in observe() method in FileObserver.ObserverThread
/frameworks/support/lifecycle/integration-tests/test-app/src/main/java/com/android/support/lifecycle/testapp/
DLiveDataTestActivity.java67 liveDataViewModel.liveData.observe(this, s -> in onCreate()
89 viewModel.liveData.observe(this, s -> in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DAlwaysOnDisplayPolicy.java102 mSettingsObserver.observe(); in AlwaysOnDisplayPolicy()
127 void observe() { in observe() method in AlwaysOnDisplayPolicy.SettingsObserver
/frameworks/support/lifecycle/extensions/src/androidTest/java/android/arch/lifecycle/activity/
DFragmentLifecycleActivity.java57 observe(nested ? fragment.mNestedFragment : fragment); in onCreate()
97 public void observe(LifecycleOwner provider) { in observe() method in FragmentLifecycleActivity
/frameworks/av/media/libmediaplayerservice/
DHDCP.cpp163 static_cast<HDCP *>(me)->observe(msg, ext1, ext2); in ObserveWrapper()
166 void HDCP::observe(int msg, int ext1, int ext2) { in observe() function in android::HDCP
DHDCP.h58 void observe(int msg, int ext1, int ext2);
/frameworks/support/lifecycle/extensions/src/main/java/android/arch/lifecycle/
DLiveData.java185 public void observe(LifecycleOwner owner, Observer<T> observer) { in observe() method in LiveData
219 observe(ALWAYS_ON, observer); in observeForever()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSettingsObserver.java50 public void observe(Uri uri, int what) { in observe() method in SettingsObserver
DCarrierActionAgent.java166 mSettingsObserver.observe(Settings.Global.getUriFor(mobileData), in handleMessage()
168 mSettingsObserver.observe( in handleMessage()
/frameworks/support/paging/integration-tests/testapp/src/main/java/android/arch/paging/integration/testapp/
DPagedListSampleActivity.java45 viewModel.getLivePagedList().observe(this, new Observer<PagedList<Item>>() { in onCreate()
/frameworks/support/lifecycle/reactivestreams/src/main/java/android/arch/lifecycle/
DLiveDataReactiveStreams.java99 liveData.observe(lifecycle, observer); in toPublisher()
/frameworks/base/services/core/java/com/android/server/
DNetworkTimeUpdateService.java141 mSettingsObserver.observe(mContext); in systemRunning()
312 void observe(Context context) { in observe() method in NetworkTimeUpdateService.SettingsObserver
DNetworkScoreService.java214 void observe(Uri uri, int what) { in observe() method in NetworkScoreService.DispatchingContentObserver
291 mContentObserver.observe(packageNameUri, in registerRecommendationSettingsObserver()
295 mContentObserver.observe(settingUri, in registerRecommendationSettingsObserver()
/frameworks/support/room/integration-tests/testapp/src/main/java/android/arch/persistence/room/integration/testapp/
DRoomPagedListActivity.java72 livePagedList.observe(this, new Observer<PagedList<Customer>>() { in onCreate()
/frameworks/base/tools/orientationplot/
DREADME.txt44 and the latency for orientation detection goes up. One way to observe this
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java139 mSettingsObserver.observe(); in ZenModeHelper()
1086 public void observe() { in observe() method in ZenModeHelper.SettingsObserver

12