Searched refs:mAggregationType (Results 1 – 6 of 6) sorted by relevance
78 private final AggregationType<ResultType> mAggregationType; field in BaseDurationAggregationTest83 mAggregationType = aggregationType; in BaseDurationAggregationTest()129 .addAggregationType(mAggregationType) in noData_largeWindow_returnsNull()132 assertThat(response.get(mAggregationType)).isNull(); in noData_largeWindow_returnsNull()133 assertThat(response.getZoneOffset(mAggregationType)).isNull(); in noData_largeWindow_returnsNull()134 assertThat(response.getDataOrigins(mAggregationType)).isEmpty(); in noData_largeWindow_returnsNull()152 .addAggregationType(mAggregationType) in oneRecord_largeWindow_returnsRecordDuration()155 assertThat(response.get(mAggregationType)).isNotNull(); in oneRecord_largeWindow_returnsRecordDuration()156 assertThat(response.get(mAggregationType)) in oneRecord_largeWindow_returnsRecordDuration()158 assertThat(response.getZoneOffset(mAggregationType)).isEqualTo(record.getStartZoneOffset()); in oneRecord_largeWindow_returnsRecordDuration()[all …]
48 @AggregationType.AggregationTypeIdentifier private final int mAggregationType; field in ActivityIntensityAggregationData53 mAggregationType = aggregationType; in ActivityIntensityAggregationData()66 switch (mAggregationType) { in getResultOnInterval()76 "Unsupported aggregation type: " + mAggregationType); in getResultOnInterval()83 / (mAggregationType == ACTIVITY_INTENSITY_MINUTES_TOTAL ? MILLIS_IN_A_MINUTE : 1); in getResultOnInterval()
64 @AggregationType.AggregationTypeIdentifier private final int mAggregationType; field in PriorityRecordsAggregator80 mAggregationType = aggregationType; in PriorityRecordsAggregator()227 return switch (mAggregationType) { in createAggregationRecordData()247 new ActivityIntensityAggregationData(mAggregationType); in createAggregationRecordData()250 "Priority aggregation do not support type: " + mAggregationType); in createAggregationRecordData()
69 private final AggregationType<?> mAggregationType; field in AggregateRecordRequest109 mAggregationType = aggregationType; in AggregateRecordRequest()132 return mAggregationType; in getAggregationType()180 mAggregationType.getAggregateOperationType()) in getAggregationCommand()188 aggCommand = getSqlCommandFor(mAggregationType.getAggregateOperationType()); in getAggregationCommand()255 mAggregationType.getAggregateOperationType())) { in processResultsAndReturnContributingPackages()278 mAggregationType.getAggregationTypeIdentifier(), in processPriorityRequest()288 if (mAggregationType.getAggregateResultClass() == Long.class in processPriorityRequest()289 || mAggregationType.getAggregateResultClass() == Duration.class) { in processPriorityRequest()310 mRecordHelper.getNoPriorityAggregateResult(cursor, mAggregationType)); in processNoPrioritiesRequest()[all …]
86 mAggregationType(metric.aggregation_type()), in DurationMetricProducer()289 if (mAggregationType == DurationMetric_AggregationType_SUM) { in addAnomalyTracker()352 switch (mAggregationType) { in createDurationTracker()
146 const DurationMetric_AggregationType mAggregationType; variable