Searched refs:deletionParameters (Results 1 – 8 of 8) sorted by relevance
24 val deletionParameters = in deletionToParcel() constant31 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() constant57 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 …]
72 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 …]
83 val deletionParameters = viewModel.deletionParameters.value ?: DeletionParameters() in <lambda>() constant84 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>() constant153 val deletionType = deletionParameters.deletionType in <lambda>()161 dateFormatter.formatLongDate(deletionParameters.startTimeMs.toInstant()), in <lambda>()162 dateFormatter.formatLongDate(deletionParameters.endTimeMs.toInstant())) + in <lambda>()
82 val deletionParameters = viewModel.deletionParameters.value ?: DeletionParameters() in <lambda>() constant83 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>()
119 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>()
54 val deletionParameters: LiveData<DeletionParameters> constant in com.android.healthconnect.controller.deletion.DeletionViewModel132 deletionParameters.value?.let { in delete()138 deletionParameters.value?.let { in delete()143 deletionParameters.value?.let { in delete()
52 val appName = viewModel.deletionParameters.value?.getAppName() in <lambda>()
223 deletionViewModel.deletionParameters.observe(viewLifecycleOwner) { params -> in <lambda>()