Home
last modified time | relevance | path

Searched refs:aggregator (Results 1 – 25 of 32) sorted by relevance

12

/packages/modules/StatsD/lib/libkll/tests/
Dkll_test.cpp35 std::unique_ptr<KllQuantile> aggregator = KllQuantile::Create(); in TEST() local
37 aggregator->Add(i); in TEST()
39 EXPECT_EQ(aggregator->num_values(), 50); in TEST()
41 AggregatorStateProto aggregator_state = aggregator->SerializeToProto(); in TEST()
51 std::unique_ptr<KllQuantile> aggregator = KllQuantile::Create(); in TEST() local
53 aggregator->Add(i); in TEST()
55 EXPECT_EQ(aggregator->num_values(), 10); in TEST()
57 AggregatorStateProto aggregator_state = aggregator->SerializeToProto(); in TEST()
91 std::unique_ptr<KllQuantile> aggregator = KllQuantile::Create(options); in TEST() local
93 aggregator->Add(i); in TEST()
[all …]
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/data/
DLogAggregatorsTest.java63 LogAggregator<Long> aggregator = LogAggregators.countAggregator(); in countAggregator_initialValue_returnsValue() local
64 assertThat(aggregator.initialValue(5L)).isEqualTo(integerAggregate(5)); in countAggregator_initialValue_returnsValue()
69 LogAggregator<Long> aggregator = LogAggregators.countAggregator(); in countAggregator_aggregateValues_sumsIntegerValue() local
70 assertThat(aggregator.aggregateValues(5L, integerAggregate(6))) in countAggregator_aggregateValues_sumsIntegerValue()
76 LogAggregator<Long> aggregator = LogAggregators.countAggregator(); in countAggregator_aggregateValues_notIntegerValue_returnsValue() local
77 assertThat(aggregator.aggregateValues(5L, AggregateValue.getDefaultInstance())) in countAggregator_aggregateValues_notIntegerValue_returnsValue()
83 LogAggregator<StringHashEntity> aggregator = LogAggregators.stringIndexAggregator(); in stringIndexAggregator_initialValue_returnsSingleBucketHistogram() local
85 aggregator.initialValue( in stringIndexAggregator_initialValue_returnsSingleBucketHistogram()
93 LogAggregator<StringHashEntity> aggregator = LogAggregators.stringIndexAggregator(); in stringIndexAggregator_aggregateValues_incrementsBucketCount() local
96 aggregator.aggregateValues( in stringIndexAggregator_aggregateValues_incrementsBucketCount()
[all …]
/packages/modules/NeuralNetworks/runtime/test/
DTestStatsdTelemetry.cpp155 AtomAggregator aggregator; in TEST() local
156 EXPECT_TRUE(aggregator.empty()); in TEST()
160 AtomAggregator aggregator; in TEST() local
161 aggregator.push({kExampleKey, {}}); in TEST()
162 EXPECT_FALSE(aggregator.empty()); in TEST()
166 AtomAggregator aggregator; in TEST() local
167 aggregator.push({kExampleKey, {}}); in TEST()
168 const auto [k, v] = aggregator.pop(); in TEST()
169 EXPECT_TRUE(aggregator.empty()); in TEST()
180 AtomAggregator aggregator; in TEST() local
[all …]
/packages/modules/StatsD/lib/libkll/proto/
Daggregator.proto53 // Serialized state of an aggregator.
55 // The type (= algorithm + implementation) of the aggregator.
60 // Version of the encoded internal state. On a per-aggregator basis, this
61 // field is set to indicate that the format of the aggregator encoding has
72 // which holds the algorithm-specific state for the aggregator.
Dkll-quantiles.proto17 // Serialized state and result stats of the KLL quantiles aggregator. Mimimized
24 import "aggregator.proto";
/packages/apps/Launcher3/src/com/android/launcher3/util/
DMultiPropertyFactory.java78 FloatBiFunction aggregator) { in MultiPropertyFactory() argument
79 this(target, property, size, aggregator, 0); in MultiPropertyFactory()
83 FloatBiFunction aggregator, float defaultPropertyValue) { in MultiPropertyFactory() argument
86 mAggregator = aggregator; in MultiPropertyFactory()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandlerForCustomMimetype.java24 AbstractContactAggregator aggregator, String mimetype) { in DataRowHandlerForCustomMimetype() argument
25 super(context, dbHelper, aggregator, mimetype); in DataRowHandlerForCustomMimetype()
DDataRowHandlerForNote.java30 AbstractContactAggregator aggregator) { in DataRowHandlerForNote() argument
31 super(context, dbHelper, aggregator, Note.CONTENT_ITEM_TYPE); in DataRowHandlerForNote()
DDataRowHandlerForIm.java30 AbstractContactAggregator aggregator) { in DataRowHandlerForIm() argument
31 super(context, dbHelper, aggregator, Im.CONTENT_ITEM_TYPE, Im.TYPE, Im.LABEL); in DataRowHandlerForIm()
DDataRowHandlerForIdentity.java30 AbstractContactAggregator aggregator) { in DataRowHandlerForIdentity() argument
31 super(context, dbHelper, aggregator, Identity.CONTENT_ITEM_TYPE); in DataRowHandlerForIdentity()
DDataRowHandlerForCommonDataKind.java36 AbstractContactAggregator aggregator, String mimetype, String typeColumn, in DataRowHandlerForCommonDataKind() argument
38 super(context, dbHelper, aggregator, mimetype); in DataRowHandlerForCommonDataKind()
DDataRowHandlerForStructuredPostal.java49 AbstractContactAggregator aggregator, PostalSplitter splitter) { in DataRowHandlerForStructuredPostal() argument
50 super(context, dbHelper, aggregator, StructuredPostal.CONTENT_ITEM_TYPE); in DataRowHandlerForStructuredPostal()
DDataRowHandlerForEmail.java32 … Context context, ContactsDatabaseHelper dbHelper, AbstractContactAggregator aggregator) { in DataRowHandlerForEmail() argument
33 super(context, dbHelper, aggregator, Email.CONTENT_ITEM_TYPE, Email.TYPE, Email.LABEL); in DataRowHandlerForEmail()
DDataRowHandlerForNickname.java33 AbstractContactAggregator aggregator) { in DataRowHandlerForNickname() argument
34 super(context, dbHelper, aggregator, Nickname.CONTENT_ITEM_TYPE, Nickname.TYPE, in DataRowHandlerForNickname()
DDataRowHandlerForPhoto.java49 Context context, ContactsDatabaseHelper dbHelper, AbstractContactAggregator aggregator, in DataRowHandlerForPhoto() argument
51 super(context, dbHelper, aggregator, Photo.CONTENT_ITEM_TYPE); in DataRowHandlerForPhoto()
DDataRowHandlerForOrganization.java36 AbstractContactAggregator aggregator) { in DataRowHandlerForOrganization() argument
37 super(context, dbHelper, aggregator, in DataRowHandlerForOrganization()
DDataRowHandlerForPhoneNumber.java38 ContactsDatabaseHelper dbHelper, AbstractContactAggregator aggregator) { in DataRowHandlerForPhoneNumber() argument
39 super(context, dbHelper, aggregator, Phone.CONTENT_ITEM_TYPE, Phone.TYPE, Phone.LABEL); in DataRowHandlerForPhoneNumber()
DDataRowHandlerForGroupMembership.java69 AbstractContactAggregator aggregator, in DataRowHandlerForGroupMembership() argument
71 super(context, dbHelper, aggregator, GroupMembership.CONTENT_ITEM_TYPE); in DataRowHandlerForGroupMembership()
DDataRowHandlerForStructuredName.java40 AbstractContactAggregator aggregator, NameSplitter splitter, in DataRowHandlerForStructuredName() argument
42 super(context, dbHelper, aggregator, StructuredName.CONTENT_ITEM_TYPE); in DataRowHandlerForStructuredName()
DDataRowHandler.java91 AbstractContactAggregator aggregator, String mimetype) { in DataRowHandler() argument
94 mContactAggregator = aggregator; in DataRowHandler()
DContactsProvider2.java4935 final AbstractContactAggregator aggregator = mAggregator.get(); in updateRawContact() local
4942 aggregator.markForAggregation(rawContactId, aggregationMode, false); in updateRawContact()
4951 aggregator.updateStarred(rawContactId); in updateRawContact()
4952 aggregator.updatePinned(rawContactId); in updateRawContact()
4969 aggregator.updateSendToVoicemail(rawContactId); in updateRawContact()
4979 aggregator.updateLookupKeyForRawContact(db, rawContactId); in updateRawContact()
5201 final AbstractContactAggregator aggregator = mAggregator.get(); in updateAggregationException() local
5202 aggregator.invalidateAggregationExceptionCache(); in updateAggregationException()
5203 aggregator.markForAggregation(rawContactId1, RawContacts.AGGREGATION_MODE_DEFAULT, true); in updateAggregationException()
5204 aggregator.markForAggregation(rawContactId2, RawContacts.AGGREGATION_MODE_DEFAULT, true); in updateAggregationException()
[all …]
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/request/
DAggregateTableRequest.java249 PriorityRecordsAggregator aggregator = in processPriorityRequest() local
256 aggregator.calculateAggregation(cursor); in processPriorityRequest()
259 if (aggregator.getResultForGroup(groupNumber) == null) { in processPriorityRequest()
266 aggregator.getResultForGroup(groupNumber).longValue()); in processPriorityRequest()
268 result = new AggregateResult<>(aggregator.getResultForGroup(groupNumber)); in processPriorityRequest()
272 result.setZoneOffset(aggregator.getZoneOffsetForGroup(groupNumber))); in processPriorityRequest()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/
DSearchResultLoader.java24 SearchResultAggregator aggregator = SearchResultAggregator.getInstance(); in loadInBackground() local
25 return aggregator.fetchResults(getContext(), mQuery); in loadInBackground()
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/data/
DDataService.java363 LogAggregator aggregator) { in aggregateValueReportAll() argument
382 aggregator.initialValue(value)); in aggregateValueReportAll()
398 aggregator.aggregateValues(value, existingAggregateValue)); in aggregateValueReportAll()
409 aggregator.initialValue(value)); in aggregateValueReportAll()
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12