Searched refs:historyReadPermission (Results 1 – 2 of 2) sorted by relevance
306 val historyReadPermission = fromPermissionString(READ_HEALTH_DATA_HISTORY) in <lambda>() constant307 viewModel.updateHealthPermission(historyReadPermission, grant = true) in <lambda>()309 assertThat(viewModel.isPermissionLocallyGranted(historyReadPermission)).isTrue() in <lambda>()331 val historyReadPermission = fromPermissionString(READ_HEALTH_DATA_HISTORY) in <lambda>() constant332 viewModel.updateHealthPermission(historyReadPermission, grant = false) in <lambda>()334 assertThat(viewModel.isPermissionLocallyGranted(historyReadPermission)).isFalse() in <lambda>()435 val historyReadPermission = fromPermissionString(READ_HEALTH_DATA_HISTORY) in <lambda>() constant438 viewModel.updateHealthPermission(historyReadPermission, grant = true) in <lambda>()441 assertThat(testObserver.getLastValue()).contains(historyReadPermission) in <lambda>()463 val historyReadPermission = fromPermissionString(READ_HEALTH_DATA_HISTORY) in <lambda>() constant[all …]
60 private val historyReadPermission = listOf(HealthPermissions.READ_HEALTH_DATA_HISTORY) in <lambda>() constant249 return permission in historyReadPermission && !featureUtils.isHistoryReadEnabled() in <lambda>()