/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/deletion/ |
D | DeletionParameters.kt | 32 var deletionType: DeletionType = DeletionType.DeletionTypeAllData(), 44 parcel.readParcelable(DeletionType::class.java.classLoader, DeletionType::class.java) 45 ?: DeletionType.DeletionTypeAllData(), 80 if (deletionType is DeletionType.DeletionTypeHealthPermissionTypeData) in getPermissionTypeLabel() 81 (deletionType as DeletionType.DeletionTypeHealthPermissionTypeData) in getPermissionTypeLabel() 84 (deletionType as DeletionType.DeletionTypeHealthPermissionTypeFromApp) in getPermissionTypeLabel() 96 val category = (deletionType as DeletionType.DeletionTypeCategoryData).category in getCategoryLabel() 105 if (deletionType is DeletionType.DeletionTypeAppData) in getAppName() 106 (deletionType as DeletionType.DeletionTypeAppData).appName in getAppName() 107 else (deletionType as DeletionType.DeletionTypeHealthPermissionTypeFromApp).appName in getAppName()
|
D | DeletionViewModel.kt | 66 fun setDeletionType(deletionType: DeletionType) { in setDeletionType() 69 is DeletionType.DeleteDataEntry -> false in setDeletionType() 122 is DeletionType.DeleteDataEntry -> { in delete() 125 is DeletionType.DeletionTypeAllData -> { in delete() 131 is DeletionType.DeletionTypeCategoryData -> { in delete() 137 is DeletionType.DeletionTypeHealthPermissionTypeData -> { in delete() 142 is DeletionType.DeletionTypeAppData -> { in delete()
|
D | DeletionType.kt | 25 sealed class DeletionType : Parcelable { class 26 class DeletionTypeAllData() : DeletionType() { 49 ) : DeletionType() { 75 data class DeletionTypeCategoryData(val category: @HealthDataCategoryInt Int) : DeletionType() { 97 data class DeletionTypeAppData(val packageName: String, val appName: String) : DeletionType() { 124 ) : DeletionType() { 155 DeletionType() {
|
D | TimeRangeDialogFragment.kt | 83 val deletionType: DeletionType = deletionParameters.deletionType in <lambda>() 86 is DeletionType.DeletionTypeAllData -> in <lambda>() 88 is DeletionType.DeletionTypeHealthPermissionTypeData, in <lambda>() 89 is DeletionType.DeletionTypeHealthPermissionTypeFromApp -> { in <lambda>() 93 is DeletionType.DeletionTypeCategoryData -> { in <lambda>() 97 is DeletionType.DeletionTypeAppData -> { in <lambda>()
|
D | DeletionConfirmationDialogFragment.kt | 88 is DeletionType.DeletionTypeAllData -> { in <lambda>() 99 is DeletionType.DeletionTypeHealthPermissionTypeData -> { in <lambda>() 115 is DeletionType.DeletionTypeCategoryData -> { in <lambda>() 128 is DeletionType.DeleteDataEntry -> { in <lambda>() 131 is DeletionType.DeletionTypeAppData -> { in <lambda>() 156 if (deletionType is DeletionType.DeleteDataEntry && in <lambda>()
|
D | DeletionFragment.kt | 67 val deletionType = bundle.getParcelable(DELETION_TYPE, DeletionType::class.java) in <lambda>() 81 val deletionType = bundle.getParcelable(DELETION_TYPE, DeletionType::class.java) in <lambda>() 148 if (viewModel.deletionParameters.value?.deletionType is DeletionType.DeletionTypeAppData && in <lambda>() 185 private fun showFirstDialog(deletionType: DeletionType, isInactiveApp: Boolean) { in <lambda>() 190 is DeletionType.DeleteDataEntry -> showConfirmationDialog() in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/ |
D | DeletionParametersTest.kt | 8 import com.android.healthconnect.controller.deletion.DeletionType 27 deletionType = DeletionType.DeletionTypeAllData(), in deletionToParcel() 45 DeletionType.DeletionTypeHealthPermissionTypeData( in deletionTypeHealthPermissionTypeData_toParcel() 68 (outValue?.deletionType as DeletionType.DeletionTypeHealthPermissionTypeData) in deletionTypeHealthPermissionTypeData_toParcel() 79 val deletionType = DeletionType.DeletionTypeCategoryData(HealthDataCategory.ACTIVITY) in deletionTypeCategoryData_toParcel() 101 (outValue?.deletionType as DeletionType.DeletionTypeCategoryData).category) in deletionTypeCategoryData_toParcel() 113 DeletionType.DeletionTypeHealthPermissionTypeFromApp( in getPermissionTypeLabel_permissionTypeFromApp_correctPermissionLabelReturned() 147 deletionType = DeletionType.DeletionTypeAllData()) in getStartTimeInstant_24HoursRangeSelected_correctStartTimeReturned() 159 deletionType = DeletionType.DeletionTypeAllData()) in getStartTimeInstant_7DaysRangeSelected_correctStartTimeReturned() 171 deletionType = DeletionType.DeletionTypeAllData()) in getStartTimeInstant_30DaysRangeSelected_correctStartTimeReturned() [all …]
|
D | DeletionFragmentTest.kt | 38 import com.android.healthconnect.controller.deletion.DeletionType 70 val deletionTypeAllData = DeletionType.DeletionTypeAllData() in deleteAllData_timeRangeDialog_showsCorrectText() 101 DeletionType.DeletionTypeCategoryData(category = HealthDataCategory.ACTIVITY) in deleteCategoryData_timeRangeDialog_showsCorrectText() 132 DeletionType.DeletionTypeHealthPermissionTypeData( in deletePermissionTypeData_timeRangeDialog_showsCorrectText() 165 DeletionType.DeletionTypeAppData( in deleteAppData_timeRangeDialog_showsCorrectText() 196 val deletionTypeAllData = DeletionType.DeletionTypeAllData() in deleteAllData_confirmationDialogForOneDay_showsCorrectText() 229 val deletionTypeAllData = DeletionType.DeletionTypeAllData() in deleteAllData_confirmationDialogForOneWeek_showsCorrectText() 262 val deletionTypeAllData = DeletionType.DeletionTypeAllData() in deleteAllData_confirmationDialogForOneMonth_showsCorrectText() 295 val deletionTypeAllData = DeletionType.DeletionTypeAllData() in deleteAllData_confirmationDialogForAllTime_showsCorrectText() 329 DeletionType.DeletionTypeCategoryData(category = HealthDataCategory.ACTIVITY) in deleteCategoryData_confirmationDialogForOneDay_showsCorrectText() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/selectabledeletion/ |
D | DeletionTypeTest.kt | 5 import com.android.healthconnect.controller.selectabledeletion.DeletionType 17 DeletionType.DeletionTypeHealthPermissionTypes( in deletionTypeHealthPermissionTypeData_isParcelable() 27 DeletionType.DeletionTypeHealthPermissionTypes.CREATOR.createFromParcel(parcel) in deletionTypeHealthPermissionTypeData_isParcelable() 39 DeletionType.DeletionTypeAppData( in deletionTypeAppData_isParcelable() 47 DeletionType.DeletionTypeAppData.CREATOR.createFromParcel(parcel) in deletionTypeAppData_isParcelable() 59 DeletionType.DeletionTypeEntries( in deletionTypeEntries_isParcelable() 67 DeletionType.DeletionTypeEntries.CREATOR.createFromParcel(parcel) in deletionTypeEntries_isParcelable() 79 DeletionType.DeletionTypeHealthPermissionTypesFromApp( in deletionTypeHealthPermissionTypesFromApp_isParcelable() 91 DeletionType.DeletionTypeHealthPermissionTypesFromApp.CREATOR.createFromParcel(parcel) in deletionTypeHealthPermissionTypesFromApp_isParcelable()
|
D | DeletionViewModelTest.kt | 19 import com.android.healthconnect.controller.selectabledeletion.DeletionType 102 DeletionType.DeletionTypeHealthPermissionTypes(listOf(HealthPermissionType.DISTANCE)) in <lambda>()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | DeletionPreference.java | 35 DeletionType.FreeableChangedListener, OnPreferenceChangeListener { 36 private DeletionType.FreeableChangedListener mListener; 39 private DeletionType mDeletionService; 65 public void registerFreeableChangedListener(DeletionType.FreeableChangedListener listener) { in registerFreeableChangedListener() 73 public void registerDeletionService(DeletionType deletionService) { in registerDeletionService() 84 public DeletionType getDeletionService() { in getDeletionService()
|
D | DownloadsDeletionPreferenceGroup.java | 42 implements DeletionType.FreeableChangedListener, Preference.OnPreferenceChangeListener { 44 private DeletionType.FreeableChangedListener mListener; 76 public void registerFreeableChangedListener(DeletionType.FreeableChangedListener listener) { in registerFreeableChangedListener()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/selectabledeletion/ |
D | DeletionType.kt | 24 sealed class DeletionType : Parcelable { in <lambda>() class 27 ) : DeletionType() { in <lambda>() 62 ) : DeletionType() { in <lambda>() 99 data class DeletionTypeEntries(val ids: List<String>, val dataType: DataType) : DeletionType() { in <lambda>() 124 data class DeletionTypeAppData(val packageName: String, val appName: String) : DeletionType() { in <lambda>() 147 class DeletionTypeAllData() : DeletionType() { in <lambda>()
|
D | DeletionViewModel.kt | 39 private lateinit var deletionType: DeletionType 61 is DeletionType.DeletionTypeHealthPermissionTypes -> { in delete() 63 deletionType as DeletionType.DeletionTypeHealthPermissionTypes) in delete() 89 …deletionType = DeletionType.DeletionTypeHealthPermissionTypes(setOfPermissionTypesToBeDeleted.toLi… in setDeleteSet()
|
/packages/apps/StorageManager/src/com/android/storagemanager/overlay/ |
D | DeletionHelperFeatureProvider.java | 20 import com.android.storagemanager.deletionhelper.DeletionType; 27 DeletionType createPhotoVideoDeletionType(Context context, int thresholdType); in createPhotoVideoDeletionType()
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/ |
D | DownloadsDeletionTypeTest.java | 28 import com.android.storagemanager.deletionhelper.DeletionType; 29 import com.android.storagemanager.deletionhelper.DeletionType.LoadingStatus; 150 DeletionType.FreeableChangedListener mockListener = in testCallbackOnFileLoad() 151 mock(DeletionType.FreeableChangedListener.class); in testCallbackOnFileLoad()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/deletion/api/ |
D | DeletePermissionTypeUseCase.kt | 21 import com.android.healthconnect.controller.deletion.DeletionType in <lambda>() 39 deletePermissionType: DeletionType.DeletionTypeHealthPermissionTypeData, in <lambda>()
|
D | DeleteCategoryUseCase.kt | 21 import com.android.healthconnect.controller.deletion.DeletionType in <lambda>() 41 deleteCategory: DeletionType.DeletionTypeCategoryData, in <lambda>()
|
D | DeleteAppDataUseCase.kt | 22 import com.android.healthconnect.controller.deletion.DeletionType 40 deleteAppData: DeletionType.DeletionTypeAppData, in invoke()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/selectabledeletion/api/ |
D | DeletePermissionTypesFromAppUseCase.kt | 21 import com.android.healthconnect.controller.selectabledeletion.DeletionType in <lambda>() 42 deletePermissionTypesFromApp: DeletionType.DeletionTypeHealthPermissionTypesFromApp, in <lambda>()
|
D | DeleteAppDataUseCase.kt | 22 import com.android.healthconnect.controller.selectabledeletion.DeletionType 39 deleteAppData: DeletionType.DeletionTypeAppData, in invoke()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/api/ |
D | DeleteAppDataUseCaseTest.kt | 22 import com.android.healthconnect.controller.deletion.DeletionType in <lambda>() 70 DeletionType.DeletionTypeAppData(packageName = "package.name", appName = "APP_NAME") in <lambda>()
|
D | DeletePermissionTypeUseCaseTest.kt | 23 import com.android.healthconnect.controller.deletion.DeletionType in <lambda>() 70 DeletionType.DeletionTypeHealthPermissionTypeData(HealthPermissionType.STEPS) in <lambda>()
|
D | DeleteCategoryUseCaseTest.kt | 36 import com.android.healthconnect.controller.deletion.DeletionType in <lambda>() 81 val deleteCategory = DeletionType.DeletionTypeCategoryData(HealthDataCategory.ACTIVITY) in <lambda>()
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | CollapsibleCheckboxPreferenceGroupTest.java | 29 import com.android.storagemanager.deletionhelper.DeletionType.LoadingStatus; 47 @Mock private DeletionType mDeletionType;
|