Home
last modified time | relevance | path

Searched refs:permissionsViewModel (Results 1 – 4 of 4) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/additionalaccess/
DExerciseRoutesPermissionDialogFragment.kt58 private val permissionsViewModel: AppPermissionViewModel by activityViewModels() in <lambda>() constant in com.android.healthconnect.controller.permissions.additionalaccess.ExerciseRoutesPermissionDialogFragment
105 permissionsViewModel.appInfo.observe(this) { app -> in <lambda>()
112 permissionsViewModel.appInfo.observe(this) { app -> appIcon.setImageDrawable(app.icon) } in <lambda>()
DAdditionalAccessFragment.kt54 private val permissionsViewModel: AppPermissionViewModel by activityViewModels() in <lambda>() constant in com.android.healthconnect.controller.permissions.additionalaccess.AdditionalAccessFragment
98 permissionsViewModel.appInfo.observe(viewLifecycleOwner) { appMetaData -> in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/
DExerciseRoutesPermissionDialogFragmentTest.kt63 @BindValue val permissionsViewModel = mock(AppPermissionViewModel::class.java) constant in com.android.healthconnect.controller.tests.permissions.additionalaccess.ExerciseRoutesPermissionDialogFragmentTest
76 whenever(permissionsViewModel.appInfo).then { MutableLiveData(appInfo) } in setup()
DAdditionalAccessFragmentTest.kt83 @BindValue val permissionsViewModel: AppPermissionViewModel = mock() in <lambda>() constant in com.android.healthconnect.controller.tests.permissions.additionalaccess.AdditionalAccessFragmentTest
96 whenever(permissionsViewModel.appInfo).then { in <lambda>()