Searched refs:AccessViewModel (Results 1 – 6 of 6) sorted by relevance
3 import com.android.healthconnect.controller.data.access.AccessViewModel37 private lateinit var viewModel: AccessViewModel48 viewModel = AccessViewModel(fakeLoadAccessUseCase) in setup()66 val testObserver = TestObserver<AccessViewModel.AccessScreenState>() in <lambda>()72 .isEqualTo(AccessViewModel.AccessScreenState.WithData(expected)) in <lambda>()
34 import com.android.healthconnect.controller.data.access.AccessViewModel35 import com.android.healthconnect.controller.data.access.AccessViewModel.AccessScreenState36 import com.android.healthconnect.controller.data.access.AccessViewModel.AccessScreenState.WithData61 @BindValue val viewModel: AccessViewModel = Mockito.mock(AccessViewModel::class.java)75 MutableLiveData<AccessViewModel.AccessScreenState>(WithData(emptyMap())) in dataAccessFragment_noSections_noneDisplayed()147 MutableLiveData<AccessViewModel.AccessScreenState>(WithData(map)) in dataAccessFragment_inactiveSection_isDisplayed()
23 import com.android.healthconnect.controller.data.access.AccessViewModel.AccessScreenState.Error24 import com.android.healthconnect.controller.data.access.AccessViewModel.AccessScreenState.WithData38 class AccessViewModel @Inject constructor(private val loadAccessUseCase: ILoadAccessUseCase) : class
63 private val viewModel: AccessViewModel by viewModels() in <lambda>()111 is AccessViewModel.AccessScreenState.Loading -> { in <lambda>()114 is AccessViewModel.AccessScreenState.Error -> { in <lambda>()117 is AccessViewModel.AccessScreenState.WithData -> { in <lambda>()
28 import com.android.healthconnect.controller.data.access.AccessViewModel29 import com.android.healthconnect.controller.data.access.AccessViewModel.AccessScreenState30 import com.android.healthconnect.controller.data.access.AccessViewModel.AccessScreenState.WithData61 @BindValue val viewModel: AccessViewModel = Mockito.mock(AccessViewModel::class.java)
28 import com.android.healthconnect.controller.data.access.AccessViewModel in <lambda>()29 import com.android.healthconnect.controller.data.access.AccessViewModel.AccessScreenState in <lambda>()77 private val viewModel: AccessViewModel by viewModels() in <lambda>()