Home
last modified time | relevance | path

Searched refs:getDataOrigins (Results 1 – 25 of 37) sorted by relevance

12

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DAggregateWithFiltersTest.java122 assertThat(response.getDataOrigins(STEPS_COUNT_TOTAL)) in dataOriginFilter_noFilter_everythingIncluded()
146 assertThat(response.getDataOrigins(STEPS_COUNT_TOTAL)) in dataOriginFilter_validFilter_onlyDataFromFilteredApps()
183 assertThat(aggregateResponse.getDataOrigins(STEPS_COUNT_TOTAL)).isEmpty(); in dataOriginFilter_invalidApp_noDataReturned()
189 assertThat(groupedByDurationResponses.get(0).getDataOrigins(STEPS_COUNT_TOTAL)).isEmpty(); in dataOriginFilter_invalidApp_noDataReturned()
195 assertThat(groupedByPeriodResponses.get(0).getDataOrigins(STEPS_COUNT_TOTAL)).isEmpty(); in dataOriginFilter_invalidApp_noDataReturned()
228 assertThat(aggregateResponse.getDataOrigins(STEPS_COUNT_TOTAL)).isEmpty(); in dataOriginFilter_appNotInPriorityList_noDataReturned()
234 assertThat(groupedByDurationResponses.get(0).getDataOrigins(STEPS_COUNT_TOTAL)).isEmpty(); in dataOriginFilter_appNotInPriorityList_noDataReturned()
240 assertThat(groupedByPeriodResponses.get(0).getDataOrigins(STEPS_COUNT_TOTAL)).isEmpty(); in dataOriginFilter_appNotInPriorityList_noDataReturned()
269 assertThat(aggregateResponse.getDataOrigins(STEPS_COUNT_TOTAL)).isEmpty(); in dataOriginFilter_noDataFromFilteredApps_noDataReturned()
275 assertThat(groupedByDurationResponses.get(0).getDataOrigins(STEPS_COUNT_TOTAL)).isEmpty(); in dataOriginFilter_noDataFromFilteredApps_noDataReturned()
[all …]
DBasalCaloriesAggregationTest.java466 Set<DataOrigin> newDataOrigin = newResponse.getDataOrigins(BASAL_CALORIES_TOTAL); in testAggregation_BasalCaloriesBurntTotal()
470 Set<DataOrigin> oldDataOrigin = oldResponse.getDataOrigins(BASAL_CALORIES_TOTAL); in testAggregation_BasalCaloriesBurntTotal()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/migration/
DPriorityMigrationPayloadTest.java55 List<DataOrigin> priorityList = payload.getDataOrigins(); in createdWithSetters_validData()
68 mExpect.that(payload.getDataOrigins()).isEmpty(); in createdWithoutSetters_validData()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DDeleteUsingFiltersRequestTest.java59 assertThat(deleteUsingFiltersRequest.getDataOrigins()).isEqualTo(Set.of(dataOrigin)); in testCreateDeleteUsingFiltersRequest()
84 assertThat(deleteUsingFiltersRequest.getDataOrigins()).isEqualTo(Set.of()); in testCreateDeleteUsingFiltersRequest_clearDataOriginsAndRecords()
/packages/modules/HealthFitness/framework/java/android/health/connect/
DAggregateRecordsResponse.java83 return result.getDataOrigins(); in getDataOriginsInternal()
156 public Set<DataOrigin> getDataOrigins(@NonNull AggregationType<T> aggregationType) { in getDataOrigins() method in AggregateRecordsResponse
DAggregateResult.java68 public Set<DataOrigin> getDataOrigins() { in getDataOrigins() method in AggregateResult
DAggregateRecordsGroupedByDurationResponse.java107 public Set<DataOrigin> getDataOrigins(@NonNull AggregationType<T> aggregationType) { in getDataOrigins() method in AggregateRecordsGroupedByDurationResponse
DDeleteUsingFiltersRequest.java75 public Set<DataOrigin> getDataOrigins() { in getDataOrigins() method in DeleteUsingFiltersRequest
DAggregateRecordsGroupedByPeriodResponse.java119 public Set<DataOrigin> getDataOrigins(@NonNull AggregationType<T> aggregationType) { in getDataOrigins() method in AggregateRecordsGroupedByPeriodResponse
DReadRecordsRequestUsingFilters.java79 public Set<DataOrigin> getDataOrigins() { in getDataOrigins() method in ReadRecordsRequestUsingFilters
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/
DDataMigrationManager.java272 if (priorityMigrationPayload.getDataOrigins().isEmpty()) { in migratePriority()
277 priorityMigrationPayload.getDataOrigins().stream() in migratePriority()
/packages/modules/HealthFitness/framework/java/android/health/connect/migration/
DPriorityMigrationPayload.java104 public List<DataOrigin> getDataOrigins() { in getDataOrigins() method in PriorityMigrationPayload
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/
DHealthConnectDeviceTest.java26 import static android.healthconnect.cts.utils.DataFactory.getDataOrigins;
938 getDataOrigins( in testAggregationOutputForTotalStepsCountWithDataFromTwoAppsHavingDifferentPriority()
991 getDataOrigins( in testAggregationOutputForTotalStepsCountWithDataFromTwoAppsHavingDifferentPriority()
1029 getDataOrigins( in testAggregationOutputForExerciseSessionWithDataFromTwoAppsHavingDifferentPriority()
1094 getDataOrigins( in testAggregationOutputForExerciseSessionWithDataFromTwoAppsHavingDifferentPriority()
/packages/modules/HealthFitness/framework/java/android/health/connect/aidl/
DReadRecordsRequestParcel.java96 request.getDataOrigins().stream() in ReadRecordsRequestParcel()
DDeleteUsingFiltersRequestParcel.java73 request.getDataOrigins().stream() in DeleteUsingFiltersRequestParcel()
DAggregateDataResponseParcel.java288 Set<DataOrigin> dataOrigins = val.getDataOrigins(); in writeToParcel()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DWeightRecordTest.java567 assertThat(responses.get(i).getDataOrigins(WEIGHT_MIN)).hasSize(1); in testAggregatePeriodForZoneOffset()
571 .getDataOrigins(WEIGHT_MIN) in testAggregatePeriodForZoneOffset()
682 assertThat(responses.get(i).getDataOrigins(WEIGHT_MAX)).hasSize(1); in testDurationLocalTimeAggregationZoneOffset()
686 .getDataOrigins(WEIGHT_MAX) in testDurationLocalTimeAggregationZoneOffset()
DStepsRecordTest.java269 assertThat(requestUsingFilters.getDataOrigins()).isNotNull(); in testReadStepsRecordUsingFilters_dataFilter_incorrect()
986 Set<DataOrigin> newDataOrigin = newResponse.getDataOrigins(STEPS_COUNT_TOTAL); in testAggregation_StepsCountTotal_withDuplicateEntry()
990 Set<DataOrigin> oldDataOrigin = oldResponse.getDataOrigins(STEPS_COUNT_TOTAL); in testAggregation_StepsCountTotal_withDuplicateEntry()
1279 assertThat(responses.get(i).getDataOrigins(STEPS_COUNT_TOTAL)).hasSize(1); in testAggregationLocalTimeOffset()
1283 .getDataOrigins(STEPS_COUNT_TOTAL) in testAggregationLocalTimeOffset()
1719 assertThat(responses.get(i).getDataOrigins(STEPS_COUNT_TOTAL)).hasSize(1); in testAggregateDurationWithLocalTimeForZoneOffset()
1723 .getDataOrigins(STEPS_COUNT_TOTAL) in testAggregateDurationWithLocalTimeForZoneOffset()
DWheelchairPushesRecordTest.java263 Set<DataOrigin> newDataOrigin = newResponse.getDataOrigins(WHEEL_CHAIR_PUSHES_COUNT_TOTAL); in testAggregation_countTotal()
267 Set<DataOrigin> oldDataOrigin = oldResponse.getDataOrigins(WHEEL_CHAIR_PUSHES_COUNT_TOTAL); in testAggregation_countTotal()
DFloorsClimbedRecordTest.java276 Set<DataOrigin> newDataOrigin = newResponse.getDataOrigins(FLOORS_CLIMBED_TOTAL); in testAggregation_FloorsClimbedTotal()
280 Set<DataOrigin> oldDataOrigin = oldResponse.getDataOrigins(FLOORS_CLIMBED_TOTAL); in testAggregation_FloorsClimbedTotal()
DHydrationRecordTest.java334 Set<DataOrigin> newDataOrigin = newResponse.getDataOrigins(VOLUME_TOTAL); in testAggregation_VolumeTotal()
338 Set<DataOrigin> oldDataOrigin = oldResponse.getDataOrigins(VOLUME_TOTAL); in testAggregation_VolumeTotal()
DElevationGainedRecordTest.java384 Set<DataOrigin> newDataOrigin = newResponse.getDataOrigins(ELEVATION_GAINED_TOTAL); in testAggregation_ElevationTotal()
388 Set<DataOrigin> oldDataOrigin = oldResponse.getDataOrigins(ELEVATION_GAINED_TOTAL); in testAggregation_ElevationTotal()
DHeartRateRecordTest.java589 Set<DataOrigin> dataOrigins = response.getDataOrigins(BPM_AVG); in testBpmAggregation_timeRange_all()
593 dataOrigins = response.getDataOrigins(BPM_MIN); in testBpmAggregation_timeRange_all()
597 dataOrigins = response.getDataOrigins(BPM_MAX); in testBpmAggregation_timeRange_all()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/
DLoadDataAggregationsUseCase.kt120 val apps = response.getDataOrigins(aggregationType) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/api/
DLoadDataAggregationsUseCase.kt145 val apps = response.getDataOrigins(aggregationType) in <lambda>()

12