Home
last modified time | relevance | path

Searched refs:DeletionState (Results 1 – 6 of 6) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/deletion/
DDeletionViewModel.kt103 private fun setDeletionState(newState: DeletionState) { in setDeletionState()
109 setDeletionState(DeletionState.STATE_DELETION_STARTED) in delete()
113 setDeletionState(DeletionState.STATE_PROGRESS_INDICATOR_STARTED) in delete()
153 setDeletionState(DeletionState.STATE_DELETION_SUCCESSFUL) in delete()
157 setDeletionState(DeletionState.STATE_DELETION_FAILED) in delete()
159 setDeletionState(DeletionState.STATE_PROGRESS_INDICATOR_CAN_END) in delete()
DDeletionParameters.kt33 val deletionState: DeletionState = DeletionState.STATE_NO_DELETION_IN_PROGRESS,
46 DeletionState.valueOf(
47 parcel.readString() ?: DeletionState.STATE_NO_DELETION_IN_PROGRESS.toString()),
141 enum class DeletionState { class
DDeletionFragment.kt126 DeletionState.STATE_NO_DELETION_IN_PROGRESS -> { in <lambda>()
129 DeletionState.STATE_PROGRESS_INDICATOR_STARTED -> { in <lambda>()
132 DeletionState.STATE_PROGRESS_INDICATOR_CAN_END -> { in <lambda>()
135 DeletionState.STATE_DELETION_SUCCESSFUL -> { in <lambda>()
138 DeletionState.STATE_DELETION_FAILED -> { in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/
DDeletionParametersTest.kt7 import com.android.healthconnect.controller.deletion.DeletionState
53 deletionState = DeletionState.STATE_DELETION_STARTED, in deletionTypeHealthPermissionTypeData_toParcel()
86 deletionState = DeletionState.STATE_DELETION_STARTED, in deletionTypeCategoryData_toParcel()
DDeletionFragmentTest.kt37 import com.android.healthconnect.controller.deletion.DeletionState
911 deletionState = DeletionState.STATE_PROGRESS_INDICATOR_STARTED, in deleteFragment_progressIndicatorStartedState_progressIndicatorShown()
949 deletionState = DeletionState.STATE_PROGRESS_INDICATOR_CAN_END, in deleteFragment_progressIndicatorCanEndState_progressIndicatorDisappears()
987 deletionState = DeletionState.STATE_DELETION_SUCCESSFUL, in deleteFragment_deletionSuccessfulState_successMessageShown()
1029 deletionState = DeletionState.STATE_DELETION_FAILED, in deleteFragment_deletionFailedState_failureMessageShown()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/
DDataEntriesFragment.kt50 import com.android.healthconnect.controller.deletion.DeletionState in <lambda>()
225 DeletionState.STATE_DELETION_SUCCESSFUL -> { in <lambda>()