Home
last modified time | relevance | path

Searched refs:additionalAccessState (Results 1 – 11 of 11) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/
DAdditionalAccessFragmentTest.kt103 whenever(additionalAccessViewModel.additionalAccessState).then { MutableLiveData(State()) } in <lambda>()
134 whenever(additionalAccessViewModel.additionalAccessState).then { in <lambda>()
152 whenever(additionalAccessViewModel.additionalAccessState).then { in <lambda>()
166 whenever(additionalAccessViewModel.additionalAccessState).then { in <lambda>()
185 whenever(additionalAccessViewModel.additionalAccessState).then { MutableLiveData(state) } in <lambda>()
226 whenever(additionalAccessViewModel.additionalAccessState).then { MutableLiveData(state) } in <lambda>()
264 whenever(additionalAccessViewModel.additionalAccessState).then { MutableLiveData(state) } in <lambda>()
305 whenever(additionalAccessViewModel.additionalAccessState).then { MutableLiveData(state) } in <lambda>()
346 whenever(additionalAccessViewModel.additionalAccessState).then { MutableLiveData(state) } in <lambda>()
402 whenever(additionalAccessViewModel.additionalAccessState).then { MutableLiveData(state) } in <lambda>()
[all …]
DExerciseRoutesPermissionDialogFragmentTest.kt77 whenever(additionalAccessViewModel.additionalAccessState).then { in setup()
84 whenever(additionalAccessViewModel.additionalAccessState).then { in showDialog_permissionStateGranted_preselectCorrectView()
98 whenever(additionalAccessViewModel.additionalAccessState).then { in showDialog_permissionStateDeclared_preselectCorrectView()
110 whenever(additionalAccessViewModel.additionalAccessState).then { in showDialog_permissionStateRevoked_preselectCorrectView()
144 whenever(additionalAccessViewModel.additionalAccessState).then { in onOptionSelected_withRevoke_callsViewModelWithRevoked()
DAdditionalAccessViewModelTest.kt162 additionalAccessViewModel.additionalAccessState.observeForever( in <lambda>()
200 additionalAccessViewModel.additionalAccessState.observeForever( in <lambda>()
240 additionalAccessViewModel.additionalAccessState.observeForever( in loadAdditionalAccessPreferences_backgroundReadNotEnabled_doesNotReturnBackgroundRead()
282 additionalAccessViewModel.additionalAccessState.observeForever( in loadAdditionalAccessPreferences_noReadPermissionsGranted_additionalPermissionsDisabled()
325 additionalAccessViewModel.additionalAccessState.observeForever( in <lambda>()
360 additionalAccessViewModel.additionalAccessState.observeForever( in <lambda>()
397 additionalAccessViewModel.additionalAccessState.observeForever( in <lambda>()
438 additionalAccessViewModel.additionalAccessState.observeForever( in <lambda>()
476 additionalAccessViewModel.additionalAccessState.observeForever( in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/
DConnectedAppFragmentTest.kt131 whenever(additionalAccessViewModel.additionalAccessState).then { in <lambda>()
442 whenever(additionalAccessViewModel.additionalAccessState).then { in <lambda>()
545 whenever(additionalAccessViewModel.additionalAccessState).then { in <lambda>()
561 whenever(additionalAccessViewModel.additionalAccessState).then { in <lambda>()
580 whenever(additionalAccessViewModel.additionalAccessState).then { in <lambda>()
599 whenever(additionalAccessViewModel.additionalAccessState).then { in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/additionalaccess/
DExerciseRoutesPermissionDialogFragment.kt118 val state = viewModel.additionalAccessState.value?.exerciseRoutePermissionUIState in <lambda>()
129 viewModel.additionalAccessState.observe(viewLifecycleOwner) { screenState -> in <lambda>()
DAdditionalAccessViewModel.kt66 val additionalAccessState: LiveData<State> in <lambda>() constant in com.android.healthconnect.controller.permissions.additionalaccess.AdditionalAccessViewModel
DAdditionalAccessFragment.kt87 viewModel.additionalAccessState.observe(viewLifecycleOwner) { state -> in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/settings/
DSettingsManageAppPermissionsFragmentTest.kt127 whenever(additionalAccessViewModel.additionalAccessState).then { in <lambda>()
354 whenever(additionalAccessViewModel.additionalAccessState).then { in <lambda>()
370 whenever(additionalAccessViewModel.additionalAccessState).then { in <lambda>()
387 whenever(additionalAccessViewModel.additionalAccessState).then { in <lambda>()
403 whenever(additionalAccessViewModel.additionalAccessState).then { in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/
DSettingsManageAppPermissionsFragment.kt238 additionalAccessViewModel.additionalAccessState.observe(viewLifecycleOwner) { state -> in <lambda>()
329 additionalAccessViewModel.additionalAccessState.value?.historyReadUIState?.isDeclared in <lambda>()
DConnectedAppFragment.kt249 additionalAccessViewModel.additionalAccessState.observe(viewLifecycleOwner) { state -> in <lambda>()
372 additionalAccessViewModel.additionalAccessState.value?.historyReadUIState?.isDeclared in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/shared/
DDisconnectDialogFragment.kt75 viewModel.additionalAccessState.value ?: AdditionalAccessViewModel.State() in <lambda>()