Searched refs:permissionsViewModel (Results 1 – 4 of 4) sorted by relevance
58 private val permissionsViewModel: AppPermissionViewModel by activityViewModels() in <lambda>() constant in com.android.healthconnect.controller.permissions.additionalaccess.ExerciseRoutesPermissionDialogFragment105 permissionsViewModel.appInfo.observe(this) { app -> in <lambda>()112 permissionsViewModel.appInfo.observe(this) { app -> appIcon.setImageDrawable(app.icon) } in <lambda>()
54 private val permissionsViewModel: AppPermissionViewModel by activityViewModels() in <lambda>() constant in com.android.healthconnect.controller.permissions.additionalaccess.AdditionalAccessFragment98 permissionsViewModel.appInfo.observe(viewLifecycleOwner) { appMetaData -> in <lambda>()
63 @BindValue val permissionsViewModel = mock(AppPermissionViewModel::class.java) constant in com.android.healthconnect.controller.tests.permissions.additionalaccess.ExerciseRoutesPermissionDialogFragmentTest76 whenever(permissionsViewModel.appInfo).then { MutableLiveData(appInfo) } in setup()
83 @BindValue val permissionsViewModel: AppPermissionViewModel = mock() in <lambda>() constant in com.android.healthconnect.controller.tests.permissions.additionalaccess.AdditionalAccessFragmentTest96 whenever(permissionsViewModel.appInfo).then { in <lambda>()