Home
last modified time | relevance | path

Searched refs:isAnyReadPermissionGranted (Results 1 – 6 of 6) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/additionalaccess/
DAdditionalAccessViewModel.kt114 val isAnyReadPermissionGranted = in <lambda>() constant
126 isEnabled = isAnyReadPermissionGranted)) in <lambda>()
138 isEnabled = isAnyReadPermissionGranted)) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/
DMockedPermissionsActivityTest.kt131 whenever(viewModel.isAnyReadPermissionGranted()).thenReturn(true) in <lambda>()
212 whenever(viewModel.isAnyReadPermissionGranted()).thenReturn(false) in <lambda>()
242 whenever(viewModel.isAnyReadPermissionGranted()).thenReturn(false) in <lambda>()
272 whenever(viewModel.isAnyReadPermissionGranted()).thenReturn(true) in <lambda>()
314 whenever(viewModel.isAnyReadPermissionGranted()).thenReturn(true) in <lambda>()
377 whenever(viewModel.isAnyReadPermissionGranted()).thenReturn(true) in <lambda>()
456 whenever(viewModel.isAnyReadPermissionGranted()).thenReturn(true) in <lambda>()
534 whenever(viewModel.isAnyReadPermissionGranted()).thenReturn(true) in <lambda>()
DAdditionalPermissionsFragmentTest.kt256 whenever(viewModel.isAnyReadPermissionGranted()).thenReturn(true) in allowButton_noAdditionalPermissionsSelected_isDisabled()
293 whenever(viewModel.isAnyReadPermissionGranted()).thenReturn(true) in allowButton_additionalPermissionsSelected_isEnabled()
DRequestPermissionViewModelTest.kt351 assertThat(viewModel.isAnyReadPermissionGranted()).isTrue() in <lambda>()
368 assertThat(viewModel.isAnyReadPermissionGranted()).isFalse() in init_anyReadPermissionsGranted_whenNoReadPermissionGranted_returnsFalse()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/
DPermissionsActivity.kt154 if (!requestPermissionsViewModel.isAnyReadPermissionGranted()) { in <lambda>()
DRequestPermissionViewModel.kt188 fun isAnyReadPermissionGranted(): Boolean = anyReadPermissionsGranted in <lambda>() method in com.android.healthconnect.controller.permissions.request.RequestPermissionViewModel