Searched refs:PermissionUiState (Results 1 – 13 of 13) sorted by relevance
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/additionalaccess/ |
D | LoadExerciseRoutePermissionUseCase.kt | 62 ): PermissionUiState { in getPermissionState() 65 return PermissionUiState.ALWAYS_ALLOW in getPermissionState() 69 return PermissionUiState.NOT_DECLARED in getPermissionState() 72 val flag = permissionFlags[permission] ?: return PermissionUiState.NOT_DECLARED in getPermissionState() 74 return PermissionUiState.NEVER_ALLOW in getPermissionState() 77 return PermissionUiState.ASK_EVERY_TIME in getPermissionState() 82 val exerciseRoutePermissionState: PermissionUiState, 83 val exercisePermissionState: PermissionUiState 86 enum class PermissionUiState { class
|
D | AdditionalAccessViewModel.kt | 29 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState.ALWAYS_A… in <lambda>() 30 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState.ASK_EVER… in <lambda>() 31 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState.NEVER_AL… in <lambda>() 32 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState.NOT_DECL… in <lambda>() 152 fun updateExerciseRouteState(packageName: String, exerciseRouteNewState: PermissionUiState) { in <lambda>() 211 val exerciseRoutePermissionUIState: PermissionUiState = NOT_DECLARED, in <lambda>() 212 val exercisePermissionUIState: PermissionUiState = NOT_DECLARED, in <lambda>()
|
D | ExerciseRoutesPermissionDialogFragment.kt | 34 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState.ALWAYS_A… in <lambda>() 35 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState.ASK_EVER… in <lambda>() 36 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState.NEVER_AL… in <lambda>() 139 private fun getId(currentState: PermissionUiState): Int { in <lambda>()
|
D | AdditionalAccessFragment.kt | 28 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState.ALWAYS_A… in <lambda>() 29 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState.ASK_EVER… in <lambda>() 30 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState.NOT_DECL… in <lambda>() 111 private fun setupExerciseRoutePref(state: PermissionUiState) { in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/ |
D | AdditionalAccessViewModelTest.kt | 28 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState 170 .isEqualTo(PermissionUiState.ALWAYS_ALLOW) in <lambda>() 172 .isEqualTo(PermissionUiState.ALWAYS_ALLOW) in <lambda>() 208 .isEqualTo(PermissionUiState.ALWAYS_ALLOW) in <lambda>() 210 .isEqualTo(PermissionUiState.ALWAYS_ALLOW) in <lambda>() 248 .isEqualTo(PermissionUiState.ALWAYS_ALLOW) in loadAdditionalAccessPreferences_backgroundReadNotEnabled_doesNotReturnBackgroundRead() 250 .isEqualTo(PermissionUiState.ALWAYS_ALLOW) in loadAdditionalAccessPreferences_backgroundReadNotEnabled_doesNotReturnBackgroundRead() 290 .isEqualTo(PermissionUiState.ASK_EVERY_TIME) in loadAdditionalAccessPreferences_noReadPermissionsGranted_additionalPermissionsDisabled() 292 .isEqualTo(PermissionUiState.ASK_EVERY_TIME) in loadAdditionalAccessPreferences_noReadPermissionsGranted_additionalPermissionsDisabled() 335 .isEqualTo(PermissionUiState.ASK_EVERY_TIME) in <lambda>() [all …]
|
D | LoadExerciseRoutePermissionUseCaseTest.kt | 28 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState.ALWAYS_A… 29 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState.ASK_EVER… 30 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState.NEVER_AL… 31 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState.NOT_DECL…
|
D | ExerciseRoutesPermissionDialogFragmentTest.kt | 36 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState.ALWAYS_A… 37 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState.ASK_EVER… 38 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState.NEVER_AL…
|
D | AdditionalAccessFragmentTest.kt | 46 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState.ALWAYS_A… in <lambda>() 47 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState.ASK_EVER… in <lambda>() 48 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState.NEVER_AL… in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/ |
D | AppPermissionViewModelTest.kt | 22 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState 303 exerciseRoutePermissionState = PermissionUiState.ALWAYS_ALLOW, in <lambda>() 304 exercisePermissionState = PermissionUiState.ALWAYS_ALLOW)) in <lambda>() 367 exerciseRoutePermissionState = PermissionUiState.ASK_EVERY_TIME, in <lambda>() 368 exercisePermissionState = PermissionUiState.ALWAYS_ALLOW)) in <lambda>()
|
D | ConnectedAppFragmentTest.kt | 41 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState in <lambda>() 559 exerciseRoutePermissionUIState = PermissionUiState.ASK_EVERY_TIME, in <lambda>() 560 exercisePermissionUIState = PermissionUiState.ASK_EVERY_TIME) in <lambda>() 597 exerciseRoutePermissionUIState = PermissionUiState.ASK_EVERY_TIME, in <lambda>() 598 exercisePermissionUIState = PermissionUiState.ASK_EVERY_TIME) in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/settings/ |
D | SettingsManageAppPermissionsFragmentTest.kt | 45 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState in <lambda>() 368 exerciseRoutePermissionUIState = PermissionUiState.ASK_EVERY_TIME, in <lambda>() 369 exercisePermissionUIState = PermissionUiState.ASK_EVERY_TIME) in <lambda>() 401 exerciseRoutePermissionUIState = PermissionUiState.ASK_EVERY_TIME, in <lambda>() 402 exercisePermissionUIState = PermissionUiState.ASK_EVERY_TIME) in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/di/ |
D | FakeComponents.kt | 52 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState 517 exercisePermissionState = PermissionUiState.ASK_EVERY_TIME, 518 exerciseRoutePermissionState = PermissionUiState.ASK_EVERY_TIME)
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/ |
D | AppPermissionViewModel.kt | 28 import com.android.healthconnect.controller.permissions.additionalaccess.PermissionUiState.ALWAYS_A… in <lambda>()
|