Home
last modified time | relevance | path

Searched refs:DeleteDataEntry (Results 1 – 9 of 9) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/deletion/
DDeletionType.kt154 data class DeleteDataEntry(val id: String, val dataType: DataType, val index: Int) : class in com.android.healthconnect.controller.deletion.DeletionType
172 companion object CREATOR : Parcelable.Creator<DeleteDataEntry> {
173 override fun createFromParcel(parcel: Parcel): DeleteDataEntry { in createFromParcel()
174 return DeleteDataEntry(parcel) in createFromParcel()
177 override fun newArray(size: Int): Array<DeleteDataEntry?> { in newArray()
DDeletionViewModel.kt69 is DeletionType.DeleteDataEntry -> false in setDeletionType()
122 is DeletionType.DeleteDataEntry -> { in delete()
DDeletionConfirmationDialogFragment.kt128 is DeletionType.DeleteDataEntry -> { in <lambda>()
156 if (deletionType is DeletionType.DeleteDataEntry && in <lambda>()
DDeletionFragment.kt190 is DeletionType.DeleteDataEntry -> showConfirmationDialog() in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/deletion/api/
DDeleteEntryUseCase.kt20 import com.android.healthconnect.controller.deletion.DeletionType.DeleteDataEntry
35 suspend fun invoke(deleteEntry: DeleteDataEntry) = in invoke()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/api/
DDeleteEntryUseCaseTest.kt21 import com.android.healthconnect.controller.deletion.DeletionType.DeleteDataEntry in <lambda>()
66 useCase.invoke(DeleteDataEntry("test_id", DataType.STEPS, 0)) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/
DDataEntriesFragment.kt226 val index = (params.deletionType as DeletionType.DeleteDataEntry).index in <lambda>()
290 val deletionType = DeletionType.DeleteDataEntry(uuid, dataType, index) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/entrydetails/
DDataEntryDetailsFragment.kt251 val deletionType = DeletionType.DeleteDataEntry(uuid, dataType, index) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/
DDeletionFragmentTest.kt831 val deletionEntry = DeletionType.DeleteDataEntry("test_id", DataType.STEPS, 0) in deleteAllData_confirmationDialogForEntry_showsCorrectText()