Home
last modified time | relevance | path

Searched refs:showDataOrigin (Results 1 – 19 of 19) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/api/
DLoadDataAggregationsUseCase.kt83 val showDataOrigin = input.showDataOrigin in <lambda>() constant
91 showDataOrigin, in <lambda>()
99 showDataOrigin, in <lambda>()
107 showDataOrigin, in <lambda>()
115 showDataOrigin, in <lambda>()
130 showDataOrigin: Boolean, in <lambda>()
146 return formatAggregation(aggregationResult, apps, showDataOrigin, healthPermissionType) in <lambda>()
152 showDataOrigin: Boolean, in <lambda>()
155 val contributingApps = getContributingApps(apps, showDataOrigin) in <lambda>()
194 showDataOrigin: Boolean in <lambda>()
[all …]
DLoadMenstruationDataUseCase.kt53 val showDataOrigin = input.showDataOrigin in <lambda>() constant
55 addAll(getMenstruationPeriodRecords(packageName, selectedDate, period, showDataOrigin)) in <lambda>()
56 addAll(getMenstruationFlowRecords(packageName, selectedDate, period, showDataOrigin)) in <lambda>()
65 showDataOrigin: Boolean in <lambda>()
93 exactStart, record as MenstruationPeriodRecord, showDataOrigin) in <lambda>()
101 showDataOrigin: Boolean in <lambda>()
109 return loadEntriesHelper.maybeAddDateSectionHeaders(records, period, showDataOrigin) in <lambda>()
117 val showDataOrigin: Boolean constant in com.android.healthconnect.controller.data.entries.api.LoadMenstruationDataInput
DLoadEntriesHelper.kt123 showDataOrigin: Boolean in <lambda>()
129 return entries.mapNotNull { record -> getFormatterRecord(record, showDataOrigin) } in <lambda>()
142 getFormatterRecord(it, showDataOrigin)?.let { formattedRecord -> in <lambda>()
193 showDataOrigin: Boolean in <lambda>()
196 healthDataEntryFormatter.format(record, showDataOrigin) in <lambda>()
DLoadDataEntriesUseCase.kt42 entryRecords, input.period, input.showDataOrigin) in execute()
51 val showDataOrigin: Boolean constant in com.android.healthconnect.controller.data.entries.api.LoadDataEntriesInput
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/
DEntriesViewModel.kt74 loadData(permissionType, packageName = null, selectedDate, period, showDataOrigin = true) in loadEntries()
83 loadData(permissionType, packageName, selectedDate, period, showDataOrigin = false) in loadEntries()
91 showDataOrigin: Boolean in loadData()
103 loadMenstruation(packageName, selectedDate, period, showDataOrigin) in loadData()
107 permissionType, packageName, selectedDate, period, showDataOrigin) in loadData()
117 permissionType, packageName, selectedDate, period, list, showDataOrigin) in loadData()
134 showDataOrigin: Boolean in loadAppEntries()
137 LoadDataEntriesInput(permissionType, packageName, selectedDate, period, showDataOrigin) in loadAppEntries()
145 showDataOrigin: Boolean in loadMenstruation()
147 val input = LoadMenstruationDataInput(packageName, selectedDate, period, showDataOrigin) in loadMenstruation()
[all …]
DAllEntriesFragment.kt76 permissionType, id, showDataOrigin = true)) in <lambda>()
DAppEntriesFragment.kt83 permissionType, id, showDataOrigin = false)) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/entrydetails/
DLoadEntryDetailsUseCase.kt49 formatEntry(results[0], input.showDataOrigin) in <lambda>()
63 private suspend fun formatEntry(record: Record, showDataOrigin: Boolean): List<FormattedEntry> { in <lambda>()
66 add(entryFormatter.format(record, showDataOrigin)) in <lambda>()
76 val showDataOrigin: Boolean constant in com.android.healthconnect.controller.entrydetails.LoadDataEntryInput
DDataEntryDetailsFragment.kt77 showDataOrigin: Boolean in <lambda>()
82 SHOW_DATA_ORIGIN_KEY to showDataOrigin) in <lambda>()
96 private var showDataOrigin: Boolean = false in <lambda>() variable in com.android.healthconnect.controller.entrydetails.DataEntryDetailsFragment
171 showDataOrigin = in <lambda>()
201 viewModel.loadEntryData(permissionType, entryId, showDataOrigin) in <lambda>()
DDataEntryDetailsViewModel.kt44 showDataOrigin: Boolean in loadEntryData()
49 LoadDataEntryInput(permissionType, entryId, showDataOrigin)) in loadEntryData()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/entrydetails/
DDataEntryDetailsFragmentTest.kt128 permissionType = SLEEP, entryId = "1", showDataOrigin = true)) in dataEntriesDetailsInit_showsFragment()
139 permissionType = SLEEP, entryId = "1", showDataOrigin = true)) in dataEntriesDetailsInit_error_showsError()
150 permissionType = SLEEP, entryId = "1", showDataOrigin = true)) in dataEntriesDetailsInit_loading_showsLoading()
173 permissionType = SLEEP, entryId = "1", showDataOrigin = true)) in dataEntriesDetailsInit_withData_showsItem()
194 permissionType = SLEEP, entryId = "1", showDataOrigin = true)) in dataEntriesDetailsInit_withDetails_showsItem_showsDetails()
209 permissionType = HEART_RATE, entryId = "1", showDataOrigin = true)) in dataEntriesDetailsInit_withHeartRate_showsItem_showsDetails()
226 permissionType = SKIN_TEMPERATURE, entryId = "1", showDataOrigin = true)) in dataEntriesInit_withSkinTemperature_showsItem_showsDetails()
250 permissionType = SKIN_TEMPERATURE, entryId = "1", showDataOrigin = true)) in dataEntriesInit_withSkinTemperature_locationUnknown_hidesLocationDetail()
274 permissionType = SKIN_TEMPERATURE, entryId = "1", showDataOrigin = true)) in dataEntriesInit_withSkinTemperature_baselineUnknown_hidesBaselineDetail()
294 permissionType = EXERCISE, entryId = "1", showDataOrigin = true)) in dataEntriesDetailsInit_withRouteDetails_showsMapView()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/
DMenstruationPeriodFormatter.kt46 showDataOrigin: Boolean = true in format()
51 val appName = if (showDataOrigin) getAppName(record) else "" in format()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/api/
DLoadDataEntriesUseCaseTest.kt77 showDataOrigin = true) in <lambda>()
100 healthDataEntryFormatter.format(stepsRecord, showDataOrigin = true) in <lambda>()
122 showDataOrigin = true) in <lambda>()
DLoadEntriesHelperUseCaseTest.kt624 showDataOrigin = true, in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/datasources/api/
DLoadMostRecentAggregationsUseCase.kt121 showDataOrigin = false) in <lambda>()
169 showDataOrigin = false) in <lambda>()
DLoadPriorityEntriesUseCase.kt55 showDataOrigin = false) in <lambda>()
DLoadLastDateWithPriorityDataUseCase.kt129 showDataOrigin = false) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/shared/
DHealthDataEntryFormatter.kt151 suspend fun format(record: Record, showDataOrigin: Boolean = true): FormattedEntry { in format()
152 val appName: String = if (showDataOrigin) getAppName(record) else "" in format()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/
DDataEntriesFragment.kt96 permissionType, id, showDataOrigin = true)) in <lambda>()