Home
last modified time | relevance | path

Searched refs:CaptureObserver (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Car/libs/car-arch-common/tests/robotests/src/com/android/car/arch/common/
DLiveDataFunctionsTest.java37 import com.android.car.arch.common.testing.CaptureObserver;
61 CaptureObserver<Object> observer = new CaptureObserver<>(); in testNullLiveData()
71 CaptureObserver<Boolean> observer = new CaptureObserver<>(); in testTrueLiveData()
81 CaptureObserver<Boolean> observer = new CaptureObserver<>(); in testFalseLiveData()
111 CaptureObserver<Integer> observer = new CaptureObserver<>(); in testDistinct()
132 CaptureObserver<Integer> observer = new CaptureObserver<>(); in testFreezable()
197 CaptureObserver<Boolean> observer = new CaptureObserver<>(); in testAnd_changeValue()
239 CaptureObserver<Boolean> observer = new CaptureObserver<>(); in testOr_changeValue()
277 CaptureObserver<Object> observer = new CaptureObserver<>(); in testIff_changePredicate()
306 CaptureObserver<Object> observer = new CaptureObserver<>(); in testIff_changeValue()
[all …]
DLoadingSwitchMapTest.java26 import com.android.car.arch.common.testing.CaptureObserver;
46 private CaptureObserver<FutureData<Integer>> mObserver;
52 mObserver = new CaptureObserver<>(); in setUp()
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/playback/
DProgressLiveDataTest.java27 import com.android.car.arch.common.testing.CaptureObserver;
89 CaptureObserver<PlaybackProgress> progressObserver = new CaptureObserver<>(); in testSetsValueOnActive()
98 CaptureObserver<PlaybackProgress> progressObserver = new CaptureObserver<>(); in testUnknownProgress()
110 CaptureObserver<PlaybackProgress> progressObserver = new CaptureObserver<>(); in testMovesForwardAtNormalSpeed()
123 CaptureObserver<PlaybackProgress> progressObserver = new CaptureObserver<>(); in testMovesForwardAtCustomSpeed()
138 CaptureObserver<PlaybackProgress> progressObserver = new CaptureObserver<>(); in testDoesntMoveForwardWhenPaused()
152 CaptureObserver<PlaybackProgress> progressObserver = new CaptureObserver<>(); in testDoesntMoveForwardWhenStopped()
166 CaptureObserver<PlaybackProgress> progressObserver = new CaptureObserver<>(); in testDoesntUpdateWhenInactive()
DPlaybackViewModelTest.java39 import com.android.car.arch.common.testing.CaptureObserver;
108 CaptureObserver<MediaItemMetadata> observer = new CaptureObserver<>(); in testGetMetadata()
123 CaptureObserver<PlaybackViewModel.PlaybackStateWrapper> observer = new CaptureObserver<>(); in testGetPlaybackState()
141 CaptureObserver<List<MediaItemMetadata>> observer = new CaptureObserver<>(); in testGetSanitizedQueue()
159 CaptureObserver<Boolean> observer = new CaptureObserver<>(); in testGetHasQueue_null()
174 CaptureObserver<Boolean> observer = new CaptureObserver<>(); in testGetHasQueue_empty()
190 CaptureObserver<Boolean> observer = new CaptureObserver<>(); in testGetHasQueue_true()
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/source/
DMediaSourceViewModelTest.java38 import com.android.car.arch.common.testing.CaptureObserver;
124 CaptureObserver<MediaSource> observer = new CaptureObserver<>(); in testGetSelectedMediaSource_none()
133 CaptureObserver<BrowsingState> observer = new CaptureObserver<>(); in testGetMediaController_connectedBrowser()
150 CaptureObserver<BrowsingState> observer = new CaptureObserver<>(); in testGetMediaController_noActiveSession_notConnected()
/packages/apps/Car/libs/car-arch-common/src/com/android/car/arch/common/testing/
DCaptureObserver.java31 public class CaptureObserver<T> implements Observer<T> { class