Home
last modified time | relevance | path

Searched refs:contributions (Results 1 – 25 of 41) sorted by relevance

12

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/aggregation/
DAggregateCryptoConverter.java77 final List<AggregateHistogramContribution> contributions = convert(payload); in encrypt() local
78 if (contributions.isEmpty()) { in encrypt()
83 final byte[] payloadCborEncoded = encodeWithCbor(contributions); in encrypt()
119 final List<AggregateHistogramContribution> contributions = convert(payload); in encode() local
120 if (contributions.isEmpty()) { in encode()
125 final byte[] payloadCborEncoded = encodeWithCbor(contributions); in encode()
137 final List<AggregateHistogramContribution> contributions = new ArrayList<>(); in convert() local
143 return contributions; in convert()
150 contributions.add( in convert()
156 return contributions; in convert()
[all …]
DAggregatePayloadGenerator.java112 List<AggregateHistogramContribution> contributions = new ArrayList<>(); in generateAttributionReport() local
121 contributions.add(contribution); in generateAttributionReport()
123 if (contributions.size() > 0) { in generateAttributionReport()
130 padContributions(contributions, paddingContribution); in generateAttributionReport()
132 return Optional.of(contributions); in generateAttributionReport()
148 List<AggregateHistogramContribution> contributions, in padContributions() argument
151 contributions.size(), in padContributions()
153 .forEach(i -> contributions.add(padding)); in padContributions()
DAggregateAttributionData.java82 public Builder setContributions(List<AggregateHistogramContribution> contributions) { in setContributions() argument
83 mAggregateAttributionData.mContributions = contributions; in setContributions()
DAggregateReport.java288 public static String generateDebugPayload(List<AggregateHistogramContribution> contributions) in generateDebugPayload() argument
291 for (AggregateHistogramContribution contribution : contributions) { in generateDebugPayload()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/
DAggregatePayloadGeneratorTest.java156 List<AggregateHistogramContribution> contributions = aggregateHistogramContributions.get(); in testGenerateAttributionReport_twoContributions_filterSetMatches() local
158 assertEquals(contributions.size(), 2); in testGenerateAttributionReport_twoContributions_filterSetMatches()
160 contributions.contains( in testGenerateAttributionReport_twoContributions_filterSetMatches()
166 contributions.contains( in testGenerateAttributionReport_twoContributions_filterSetMatches()
347 List<AggregateHistogramContribution> contributions = aggregateHistogramContributions.get(); in testGenerateAttributionReport_insideLookbackWindow_filterSetMatches() local
349 assertEquals(contributions.size(), 2); in testGenerateAttributionReport_insideLookbackWindow_filterSetMatches()
350 assertTrue(contributions.contains( in testGenerateAttributionReport_insideLookbackWindow_filterSetMatches()
353 assertTrue(contributions.contains( in testGenerateAttributionReport_insideLookbackWindow_filterSetMatches()
440 List<AggregateHistogramContribution> contributions = aggregateHistogramContributions.get(); in testGenerateAttributionReport_twoContributions_filterSetDoesNotMatch() local
442 assertEquals(contributions.size(), 2); in testGenerateAttributionReport_twoContributions_filterSetDoesNotMatch()
[all …]
DAggregateCryptoConverterTest.java275 final List<AggregateHistogramContribution> contributions = new ArrayList<>(); in testEncodeWithCbor_successfully() local
286 contributions.add(firstContribution); in testEncodeWithCbor_successfully()
287 contributions.add(secondContribution); in testEncodeWithCbor_successfully()
289 final byte[] encoded = AggregateCryptoConverter.encodeWithCbor(contributions); in testEncodeWithCbor_successfully()
315 final List<AggregateHistogramContribution> contributions = new ArrayList<>(); in testEncodeWithCbor_differentSizesShouldMatchUpperBound() local
326 contributions.add(firstContribution); in testEncodeWithCbor_differentSizesShouldMatchUpperBound()
327 contributions.add(secondContribution); in testEncodeWithCbor_differentSizesShouldMatchUpperBound()
329 final byte[] encoded = AggregateCryptoConverter.encodeWithCbor(contributions); in testEncodeWithCbor_differentSizesShouldMatchUpperBound()
354 final List<AggregateHistogramContribution> contributions = new ArrayList<>(); in testEncodeWithCbor_valuesAtUpperBoundLimit() local
362 contributions.add(contribution); in testEncodeWithCbor_valuesAtUpperBoundLimit()
[all …]
DAggregateReportTest.java285 List<AggregateHistogramContribution> contributions = in extractAggregateHistogramContributions_withDebugPayload_canReverseConvert() local
289 assertEquals(2, contributions.size()); in extractAggregateHistogramContributions_withDebugPayload_canReverseConvert()
290 assertEquals(expectedContribution1, contributions.get(0)); in extractAggregateHistogramContributions_withDebugPayload_canReverseConvert()
291 assertEquals(expectedContribution2, contributions.get(1)); in extractAggregateHistogramContributions_withDebugPayload_canReverseConvert()
320 List<AggregateHistogramContribution> contributions = in extractAggregateHistogramContributions_withInvalidDebugPayload_returnsEmptyList() local
324 assertEquals(0, contributions.size()); in extractAggregateHistogramContributions_withInvalidDebugPayload_returnsEmptyList()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/measurement/aggregation/
DAggregateReportFixture.java84 List<AggregateHistogramContribution> contributions = new ArrayList<>(); in getDebugPayload() local
91 contributions.add(contribution1); in getDebugPayload()
92 contributions.add(contribution2); in getDebugPayload()
95 debugPayload = AggregateReport.generateDebugPayload(contributions); in getDebugPayload()
/packages/modules/Bluetooth/android/pandora/mmi2grpc/
DCONTRIBUTING.md3 We'd love to accept your patches and contributions to this project. There are
10 this simply gives us permission to use and redistribute your contributions as
20 Every contributions must follow [Google Python style guide](
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/msmt_interop_tests/
Daggregatable_contributions_creation.json185 // Should not result in an aggregatable report due to no contributions.
206 // Should not result in an aggregatable report due to no contributions
/packages/modules/OnDevicePersonalization/
DCONTRIBUTING3 We'd love to accept your patches and contributions to this project.
12 gives us permission to use and redistribute your contributions as part of the
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/
DAttributionJobHandler.java486 Optional<List<AggregateHistogramContribution>> contributions = in maybeGenerateAggregateReport() local
489 if (!contributions.isPresent()) { in maybeGenerateAggregateReport()
503 contributions.get(), source, trigger, measurementDao); in maybeGenerateAggregateReport()
537 AggregateReport.generateDebugPayload(contributions.get())) in maybeGenerateAggregateReport()
540 .setContributions(contributions.get()) in maybeGenerateAggregateReport()
699 List<AggregateHistogramContribution> contributions = new ArrayList<>(); in getNullAggregateReport() local
700 contributions.add(paddingContribution); in getNullAggregateReport()
702 generator.padContributions(contributions, paddingContribution); in getNullAggregateReport()
704 AggregateReport.generateDebugPayload(contributions)); in getNullAggregateReport()
1601 List<AggregateHistogramContribution> contributions, in validateAndGetUpdatedAggregateContributions() argument
[all …]
/packages/modules/CrashRecovery/apex/
DAndroid.bp31 // Encapsulate the contributions made by the com.android.crashrecovery to the bootclasspath.
77 // Encapsulate the contributions made by the com.android.crashrecovery to the systemserverclasspath.
/packages/modules/ConfigInfrastructure/apex/
DAndroid.bp19 // Encapsulate the contributions made by the com.android.configinfrastructure to the bootclasspath.
64 // Encapsulate the contributions made by the com.android.configinfrastructure to the systemservercl…
/packages/modules/AppSearch/
DAndroid.bp67 // Encapsulate the contributions made by the com.android.appsearch to the bootclasspath.
103 // Encapsulate the contributions made by the com.android.appsearch to the systemserverclasspath.
/packages/modules/Permission/
DAndroid.bp70 // Encapsulate the contributions made by the com.android.permission to the bootclasspath.
120 // Encapsulate the contributions made by the com.android.permission to the systemserverclasspath.
/packages/modules/HealthFitness/apex/
DAndroid.bp57 // Encapsulate the contributions made by com.android.healthfitness to the bootclasspath.
/packages/modules/SdkExtensions/javatests/com/android/sdkext/extensions/apexes/
DAndroid.bp45 // Encapsulate the contributions made by the test_com.android.sdkext to the
/packages/modules/GeoTZ/apex/com.android.geotz/
DAndroid.bp48 // Encapsulate the contributions made by the com.android.geotz to the systemserverclasspath.
/packages/modules/NeuralNetworks/runtime/
DNOTICE782 All contributions by Facebook:
785 All contributions by Google:
789 All contributions by Yangqing Jia:
793 All contributions from Caffe:
797 All other contributions:
802 copyright over their contributions to Caffe2. The project versioning records
821 All contributions by Facebook:
824 All contributions by Google:
828 All contributions by Yangqing Jia:
832 All other contributions:
[all …]
/packages/apps/TV/libs/m2/
Ddagger-2.23.jarMETA-INF/ META-INF/MANIFEST.MF dagger/ dagger/Binds.class Binds ...
/packages/modules/Scheduling/apex/
DAndroid.bp34 // Encapsulate the contributions made by the com.android.scheduling to the bootclasspath.
/packages/modules/DeviceLock/apex/
DAndroid.bp30 // Encapsulate the contributions made by the com.android.devicelock to the bootclasspath.
/packages/modules/SdkExtensions/
DAndroid.bp68 // Encapsulate the contributions made by the com.android.sdkext to the bootclasspath.
/packages/modules/Uwb/apex/
DAndroid.bp69 // Encapsulate the contributions made by the com.android.uwb to the bootclasspath.

12