Searched refs:BlockingType (Results 1 – 2 of 2) sorted by relevance
53 private final MediatorLiveData<BlockingType> mBlockingTypeLiveData = new MediatorLiveData<>();85 public LiveData<BlockingType> getBlockingTypeLiveData() { in getBlockingTypeLiveData()118 mBlockingTypeLiveData.setValue(BlockingType.DIALER); in onUpdate()121 mBlockingTypeLiveData.setValue(BlockingType.MEDIA); in onUpdate()123 mBlockingTypeLiveData.setValue(BlockingType.NONE); in onUpdate()151 public enum BlockingType { enum in BlockerViewModel
65 private LiveData<BlockerViewModel.BlockingType> mBlockingLiveData;104 assertThat(mBlockingLiveData.getValue()).isEqualTo(BlockerViewModel.BlockingType.NONE); in testCallAndMedia_emitsNone()114 assertThat(mBlockingLiveData.getValue()).isEqualTo(BlockerViewModel.BlockingType.NONE); in testNullCall_emitsNone()125 assertThat(mBlockingLiveData.getValue()).isEqualTo(BlockerViewModel.BlockingType.DIALER); in testCall_emitsDialer()136 assertThat(mBlockingLiveData.getValue()).isEqualTo(BlockerViewModel.BlockingType.NONE); in testNoMedia_emitsNone()150 assertThat(mBlockingLiveData.getValue()).isEqualTo(BlockerViewModel.BlockingType.NONE); in testNotBlockedMedia_emitsNone()164 assertThat(mBlockingLiveData.getValue()).isEqualTo(BlockerViewModel.BlockingType.MEDIA); in testBlockedMedia_emitsMedia()