Home
last modified time | relevance | path

Searched refs:testLifecycleOwner (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/utils/
DLiveDataUtilsTest.java64 TestLifecycleOwner testLifecycleOwner = new TestLifecycleOwner(); in testDedupedMappedLiveData_dedupesValues() local
66 dedupedLiveData.observe(testLifecycleOwner, observer); in testDedupedMappedLiveData_dedupesValues()
83 dedupedLiveData.removeObservers(testLifecycleOwner); in testDedupedMappedLiveData_dedupesValues()
101 TestLifecycleOwner testLifecycleOwner = new TestLifecycleOwner(); in testDedupedMappedLiveData_mapsValues() local
103 mappedLiveData.observe(testLifecycleOwner, observer); in testDedupedMappedLiveData_mapsValues()
118 mappedLiveData.removeObservers(testLifecycleOwner); in testDedupedMappedLiveData_mapsValues()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
DWorkManagerImplTest.java842 TestLifecycleOwner testLifecycleOwner = new TestLifecycleOwner(); in testGetStatusesById() local
845 liveData.observe(testLifecycleOwner, mockObserver); in testGetStatusesById()
892 liveData.removeObservers(testLifecycleOwner); in testGetStatusesById()
971 TestLifecycleOwner testLifecycleOwner = new TestLifecycleOwner(); in testGetStatusesByTag() local
973 liveData.observe(testLifecycleOwner, mockObserver); in testGetStatusesByTag()
1005 liveData.removeObservers(testLifecycleOwner); in testGetStatusesByTag()
1071 TestLifecycleOwner testLifecycleOwner = new TestLifecycleOwner(); in testGetStatusesByName() local
1073 liveData.observe(testLifecycleOwner, mockObserver); in testGetStatusesByName()
1110 liveData.removeObservers(testLifecycleOwner); in testGetStatusesByName()
1324 TestLifecycleOwner testLifecycleOwner = new TestLifecycleOwner(); in testCancelAllWork_updatesLastCancelAllTimeLiveData() local
[all …]