Searched refs:exerciseRoutePermissionUIState (Results 1 – 8 of 8) sorted by relevance
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/additionalaccess/ |
D | AdditionalAccessViewModel.kt | 100 exerciseRoutePermissionUIState = in <lambda>() 106 exerciseRoutePermissionUIState = NOT_DECLARED, in <lambda>() 155 screenState.exerciseRoutePermissionUIState == exerciseRouteNewState) in <lambda>() 168 if (screenState.exerciseRoutePermissionUIState == ALWAYS_ALLOW) { in <lambda>() 170 } else if (screenState.exerciseRoutePermissionUIState == NEVER_ALLOW) { in <lambda>() 176 if (screenState.exerciseRoutePermissionUIState == ALWAYS_ALLOW) { in <lambda>() 211 val exerciseRoutePermissionUIState: PermissionUiState = NOT_DECLARED, in <lambda>() constant in com.android.healthconnect.controller.permissions.additionalaccess.AdditionalAccessViewModel.State 225 return (exerciseRoutePermissionUIState != NOT_DECLARED && in <lambda>()
|
D | ExerciseRoutesPermissionDialogFragment.kt | 118 val state = viewModel.additionalAccessState.value?.exerciseRoutePermissionUIState in <lambda>() 130 permissionRadioGroup.check(getId(screenState.exerciseRoutePermissionUIState)) in <lambda>()
|
D | AdditionalAccessFragment.kt | 157 setupExerciseRoutePref(state.exerciseRoutePermissionUIState) in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/ |
D | ExerciseRoutesPermissionDialogFragmentTest.kt | 78 MutableLiveData(State(exerciseRoutePermissionUIState = NEVER_ALLOW)) in setup() 85 MutableLiveData(State(exerciseRoutePermissionUIState = ALWAYS_ALLOW)) in showDialog_permissionStateGranted_preselectCorrectView() 99 MutableLiveData(State(exerciseRoutePermissionUIState = ASK_EVERY_TIME)) in showDialog_permissionStateDeclared_preselectCorrectView() 111 MutableLiveData(State(exerciseRoutePermissionUIState = NEVER_ALLOW)) in showDialog_permissionStateRevoked_preselectCorrectView() 145 MutableLiveData(State(exerciseRoutePermissionUIState = ALWAYS_ALLOW)) in onOptionSelected_withRevoke_callsViewModelWithRevoked()
|
D | AdditionalAccessFragmentTest.kt | 133 val exerciseRouteDeclaredState = State(exerciseRoutePermissionUIState = ASK_EVERY_TIME) in <lambda>() 151 val exerciseRouteGrantedState = State(exerciseRoutePermissionUIState = ALWAYS_ALLOW) in <lambda>() 165 val exerciseRouteRevokedState = State(exerciseRoutePermissionUIState = NEVER_ALLOW) in <lambda>() 181 exerciseRoutePermissionUIState = ALWAYS_ALLOW, in <lambda>() 222 exerciseRoutePermissionUIState = ALWAYS_ALLOW, in <lambda>() 260 exerciseRoutePermissionUIState = NEVER_ALLOW, in <lambda>() 301 exerciseRoutePermissionUIState = NEVER_ALLOW, in <lambda>() 339 exerciseRoutePermissionUIState = ASK_EVERY_TIME, in <lambda>() 395 exerciseRoutePermissionUIState = ASK_EVERY_TIME, in <lambda>() 449 val exerciseRouteDeclaredState = State(exerciseRoutePermissionUIState = ASK_EVERY_TIME) in <lambda>()
|
D | AdditionalAccessViewModelTest.kt | 171 assertThat(additionalAccessResult.exerciseRoutePermissionUIState) in <lambda>() 209 assertThat(additionalAccessResult.exerciseRoutePermissionUIState) in <lambda>() 249 assertThat(additionalAccessResult.exerciseRoutePermissionUIState) in loadAdditionalAccessPreferences_backgroundReadNotEnabled_doesNotReturnBackgroundRead() 291 assertThat(additionalAccessResult.exerciseRoutePermissionUIState) in loadAdditionalAccessPreferences_noReadPermissionsGranted_additionalPermissionsDisabled() 336 assertThat(additionalAccessResult.exerciseRoutePermissionUIState) in <lambda>() 371 assertThat(additionalAccessResult.exerciseRoutePermissionUIState) in <lambda>() 408 assertThat(additionalAccessResult.exerciseRoutePermissionUIState) in <lambda>() 449 assertThat(additionalAccessResult.exerciseRoutePermissionUIState) in <lambda>() 487 assertThat(additionalAccessResult.exerciseRoutePermissionUIState) in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/settings/ |
D | SettingsManageAppPermissionsFragmentTest.kt | 368 exerciseRoutePermissionUIState = PermissionUiState.ASK_EVERY_TIME, in <lambda>() 401 exerciseRoutePermissionUIState = PermissionUiState.ASK_EVERY_TIME, in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/ |
D | ConnectedAppFragmentTest.kt | 559 exerciseRoutePermissionUIState = PermissionUiState.ASK_EVERY_TIME, in <lambda>() 597 exerciseRoutePermissionUIState = PermissionUiState.ASK_EVERY_TIME, in <lambda>()
|