/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/ |
D | AggregateWithFiltersTest.java | 122 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 …]
|
D | BasalCaloriesAggregationTest.java | 466 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/ |
D | PriorityMigrationPayloadTest.java | 55 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/ |
D | DeleteUsingFiltersRequestTest.java | 59 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/ |
D | AggregateRecordsResponse.java | 83 return result.getDataOrigins(); in getDataOriginsInternal() 156 public Set<DataOrigin> getDataOrigins(@NonNull AggregationType<T> aggregationType) { in getDataOrigins() method in AggregateRecordsResponse
|
D | AggregateResult.java | 68 public Set<DataOrigin> getDataOrigins() { in getDataOrigins() method in AggregateResult
|
D | AggregateRecordsGroupedByDurationResponse.java | 107 public Set<DataOrigin> getDataOrigins(@NonNull AggregationType<T> aggregationType) { in getDataOrigins() method in AggregateRecordsGroupedByDurationResponse
|
D | DeleteUsingFiltersRequest.java | 75 public Set<DataOrigin> getDataOrigins() { in getDataOrigins() method in DeleteUsingFiltersRequest
|
D | AggregateRecordsGroupedByPeriodResponse.java | 119 public Set<DataOrigin> getDataOrigins(@NonNull AggregationType<T> aggregationType) { in getDataOrigins() method in AggregateRecordsGroupedByPeriodResponse
|
D | ReadRecordsRequestUsingFilters.java | 79 public Set<DataOrigin> getDataOrigins() { in getDataOrigins() method in ReadRecordsRequestUsingFilters
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/ |
D | DataMigrationManager.java | 272 if (priorityMigrationPayload.getDataOrigins().isEmpty()) { in migratePriority() 277 priorityMigrationPayload.getDataOrigins().stream() in migratePriority()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/migration/ |
D | PriorityMigrationPayload.java | 104 public List<DataOrigin> getDataOrigins() { in getDataOrigins() method in PriorityMigrationPayload
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/ |
D | HealthConnectDeviceTest.java | 26 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/ |
D | ReadRecordsRequestParcel.java | 96 request.getDataOrigins().stream() in ReadRecordsRequestParcel()
|
D | DeleteUsingFiltersRequestParcel.java | 73 request.getDataOrigins().stream() in DeleteUsingFiltersRequestParcel()
|
D | AggregateDataResponseParcel.java | 288 Set<DataOrigin> dataOrigins = val.getDataOrigins(); in writeToParcel()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | WeightRecordTest.java | 567 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()
|
D | StepsRecordTest.java | 269 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()
|
D | WheelchairPushesRecordTest.java | 263 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()
|
D | FloorsClimbedRecordTest.java | 276 Set<DataOrigin> newDataOrigin = newResponse.getDataOrigins(FLOORS_CLIMBED_TOTAL); in testAggregation_FloorsClimbedTotal() 280 Set<DataOrigin> oldDataOrigin = oldResponse.getDataOrigins(FLOORS_CLIMBED_TOTAL); in testAggregation_FloorsClimbedTotal()
|
D | HydrationRecordTest.java | 334 Set<DataOrigin> newDataOrigin = newResponse.getDataOrigins(VOLUME_TOTAL); in testAggregation_VolumeTotal() 338 Set<DataOrigin> oldDataOrigin = oldResponse.getDataOrigins(VOLUME_TOTAL); in testAggregation_VolumeTotal()
|
D | ElevationGainedRecordTest.java | 384 Set<DataOrigin> newDataOrigin = newResponse.getDataOrigins(ELEVATION_GAINED_TOTAL); in testAggregation_ElevationTotal() 388 Set<DataOrigin> oldDataOrigin = oldResponse.getDataOrigins(ELEVATION_GAINED_TOTAL); in testAggregation_ElevationTotal()
|
D | HeartRateRecordTest.java | 589 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/ |
D | LoadDataAggregationsUseCase.kt | 120 val apps = response.getDataOrigins(aggregationType) in <lambda>()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/api/ |
D | LoadDataAggregationsUseCase.kt | 145 val apps = response.getDataOrigins(aggregationType) in <lambda>()
|