Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/additionalaccess/
DExerciseRoutesPermissionDialogFragment.kt63 viewModel.updateExerciseRouteState(packageName, ALWAYS_ALLOW) in <lambda>()
67 viewModel.updateExerciseRouteState(packageName, ASK_EVERY_TIME) in <lambda>()
71 viewModel.updateExerciseRouteState(packageName, NEVER_ALLOW) in <lambda>()
DAdditionalAccessViewModel.kt152 fun updateExerciseRouteState(packageName: String, exerciseRouteNewState: PermissionUiState) { in <lambda>() method
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/
DExerciseRoutesPermissionDialogFragmentTest.kt128 .updateExerciseRouteState(safeEq(TEST_APP_PACKAGE_NAME), safeEq(ALWAYS_ALLOW)) in onOptionSelected_withAllowAll_callsViewModelWithGranted()
139 .updateExerciseRouteState(safeEq(TEST_APP_PACKAGE_NAME), safeEq(ASK_EVERY_TIME)) in onOptionSelected_withAskEveryTime_callsViewModelWithDeclared()
153 .updateExerciseRouteState(safeEq(TEST_APP_PACKAGE_NAME), safeEq(NEVER_ALLOW)) in onOptionSelected_withRevoke_callsViewModelWithRevoked()
DAdditionalAccessViewModelTest.kt339 additionalAccessViewModel.updateExerciseRouteState( in <lambda>()
374 additionalAccessViewModel.updateExerciseRouteState( in <lambda>()
411 additionalAccessViewModel.updateExerciseRouteState( in <lambda>()
452 additionalAccessViewModel.updateExerciseRouteState( in <lambda>()
490 additionalAccessViewModel.updateExerciseRouteState( in <lambda>()