Home
last modified time | relevance | path

Searched refs:deletionParameters (Results 1 – 8 of 8) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/
DDeletionParametersTest.kt24 val deletionParameters = in deletionToParcel() constant
31 bundle.putParcelable("DELETION_TEST", deletionParameters) in deletionToParcel()
36 assertTrue(deletionParameters.chosenRange == outValue?.chosenRange) in deletionToParcel()
37 assertTrue(deletionParameters.deletionType == outValue?.deletionType) in deletionToParcel()
47 val deletionParameters = in deletionTypeHealthPermissionTypeData_toParcel() constant
57 bundle.putParcelable("DELETION_TEST", deletionParameters) in deletionTypeHealthPermissionTypeData_toParcel()
62 assertTrue(deletionParameters.chosenRange == outValue?.chosenRange) in deletionTypeHealthPermissionTypeData_toParcel()
63 assertTrue(deletionParameters.startTimeMs == outValue?.startTimeMs) in deletionTypeHealthPermissionTypeData_toParcel()
64 assertTrue(deletionParameters.endTimeMs == outValue?.endTimeMs) in deletionTypeHealthPermissionTypeData_toParcel()
65 assertTrue(deletionParameters.deletionType == outValue?.deletionType) in deletionTypeHealthPermissionTypeData_toParcel()
[all …]
DDeletionFragmentTest.kt72 Mockito.`when`(viewModel.deletionParameters).then { in deleteAllData_timeRangeDialog_showsCorrectText()
103 Mockito.`when`(viewModel.deletionParameters).then { in deleteCategoryData_timeRangeDialog_showsCorrectText()
135 Mockito.`when`(viewModel.deletionParameters).then { in deletePermissionTypeData_timeRangeDialog_showsCorrectText()
168 Mockito.`when`(viewModel.deletionParameters).then { in deleteAppData_timeRangeDialog_showsCorrectText()
198 Mockito.`when`(viewModel.deletionParameters).then { in deleteAllData_confirmationDialogForOneDay_showsCorrectText()
231 Mockito.`when`(viewModel.deletionParameters).then { in deleteAllData_confirmationDialogForOneWeek_showsCorrectText()
264 Mockito.`when`(viewModel.deletionParameters).then { in deleteAllData_confirmationDialogForOneMonth_showsCorrectText()
297 Mockito.`when`(viewModel.deletionParameters).then { in deleteAllData_confirmationDialogForAllTime_showsCorrectText()
331 Mockito.`when`(viewModel.deletionParameters).then { in deleteCategoryData_confirmationDialogForOneDay_showsCorrectText()
364 Mockito.`when`(viewModel.deletionParameters).then { in deleteCategoryData_confirmationDialogForOneWeek_showsCorrectText()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/deletion/
DDeletionConfirmationDialogFragment.kt83 val deletionParameters = viewModel.deletionParameters.value ?: DeletionParameters() in <lambda>() constant
84 val deletionType = deletionParameters.deletionType in <lambda>()
85 val chosenRange = deletionParameters.chosenRange in <lambda>()
100 val permissionTypeLabel = getString(deletionParameters.getPermissionTypeLabel()) in <lambda>()
116 val categoryLabel = getString(deletionParameters.getCategoryLabel()) in <lambda>()
132 val appName = deletionParameters.getAppName() in <lambda>()
152 val deletionParameters = viewModel.deletionParameters.value ?: DeletionParameters() in <lambda>() constant
153 val deletionType = deletionParameters.deletionType in <lambda>()
161 dateFormatter.formatLongDate(deletionParameters.startTimeMs.toInstant()), in <lambda>()
162 dateFormatter.formatLongDate(deletionParameters.endTimeMs.toInstant())) + in <lambda>()
DTimeRangeDialogFragment.kt82 val deletionParameters = viewModel.deletionParameters.value ?: DeletionParameters() in <lambda>() constant
83 val deletionType: DeletionType = deletionParameters.deletionType in <lambda>()
90 val permissionTypeLabel = getString(deletionParameters.getPermissionTypeLabel()) in <lambda>()
94 val categoryLabel = getString(deletionParameters.getCategoryLabel()) in <lambda>()
98 val appName = deletionParameters.getAppName() in <lambda>()
DDeletionFragment.kt119 viewModel.deletionParameters.observe(viewLifecycleOwner) { deletion -> in <lambda>()
124 private fun render(deletionParameters: DeletionParameters) { in <lambda>()
125 when (deletionParameters.deletionState) { in <lambda>()
148 if (viewModel.deletionParameters.value?.deletionType is DeletionType.DeletionTypeAppData && in <lambda>()
149 viewModel.deletionParameters.value?.chosenRange == ChosenRange.DELETE_RANGE_ALL_DATA) { in <lambda>()
DDeletionViewModel.kt54 val deletionParameters: LiveData<DeletionParameters> constant in com.android.healthconnect.controller.deletion.DeletionViewModel
132 deletionParameters.value?.let { in delete()
138 deletionParameters.value?.let { in delete()
143 deletionParameters.value?.let { in delete()
DDeletionAppDataConfirmationDialogFragment.kt52 val appName = viewModel.deletionParameters.value?.getAppName() in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/
DDataEntriesFragment.kt223 deletionViewModel.deletionParameters.observe(viewLifecycleOwner) { params -> in <lambda>()