/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | AdSelectionServiceImpl.java | 168 @NonNull private final AdServicesLogger mAdServicesLogger; field in AdSelectionServiceImpl 264 mAdServicesLogger = adServicesLogger; in AdSelectionServiceImpl() 394 mAdServicesLogger, in getAdSelectionData() 401 mAdServicesLogger.logFledgeApiCallStats( in getAdSelectionData() 415 mAdServicesLogger.logFledgeApiCallStats( in getAdSelectionData() 457 mAdServicesLogger, in persistAdSelectionResult() 464 mAdServicesLogger.logFledgeApiCallStats( in persistAdSelectionResult() 478 mAdServicesLogger.logFledgeApiCallStats( in persistAdSelectionResult() 546 mAdServicesLogger, in persistAdSelectionResult() 575 callerMetadata, Clock.getInstance(), mContext, mAdServicesLogger, mFlags); in selectAds() [all …]
|
D | AuctionServerPayloadMetricsStrategyEnabled.java | 37 private final AdServicesLogger mAdServicesLogger; field in AuctionServerPayloadMetricsStrategyEnabled 41 mAdServicesLogger = adServicesLogger; in AuctionServerPayloadMetricsStrategyEnabled() 59 mAdServicesLogger.logGetAdSelectionDataApiCalledStats( in logGetAdSelectionDataApiCalledStats() 83 mAdServicesLogger.logGetAdSelectionDataBuyerInputGeneratedStats(stats); in logGetAdSelectionDataBuyerInputGeneratedStats() 127 mAdServicesLogger.logGetAdSelectionDataBuyerInputGeneratedStats(stats); in logGetAdSelectionDataBuyerInputGeneratedStatsWithExtendedPasMetrics() 151 mAdServicesLogger.logGetAdSelectionDataBuyerInputGeneratedStats(stats); in logGetAdSelectionDataBuyerInputGeneratedStatsWithExtendedPasMetrics()
|
D | EventReporterFactory.java | 54 @NonNull private final AdServicesLogger mAdServicesLogger; field in EventReporterFactory 97 mAdServicesLogger = adServicesLogger; in EventReporterFactory() 129 mAdServicesLogger, in getEventReporter() 147 mAdServicesLogger, in getEventReporter() 165 mAdServicesLogger, in getEventReporter() 186 mAdServicesLogger, in getEventReporter()
|
D | UpdateAdCounterHistogramWorker.java | 72 @NonNull private final AdServicesLogger mAdServicesLogger; field in UpdateAdCounterHistogramWorker 101 mAdServicesLogger = adServicesLogger; in UpdateAdCounterHistogramWorker() 133 mAdServicesLogger.logFledgeApiCallStats( in updateAdCounterHistogram() 208 mAdServicesLogger.logFledgeApiCallStats( in notifySuccess() 221 mAdServicesLogger.logFledgeApiCallStats( in invokeFailure() 244 mAdServicesLogger.logFledgeApiCallStats( in invokeFailure() 264 mAdServicesLogger.logFledgeApiCallStats( in notifyFailure()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/ |
D | DebugKeyAccessorTest.java | 78 @Mock private AdServicesLogger mAdServicesLogger; field in DebugKeyAccessorTest 85 mDebugKeyAccessor = new DebugKeyAccessor(mFlags, mAdServicesLogger, mMeasurementDao); in setup() 120 verify(mAdServicesLogger, never()).logMeasurementDebugKeysMatch(any()); in getDebugKeys_appToAppWithAdIdPermission_debugKeysPresent() 147 verify(mAdServicesLogger, never()).logMeasurementDebugKeysMatch(any()); in getDebugKeys_appToAppNoAdIdPermission_debugKeysAbsent() 175 verify(mAdServicesLogger, never()).logMeasurementDebugKeysMatch(any()); in getDebugKeys_appToAppNoAdIdPermissionWithJoinKeys_debugKeysAbsent() 203 verify(mAdServicesLogger, never()).logMeasurementDebugKeysMatch(any()); in getDebugKeys_appToAppWithSourceAdId_sourceDebugKeyPresent() 231 verify(mAdServicesLogger, never()).logMeasurementDebugKeysMatch(any()); in getDebugKeys_appToAppWithTriggerAdId_triggerDebugKeyPresent() 259 verify(mAdServicesLogger, never()).logMeasurementDebugKeysMatch(any()); in getDebugKeys_webToWebWithSameRegistrant_debugKeysPresent() 287 verify(mAdServicesLogger, never()).logMeasurementDebugKeysMatch(any()); in getDebugKeys_webToWebNoJoinKeysAndDifferentRegistrants_debugKeysAbsent() 315 verify(mAdServicesLogger, never()).logMeasurementDebugKeysMatch(any()); in getDebugKeys_webToWebDiffJoinKeysSameRegFalseArDebug_debugKeysAbsent() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | FledgeAuthorizationFilter.java | 61 @NonNull private final AdServicesLogger mAdServicesLogger; field in FledgeAuthorizationFilter 84 mAdServicesLogger = adServicesLogger; in FledgeAuthorizationFilter() 124 mAdServicesLogger.logFledgeApiCallStats( in assertCallingPackageName() 181 mAdServicesLogger.logFledgeApiCallStats( in logAndThrowPermissionFailure() 193 mAdServicesLogger.logFledgeApiCallStats( in logAndThrowMultiplePermissionFailure() 236 mAdServicesLogger.logFledgeApiCallStats( in assertAdTechAllowed() 243 mAdServicesLogger, in assertAdTechAllowed() 258 mAdServicesLogger.logFledgeApiCallStats( in assertAdTechAllowed() 264 mAdServicesLogger, in assertAdTechAllowed() 279 mAdServicesLogger.logFledgeApiCallStats( in assertAdTechAllowed() [all …]
|
D | FledgeConsentFilter.java | 36 private final AdServicesLogger mAdServicesLogger; field in FledgeConsentFilter 40 mAdServicesLogger = adServicesLogger; in FledgeConsentFilter() 59 mAdServicesLogger.logFledgeApiCallStats( in assertCallerHasApiUserConsent() 86 mAdServicesLogger.logFledgeApiCallStats( in assertAndPersistCallerHasUserConsentForApp()
|
D | FledgeApiThrottleFilter.java | 32 private final AdServicesLogger mAdServicesLogger; field in FledgeApiThrottleFilter 36 mAdServicesLogger = adServicesLogger; in FledgeApiThrottleFilter() 58 mAdServicesLogger.logFledgeApiCallStats( in assertCallerNotThrottled()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/ |
D | CustomAudienceServiceImpl.java | 97 @NonNull private final AdServicesLogger mAdServicesLogger; field in CustomAudienceServiceImpl 182 mAdServicesLogger = adServicesLogger; in CustomAudienceServiceImpl() 209 mAdServicesLogger.logFledgeApiCallStats( in joinCustomAudience() 288 mAdServicesLogger.logFledgeApiCallStats( in doJoinCustomAudience() 311 mAdServicesLogger.logFledgeApiCallStats( in fetchAndJoinCustomAudience() 334 mAdServicesLogger, in fetchAndJoinCustomAudience() 391 mAdServicesLogger.logFledgeApiCallStats( in scheduleCustomAudienceUpdate() 419 mAdServicesLogger, in scheduleCustomAudienceUpdate() 447 mAdServicesLogger.logFledgeApiCallStats( in leaveCustomAudience() 532 mAdServicesLogger.logFledgeApiCallStats( in doLeaveCustomAudience() [all …]
|
D | ScheduleCustomAudienceUpdateImpl.java | 77 @NonNull private final AdServicesLogger mAdServicesLogger; field in ScheduleCustomAudienceUpdateImpl 99 mAdServicesLogger = adServicesLogger; in ScheduleCustomAudienceUpdateImpl() 263 mAdServicesLogger.logFledgeApiCallStats( in notifyFailure() 274 mAdServicesLogger.logFledgeApiCallStats( in notifyFailure() 285 mAdServicesLogger.logFledgeApiCallStats( in notifySuccess() 293 mAdServicesLogger.logFledgeApiCallStats( in notifySuccess()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/encryptionkey/ |
D | EncryptionKeyDaoTest.java | 60 @Mock private AdServicesLogger mAdServicesLogger; field in EncryptionKeyDaoTest 162 mEncryptionKeyDao = new EncryptionKeyDao(mDbHelper, mAdServicesLogger); in setup() 184 verify(mAdServicesLogger).logEncryptionKeyDbTransactionEndedStats(eq(stats)); in testInsertNewEncryptionKey() 209 verify(mAdServicesLogger, times(2)) in testInsertExistingEncryptionKey() 218 verify(mAdServicesLogger, times(1)) in testInsertExistingEncryptionKey() 234 verify(mAdServicesLogger).logEncryptionKeyDbTransactionEndedStats(eq(stats)); in testInsertInvalidEncryptionKey() 249 verify(mAdServicesLogger, times(2)).logEncryptionKeyDbTransactionEndedStats(eq(stats)); in testInsertEncryptionKeyList() 268 verify(mAdServicesLogger).logEncryptionKeyDbTransactionEndedStats(eq(stats)); in testGetAllEncryptionKeys() 289 verify(mAdServicesLogger).logEncryptionKeyDbTransactionEndedStats(eq(stats)); in testDelete() 310 verify(mAdServicesLogger).logEncryptionKeyDbTransactionEndedStats(eq(stats)); in testGetEncryptionKeyFromEnrollmentId() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/ |
D | CustomAudienceLoggerFactory.java | 30 private AdServicesLogger mAdServicesLogger; field in CustomAudienceLoggerFactory 37 mAdServicesLogger = adServicesLogger; in CustomAudienceLoggerFactory() 64 return new BackgroundFetchExecutionLogger(mClock, mAdServicesLogger); in getBackgroundFetchExecutionLogger() 71 return new UpdateCustomAudienceExecutionLogger(mClock, mAdServicesLogger); in getUpdateCustomAudienceExecutionLogger()
|
D | AdFilteringLoggerFactory.java | 36 @NonNull private final AdServicesLogger mAdServicesLogger; field in AdFilteringLoggerFactory 45 mAdServicesLogger = adServicesLogger; in AdFilteringLoggerFactory() 54 FILTER_PROCESS_TYPE_CUSTOM_AUDIENCES, mAdServicesLogger); in getCustomAudienceFilteringLogger() 63 return new AdFilteringLoggerImpl(FILTER_PROCESS_TYPE_CONTEXTUAL_ADS, mAdServicesLogger); in getContextualAdFilteringLogger()
|
D | AdsRelevanceExecutionLoggerFactory.java | 53 private final AdServicesLogger mAdServicesLogger; field in AdsRelevanceExecutionLoggerFactory 76 mAdServicesLogger = adServicesLogger; in AdsRelevanceExecutionLoggerFactory() 107 mAdServicesLogger, in getAuctionServerApiExecutionLogger() 121 mAdServicesLogger, in getProtectedSignalsApiExecutionLogger()
|
D | ReportImpressionExecutionLoggerFactory.java | 27 private final AdServicesLogger mAdServicesLogger; field in ReportImpressionExecutionLoggerFactory 39 mAdServicesLogger = adServicesLogger; in ReportImpressionExecutionLoggerFactory() 53 return new ReportImpressionExecutionLoggerImpl(mAdServicesLogger, mFlags); in getReportImpressionExecutionLogger()
|
D | SignatureVerificationLoggerFactory.java | 31 @NonNull private final AdServicesLogger mAdServicesLogger; field in SignatureVerificationLoggerFactory 39 mAdServicesLogger = adServicesLogger; in SignatureVerificationLoggerFactory() 46 return new SignatureVerificationLoggerImpl(mAdServicesLogger); in getInstance()
|
D | SelectAdsFromOutcomesExecutionLoggerFactory.java | 30 private final AdServicesLogger mAdServicesLogger; field in SelectAdsFromOutcomesExecutionLoggerFactory 44 mAdServicesLogger = adServicesLogger; in SelectAdsFromOutcomesExecutionLoggerFactory() 57 return new SelectAdsFromOutcomesExecutionLoggerImpl(mClock, mAdServicesLogger); in getSelectAdsFromOutcomesExecutionLogger()
|
D | ServerAuctionKeyFetchExecutionLoggerFactory.java | 30 private final AdServicesLogger mAdServicesLogger; field in ServerAuctionKeyFetchExecutionLoggerFactory 44 mAdServicesLogger = adServicesLogger; in ServerAuctionKeyFetchExecutionLoggerFactory() 56 return new ServerAuctionKeyFetchExecutionLoggerImpl(mClock, mAdServicesLogger); in getAdsRelevanceExecutionLogger()
|
D | ServerAuctionKeyFetchExecutionLoggerImpl.java | 68 private final AdServicesLogger mAdServicesLogger; field in ServerAuctionKeyFetchExecutionLoggerImpl 75 mAdServicesLogger = adServicesLogger; in ServerAuctionKeyFetchExecutionLoggerImpl() 96 mAdServicesLogger.logServerAuctionKeyFetchCalledStats( in logServerAuctionKeyFetchCalledStatsFromDatabase() 129 mAdServicesLogger.logServerAuctionKeyFetchCalledStats( in logServerAuctionKeyFetchCalledStatsFromNetwork()
|
D | UpdateCustomAudienceExecutionLogger.java | 38 private final AdServicesLogger mAdServicesLogger; field in UpdateCustomAudienceExecutionLogger 45 this.mAdServicesLogger = adServicesLogger; in UpdateCustomAudienceExecutionLogger() 66 mAdServicesLogger.logUpdateCustomAudienceProcessReportedStats( in close()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/encryptionkey/ |
D | EncryptionKeyFetcherTest.java | 87 @Mock private AdServicesLogger mAdServicesLogger; field in EncryptionKeyFetcherTest 110 mFetcher = new EncryptionKeyFetcher(mAdServicesLogger); in setUp() 215 verify(mAdServicesLogger).logEncryptionKeyFetchedStats(eq(stats)); in testFirstTimeFetchEncryptionKeysSucceed() 237 verify(mAdServicesLogger).logEncryptionKeyFetchedStats(eq(stats)); in testFirstTimeFetchEncryptionKeysNullEncryptionKeyUrl() 260 verify(mAdServicesLogger).logEncryptionKeyFetchedStats(eq(stats)); in testFirstTimeFetchEncryptionKeysEmptyEncryptionKeyUrl() 283 verify(mAdServicesLogger).logEncryptionKeyFetchedStats(eq(stats)); in testFirstTimeFetchEncryptionKeysSingleWhiteSpaceEncryptionKeyUrl() 305 verify(mAdServicesLogger).logEncryptionKeyFetchedStats(eq(stats)); in testFirstTimeFetchEncryptionKeysBadConnection() 328 verify(mAdServicesLogger).logEncryptionKeyFetchedStats(eq(stats)); in testFirstTimeFetchEncryptionKeysServerTimeOut() 354 verify(mAdServicesLogger).logEncryptionKeyFetchedStats(eq(stats)); in testFirstTimeFetchEncryptionKeysInvalidJSONResponse() 377 verify(mAdServicesLogger).logEncryptionKeyFetchedStats(eq(stats)); in testRefetchEncryptionKeysNoChangeMadeToKeys() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/pas/ |
D | EncodingJobRunStatsLoggerImpl.java | 27 private final AdServicesLogger mAdServicesLogger; field in EncodingJobRunStatsLoggerImpl 38 mAdServicesLogger = adServicesLogger; in EncodingJobRunStatsLoggerImpl() 59 mAdServicesLogger.logEncodingJobRunStats(mBuilder.build()); in logEncodingJobRunStats()
|
D | EncodingJsFetchProcessLoggerImpl.java | 30 private final AdServicesLogger mAdServicesLogger; field in EncodingJsFetchProcessLoggerImpl 41 mAdServicesLogger = adServicesLogger; in EncodingJsFetchProcessLoggerImpl() 60 mAdServicesLogger.logEncodingJsFetchStats(mBuilder.build()); in logEncodingJsFetchStats()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/ |
D | AdServicesShellCommandHandlerTest.java | 90 @Mock private AdServicesLogger mAdServicesLogger; field in AdServicesShellCommandHandlerTest 98 doNothing().when(mAdServicesLogger).logShellCommandStats(any()); in setup() 110 mCmd = new OneTimeCommand(expect, mShellCommandFactorySupplier, mAdServicesLogger, mClock); in setup() 119 null, mShellCommandFactorySupplier, mAdServicesLogger)); in testInvalidConstructor() 124 new PrintWriter(new StringWriter()), null, mAdServicesLogger)); in testInvalidConstructor() 182 verify(mAdServicesLogger).logShellCommandStats(stats); in testRunEcho_valid() 233 mCmd = new OneTimeCommand(expect, mShellCommandFactorySupplier, mAdServicesLogger, mClock); in testRun_catchesExceptionAndReturnsError() 262 new OneTimeCommand(expect, mShellCommandFactorySupplier, mAdServicesLogger, mClock); in expectInvalidArgument()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/ |
D | DebugKeyAccessor.java | 54 @NonNull private final AdServicesLogger mAdServicesLogger; field in DebugKeyAccessor 67 mAdServicesLogger = adServicesLogger; in DebugKeyAccessor() 201 mAdServicesLogger, in getDebugKeys() local 209 mAdServicesLogger); in getDebugKeys() 352 mAdServicesLogger, in getDebugKeysForVerboseTriggerDebugReport() local 360 mAdServicesLogger); in getDebugKeysForVerboseTriggerDebugReport() 393 AdServicesLogger mAdServicesLogger) { in logDebugKeysMatch() argument 407 mAdServicesLogger.logMeasurementDebugKeysMatch(stats); in logDebugKeysMatch()
|