Searched refs:isSwitchOn (Results 1 – 3 of 3) sorted by relevance
83 val isSwitchOn = collectLastValue(underTest.isSwitchOn()) in toggles back and forth() constant85 val initialIsSwitchOn = isSwitchOn() in toggles back and forth()88 assertThat(isSwitchOn()).isNotEqualTo(initialIsSwitchOn) in toggles back and forth()91 assertThat(isSwitchOn()).isEqualTo(initialIsSwitchOn) in toggles back and forth()
47 launch { viewModel.isSwitchOn().collect { switch.isChecked = it } } in bind()
38 suspend fun isSwitchOn(): Flow<Boolean> = interactor.isShowNotificationsOnLockScreenEnabled() in isSwitchOn() method in com.android.customization.picker.notifications.ui.viewmodel.NotificationSectionViewModel