/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | CustomAudienceServiceFilterTest.java | 58 private static final String CALLER_PACKAGE_NAME = CommonFixture.TEST_PACKAGE_NAME; field in CustomAudienceServiceFilterTest 141 CALLER_PACKAGE_NAME, in testFilterRequest_throttled_throws() 161 CALLER_PACKAGE_NAME, in testFilterRequest_enforceForegroundTrue_foregroundCheckFails_throws() 178 CALLER_PACKAGE_NAME, in testFilterRequest_enforceForegroundFalse_foregroundCheckFails_succeeds() 204 CALLER_PACKAGE_NAME, in testFilterRequest_adTechNotAuthorized_throws() 214 CALLER_PACKAGE_NAME, in testFilterRequest_adTechNotAuthorized_throws() 240 CALLER_PACKAGE_NAME, in testFilterRequest_withLocalhostDomain_doesNotPass() 253 CALLER_PACKAGE_NAME, in testFilterRequest_withDeveloperMode_succeeds() 261 .setCallingAppPackageName(CALLER_PACKAGE_NAME) in testFilterRequest_withDeveloperMode_succeeds() 279 CALLER_PACKAGE_NAME, in testFilterRequest_withLocalhostDomainInDeveloperMode_skipCheck() [all …]
|
D | ProtectedSignalsServiceFilterTest.java | 58 private static final String CALLER_PACKAGE_NAME = CommonFixture.TEST_PACKAGE_NAME; field in ProtectedSignalsServiceFilterTest 133 CALLER_PACKAGE_NAME, in testFilterRequestAndExtractIdentifier_throttled_throws() 154 CALLER_PACKAGE_NAME, in testFilterRequestAndExtractIdentifier_enforceForegroundTrue_foregroundCheckFails() 171 CALLER_PACKAGE_NAME, in testFilterRequestAndExtractIdentifier_enforceForegroundFalse_foregroundCheckFails() 182 CALLER_PACKAGE_NAME, in testFilterRequestAndExtractIdentifier_enforceForegroundFalse_foregroundCheckFails() local 198 CALLER_PACKAGE_NAME, in testFilterRequestAndExtractIdentifier_enableEnrollmentCheck_invalidAdTech_throws() 207 CALLER_PACKAGE_NAME, in testFilterRequestAndExtractIdentifier_enableEnrollmentCheck_invalidAdTech_throws() 217 CALLER_PACKAGE_NAME, in testFilterRequestAndExtractIdentifier_enableEnrollmentCheck_invalidAdTech_throws() 233 CALLER_PACKAGE_NAME, in testFilterRequestAndExtractIdentifier_disableEnrollmentCheck_eTLDPlus1NotExtracted() 249 CALLER_PACKAGE_NAME, in testFilterRequestAndExtractIdentifier_disableEnrollmentCheck_eTLDPlus1NotExtracted() [all …]
|
D | AdSelectionServiceFilterTest.java | 60 private static final String CALLER_PACKAGE_NAME = CommonFixture.TEST_PACKAGE_NAME; field in AdSelectionServiceFilterTest 119 CALLER_PACKAGE_NAME, in testFilterRequest_noExceptionsThrown_succeeds() 160 CALLER_PACKAGE_NAME, in testFilterRequest_throttled_throwsLimitExceededException() 183 CALLER_PACKAGE_NAME, in testFilterRequestThrowsWrongCallingApplicationStateExceptionIfForegroundCheckFails() 203 CALLER_PACKAGE_NAME, in testFilterRequestSucceedsForBackgroundAppsWhenEnforceForegroundFalse() 229 CALLER_PACKAGE_NAME, in testFilterRequestThrowsAdTechNotAllowedExceptionWhenAdTechNotAuthorized() 239 CALLER_PACKAGE_NAME, in testFilterRequestThrowsAdTechNotAllowedExceptionWhenAdTechNotAuthorized() 255 .assertAppInAllowlist(CALLER_PACKAGE_NAME, API_NAME, API_AD_SELECTION); in testFilterRequestThrowsAppNotAllowedExceptionWhenAppNotInAllowlist() 262 CALLER_PACKAGE_NAME, in testFilterRequestThrowsAppNotAllowedExceptionWhenAppNotInAllowlist() 286 CALLER_PACKAGE_NAME, in testFilterRequest_apiConsentRevoked_throwsRevokedConsentException() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/ |
D | GetAdSelectionDataInputTest.java | 32 private static final String CALLER_PACKAGE_NAME = CommonFixture.TEST_PACKAGE_NAME; field in GetAdSelectionDataInputTest 46 .setCallerPackageName(CALLER_PACKAGE_NAME) in testBuildGetAdSelectionDataInput() 51 expect.that(getAdSelectionDataInput.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testBuildGetAdSelectionDataInput() 62 .setCallerPackageName(CALLER_PACKAGE_NAME) in testBuildGetAdSelectionDataInputWithSellerConfiguration() 68 expect.that(getAdSelectionDataInput.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testBuildGetAdSelectionDataInputWithSellerConfiguration() 80 .setCallerPackageName(CALLER_PACKAGE_NAME) in testParcelGetAdSelectionDataInput() 91 expect.that(fromParcel.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testParcelGetAdSelectionDataInput() 102 .setCallerPackageName(CALLER_PACKAGE_NAME) in testParcelGetAdSelectionDataInputWithNullValues() 112 expect.that(fromParcel.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testParcelGetAdSelectionDataInputWithNullValues() 121 .setCallerPackageName(CALLER_PACKAGE_NAME) in testGetAdSelectionDataInputWithSameValuesAreEqual() [all …]
|
D | PersistAdSelectionResultInputTest.java | 37 private static final String CALLER_PACKAGE_NAME = CommonFixture.TEST_PACKAGE_NAME; field in PersistAdSelectionResultInputTest 50 .setCallerPackageName(CALLER_PACKAGE_NAME) in testBuildPersistAdSelectionResultInput() 58 .isEqualTo(CALLER_PACKAGE_NAME); in testBuildPersistAdSelectionResultInput() 68 .setCallerPackageName(CALLER_PACKAGE_NAME) in testParcelPersistAdSelectionResultInput() 80 expect.that(fromParcel.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testParcelPersistAdSelectionResultInput() 90 .setCallerPackageName(CALLER_PACKAGE_NAME) in testParcelPersistAdSelectionResultInputWithNullValues() 102 expect.that(fromParcel.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testParcelPersistAdSelectionResultInputWithNullValues() 114 .setCallerPackageName(CALLER_PACKAGE_NAME) in testFailsToBuildWithUnsetAdSelectionId() 125 .setCallerPackageName(CALLER_PACKAGE_NAME) in testPersistAdSelectionResultInputWithSameValuesAreEqual() 133 .setCallerPackageName(CALLER_PACKAGE_NAME) in testPersistAdSelectionResultInputWithSameValuesAreEqual() [all …]
|
D | ReportInteractionInputTest.java | 41 private static final String CALLER_PACKAGE_NAME = CommonFixture.TEST_PACKAGE_NAME; field in ReportInteractionInputTest 63 .setCallerPackageName(CALLER_PACKAGE_NAME) in testWriteToParcel_nonNullOptionalParameters() 79 expect.that(fromParcel.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testWriteToParcel_nonNullOptionalParameters() 94 .setCallerPackageName(CALLER_PACKAGE_NAME) in testWriteToParcel_nullInputEvent() 110 expect.that(fromParcel.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testWriteToParcel_nullInputEvent() 124 .setCallerPackageName(CALLER_PACKAGE_NAME) in testWriteToParcel_nullAdId() 140 expect.that(fromParcel.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testWriteToParcel_nullAdId() 155 .setCallerPackageName(CALLER_PACKAGE_NAME) in testWriteToParcel_nullCallerSdkName() 171 expect.that(fromParcel.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testWriteToParcel_nullCallerSdkName() 187 .setCallerPackageName(CALLER_PACKAGE_NAME) in testFailsToBuildWithUnsetAdSelectionId() [all …]
|
D | ReportImpressionInputTest.java | 34 private static final String CALLER_PACKAGE_NAME = "callerPackageName"; field in ReportImpressionInputTest 44 .setCallerPackageName(CALLER_PACKAGE_NAME) in testWriteToParcel() 54 expect.that(fromParcel.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testWriteToParcel() 65 .setCallerPackageName(CALLER_PACKAGE_NAME) in testFailsToBuildWithUnsetAdSelectionId() 91 .setCallerPackageName(CALLER_PACKAGE_NAME) in testFailsToBuildWithNullAdSelectionConfig() 104 .setCallerPackageName(CALLER_PACKAGE_NAME) in testReportImpressionInputDescribeContents()
|
D | AdSelectionInputTest.java | 33 private static final String CALLER_PACKAGE_NAME = "callerPackageName"; field in AdSelectionInputTest 43 .setCallerPackageName(CALLER_PACKAGE_NAME) in testWriteToParcel() 52 expect.that(fromParcel.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testWriteToParcel() 74 .setCallerPackageName(CALLER_PACKAGE_NAME) in testFailsToBuildWithNullAdSelectionConfig() 86 .setCallerPackageName(CALLER_PACKAGE_NAME) in testAdSelectionInputDescribeContents()
|
D | SetAppInstallAdvertisersInputTest.java | 42 private static final String CALLER_PACKAGE_NAME = "callerPackageName"; field in SetAppInstallAdvertisersInputTest 49 .setCallerPackageName(CALLER_PACKAGE_NAME) in testWriteToParcel() 59 expect.that(fromParcel.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testWriteToParcel() 79 .setCallerPackageName(CALLER_PACKAGE_NAME) in testFailsToBuildWithNullAdvertisers() 89 .setCallerPackageName(CALLER_PACKAGE_NAME) in testSetAppInstallAdvertisersInputDescribeContents()
|
D | AdSelectionFromOutcomesInputTest.java | 36 private static final String CALLER_PACKAGE_NAME = "com.app.test"; field in AdSelectionFromOutcomesInputTest 46 expect.that(inputParams.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testBuildValidAdSelectionFromOutcomesInputSuccess() 73 .setCallerPackageName(CALLER_PACKAGE_NAME) in testAdSelectionFromOutcomesInputUnsetAdOutcomesBuildFailure() 135 .setCallerPackageName(CALLER_PACKAGE_NAME) in createAdSelectionFromOutcomesInput()
|
D | AdSelectionManagerTest.java | 72 private static final String CALLER_PACKAGE_NAME = TEST_PACKAGE_NAME; field in AdSelectionManagerTest 123 expect.that(input.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testAdSelectionManager_reportEvent_adIdEnabled() 149 expect.that(input.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testAdSelectionManager_reportEvent_adIdZeroOut() 175 expect.that(input.getCallerPackageName()).isEqualTo(CALLER_PACKAGE_NAME); in testAdSelectionManager_reportEvent_adIdDisabled()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/ |
D | DBAdSelectionTest.java | 56 private static final String CALLER_PACKAGE_NAME = "callerPackageName"; field in DBAdSelectionTest 72 .setCallerPackageName(CALLER_PACKAGE_NAME) in testBuildDBAdSelection() 84 assertEquals(CALLER_PACKAGE_NAME, dbAdSelection.getCallerPackageName()); in testBuildDBAdSelection() 103 .setCallerPackageName(CALLER_PACKAGE_NAME) in testFailsToBuildRemarketingAdWithNullBiddingLogicUri() 123 .setCallerPackageName(CALLER_PACKAGE_NAME) in testFailsToBuildContextualAdWithNullBiddingLogicUri() 142 .setCallerPackageName(CALLER_PACKAGE_NAME) in testFailsToBuildContextualAdWithNullCustomAudienceSignalsAndBiddingLogicUri() 162 .setCallerPackageName(CALLER_PACKAGE_NAME) in testFailsToBuildDBAdSelectionWithUnsetAdSelectionId() 198 .setCallerPackageName(CALLER_PACKAGE_NAME) in testBuildDBAdSelectionWithNullAdCounterKeys() 210 assertEquals(CALLER_PACKAGE_NAME, dbAdSelection.getCallerPackageName()); in testBuildDBAdSelectionWithNullAdCounterKeys() 225 .setCallerPackageName(CALLER_PACKAGE_NAME) in testBuildDBAdSelectionWithNullSellerContextualSignals() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | AdIdFetcherTest.java | 50 private static final String CALLER_PACKAGE_NAME = CommonFixture.TEST_PACKAGE_NAME; field in AdIdFetcherTest 110 Mockito.when(PermissionHelper.hasAdIdPermission(mContext, CALLER_PACKAGE_NAME, CALLER_UID)) in testIsLimitedTrackingEnabled_PermissionsNotDeclared_ReturnsDefault() 120 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS) in testIsLimitedTrackingEnabled_PermissionsNotDeclared_ReturnsDefault() 129 Mockito.when(PermissionHelper.hasAdIdPermission(mContext, CALLER_PACKAGE_NAME, CALLER_UID)) in testIsLimitedTrackingEnabled_Disabled_ReturnsFalse() 139 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS) in testIsLimitedTrackingEnabled_Disabled_ReturnsFalse() 148 Mockito.when(PermissionHelper.hasAdIdPermission(mContext, CALLER_PACKAGE_NAME, CALLER_UID)) in testIsLimitedTrackingEnabled_LatEnabled_ReturnsTrue() 158 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS) in testIsLimitedTrackingEnabled_LatEnabled_ReturnsTrue() 167 Mockito.when(PermissionHelper.hasAdIdPermission(mContext, CALLER_PACKAGE_NAME, CALLER_UID)) in testIsLimitedTrackingEnabled_AdIdZeroedOut_ReturnsDefault() 177 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS) in testIsLimitedTrackingEnabled_AdIdZeroedOut_ReturnsDefault() 186 Mockito.when(PermissionHelper.hasAdIdPermission(mContext, CALLER_PACKAGE_NAME, CALLER_UID)) in testIsLimitedTrackingEnabled_TimeoutException_ReturnsDefault() [all …]
|
D | DebugReportingTest.java | 55 private static final String CALLER_PACKAGE_NAME = CommonFixture.TEST_PACKAGE_NAME; field in DebugReportingTest 75 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS)) in setUp() 84 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS)) in isDisabled_withAdIdServiceKillSwitchTrue_returnsFalse() 93 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS); in isDisabled_withAdIdServiceKillSwitchTrue_returnsFalse() 100 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS)) in isEnabled_withLatDisabledAndFlagEnabled_returnsTrue() 109 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS); in isEnabled_withLatDisabledAndFlagEnabled_returnsTrue() 122 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS); in isEnabled_withFlagDisabled_returnsFalse() 129 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS)) in isEnabled_withLatEnabled_returnsFalse() 138 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS); in isEnabled_withLatEnabled_returnsFalse() 145 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS)) in getScriptStrategy_isEnabled_returnsCorrect() [all …]
|
D | AuctionServerDebugReportingTest.java | 47 private static final String CALLER_PACKAGE_NAME = CommonFixture.TEST_PACKAGE_NAME; field in AuctionServerDebugReportingTest 66 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS)) in setUp() 81 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS); in isDisabled_withAdIdServiceKillSwitchTrue() 95 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS); in isDisabled_withDisabledDebugReporting() 103 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS)) in isDisabled_withLatTrue() 111 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS); in isDisabled_withLatTrue() 119 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS)) in isEnabled_withLatFalse() 127 CALLER_PACKAGE_NAME, CALLER_UID, AD_ID_FETCHER_TIMEOUT_MS); in isEnabled_withLatFalse() 135 CALLER_PACKAGE_NAME, in initAuctionServerDebugReporting()
|
D | GetAdSelectionDataRunnerTest.java | 144 private static final String CALLER_PACKAGE_NAME = TEST_PACKAGE_NAME; field in GetAdSelectionDataRunnerTest 250 CALLER_PACKAGE_NAME, in setup() 273 CALLER_PACKAGE_NAME, CALLER_UID)) in setup() 298 .setCallerPackageName(CALLER_PACKAGE_NAME) in testRunner_getAdSelectionData_returnsSuccess() 318 .setCallerPackageName(CALLER_PACKAGE_NAME) in testRunner_getAdSelectionData_returnsSuccess() 327 .isUnlimitedEgressEnabledForAuction(CALLER_PACKAGE_NAME, CALLER_UID); in testRunner_getAdSelectionData_returnsSuccess() 365 .setCallerPackageName(CALLER_PACKAGE_NAME) in testRunner_getAdSelectionData_returnsSuccessGetAdSelectionDataPayloadMetricsEnabled() 399 .setCallerPackageName(CALLER_PACKAGE_NAME) in testRunner_getAdSelectionData_returnsSuccessGetAdSelectionDataPayloadMetricsEnabled() 468 .setCallerPackageName(CALLER_PACKAGE_NAME) in testRunner_getAdSelectionData_success_MetricsEnabled_withDefaultSourceCoordinator() 502 .setCallerPackageName(CALLER_PACKAGE_NAME) in testRunner_getAdSelectionData_success_MetricsEnabled_withDefaultSourceCoordinator() [all …]
|
D | AuctionServerE2ETest.java | 216 private static final String CALLER_PACKAGE_NAME = CommonFixture.TEST_PACKAGE_NAME; field in AuctionServerE2ETest 472 .setCallerPackageName(CALLER_PACKAGE_NAME) in testAuctionServer_killSwitchDisabled_throwsException() 483 .setCallerPackageName(CALLER_PACKAGE_NAME) in testAuctionServer_killSwitchDisabled_throwsException() 507 eq(CALLER_PACKAGE_NAME), in testAuctionServer_consentDisabled_throwsException() 519 eq(CALLER_PACKAGE_NAME), in testAuctionServer_consentDisabled_throwsException() 533 .setCallerPackageName(CALLER_PACKAGE_NAME) in testAuctionServer_consentDisabled_throwsException() 551 .setCallerPackageName(CALLER_PACKAGE_NAME) in testAuctionServer_consentDisabled_throwsException() 585 .setCallerPackageName(CALLER_PACKAGE_NAME) in testGetAdSelectionData_withoutEncrypt_validRequest_success() 672 .setCallerPackageName(CALLER_PACKAGE_NAME) in testAuctionServerFlow_withoutEncrypt_validRequest_BothFiltersEnabled() 697 .setCallerPackageName(CALLER_PACKAGE_NAME) in testAuctionServerFlow_withoutEncrypt_validRequest_BothFiltersEnabled() [all …]
|
D | AdSelectionFromOutcomesE2ETest.java | 183 private static final String CALLER_PACKAGE_NAME = CommonFixture.TEST_PACKAGE_NAME; field in AdSelectionFromOutcomesE2ETest 376 CALLER_PACKAGE_NAME, in setUp() 420 invokeSelectAdsFromOutcomes(mAdSelectionService, config, CALLER_PACKAGE_NAME); in testSelectAdsFromOutcomesPickHighestSuccess() 516 invokeSelectAdsFromOutcomes(adSelectionService, config, CALLER_PACKAGE_NAME); in testSelectAdsFromOutcomesPickHighestSuccessDifferentTables() 599 invokeSelectAdsFromOutcomes(mAdSelectionService, config, CALLER_PACKAGE_NAME); in testSelectAdsFromOutcomesPickHighestSuccessUnifiedTables() 651 invokeSelectAdsFromOutcomes(mAdSelectionService, config, CALLER_PACKAGE_NAME); in testSelectAdsFromOutcomesWaterfallMediationAdBidHigherThanBidFloorSuccess() 710 invokeSelectAdsFromOutcomes(mAdSelectionService, config, CALLER_PACKAGE_NAME); in testSelectAdsFromOutcomesWaterfallMediationPrebuiltUriSuccess() 759 invokeSelectAdsFromOutcomes(mAdSelectionService, config, CALLER_PACKAGE_NAME); in testSelectAdsFromOutcomesWaterfallMediationAdBidLowerThanBidFloorSuccess() 809 invokeSelectAdsFromOutcomes(mAdSelectionService, config, CALLER_PACKAGE_NAME); in testSelectAdsFromOutcomesReturnsNullSuccess() 855 invokeSelectAdsFromOutcomes(mAdSelectionService, config, CALLER_PACKAGE_NAME); in testSelectAdsFromOutcomesInvalidAdSelectionConfigFromOutcomes() [all …]
|
D | AdSelectionE2ETest.java | 602 private static final String CALLER_PACKAGE_NAME = TEST_PACKAGE_NAME; field in AdSelectionE2ETest 892 CALLER_PACKAGE_NAME, in setUp() 956 invokeSelectAds(mAdSelectionService, mAdSelectionConfig, CALLER_PACKAGE_NAME); in testRunAdSelectionSuccess_preV3BiddingLogic() 1078 invokeSelectAds(mAdSelectionService, mAdSelectionConfig, CALLER_PACKAGE_NAME); in testRunAdSelectionSuccess_preV3BiddingLogicWithAdCostCpcBillingEnabled() 1220 invokeSelectAds(mAdSelectionService, adSelectionConfig, CALLER_PACKAGE_NAME); in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagEnabled() 1371 invokeSelectAds(mAdSelectionService, adSelectionConfig, CALLER_PACKAGE_NAME); in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagDisabled() 1505 invokeSelectAds(mAdSelectionService, mAdSelectionConfig, CALLER_PACKAGE_NAME); in testRunAdSelectionSuccess_preV3BiddingLogicWinnerWithoutBuyerDataVersionHeader() 1636 invokeSelectAds(mAdSelectionService, mAdSelectionConfig, CALLER_PACKAGE_NAME); in testRunAdSelectionSuccess_preV3BiddingLogicWithAdCostCpcBillingDisabled() 1741 invokeSelectAds(mAdSelectionService, adSelectionConfig, CALLER_PACKAGE_NAME); in testRunAdSelectionSuccess_prebuiltScoringLogic() 1863 invokeSelectAds(adSelectionService, adSelectionConfig, CALLER_PACKAGE_NAME); in testRunAdSelectionSuccess_prebuiltFeatureDisabled_failure() [all …]
|
D | PersistAdSelectionResultRunnerTest.java | 149 private static final String CALLER_PACKAGE_NAME = CommonFixture.TEST_PACKAGE_NAME; field in PersistAdSelectionResultRunnerTest 358 getAdSelectionInitialization(SELLER, CALLER_PACKAGE_NAME); 360 getAdSelectionInitialization(DIFFERENT_SELLER, CALLER_PACKAGE_NAME); 547 .setCallerPackageName(CALLER_PACKAGE_NAME) in testRunner_persistRemarketingResult_success() 660 .setCallerPackageName(CALLER_PACKAGE_NAME) in testRunner_persistAppInstallResult_success() 776 .setCallerPackageName(CALLER_PACKAGE_NAME) in testRunner_persistRemarketingResult_withInvalidSellerReportingUriSuccess() 882 .setCallerPackageName(CALLER_PACKAGE_NAME) in testRunner_persistAppInstallResult_withInvalidSellerReportingUriSuccess() 988 .setCallerPackageName(CALLER_PACKAGE_NAME) in testRunner_persistRemarketingResult_withInvalidBuyerReportingUriSuccess() 1112 .setCallerPackageName(CALLER_PACKAGE_NAME) in testRunner_persistRemarketingResult_forceOnAbsentOwnerFalseSkipsValidation() 1211 .setCallerPackageName(CALLER_PACKAGE_NAME) in testRunner_persistRemarketingResult_forceOnAbsentOwnerFalseFuzzySearch() [all …]
|
D | AdSelectionFromOutcomesConfigValidatorTest.java | 54 private static final String CALLER_PACKAGE_NAME = "com.caller.package"; field in AdSelectionFromOutcomesConfigValidatorTest 68 CALLER_PACKAGE_NAME, mPrebuiltLogicGenerator); in setup()
|
D | AdSelectionFailureE2ETest.java | 205 private static final String CALLER_PACKAGE_NAME = TEST_PACKAGE_NAME; field in AdSelectionFailureE2ETest 407 CALLER_PACKAGE_NAME, in setUp() 609 .setCallerPackageName(CALLER_PACKAGE_NAME) in invokeSelectAds()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/signature/ |
D | ProtectedAudienceSignatureManagerTest.java | 62 private static final String CALLER_PACKAGE_NAME = "callerPackageName"; field in ProtectedAudienceSignatureManagerTest 96 BUYER, SELLER, CALLER_PACKAGE_NAME, SIGNED_CONTEXTUAL_ADS); in testVerifySignature_validSignature_returnTrue() 115 BUYER, SELLER, CALLER_PACKAGE_NAME, signedContextualAds); in testVerifySignature_invalidSignature_returnFalse() 127 BUYER, SELLER, CALLER_PACKAGE_NAME, SIGNED_CONTEXTUAL_ADS); in testMultipleKeys_success() 141 BUYER, SELLER, CALLER_PACKAGE_NAME, SIGNED_CONTEXTUAL_ADS); in testFetchKeys_adTechNotEnrolled_failsVerification() 155 BUYER, SELLER, CALLER_PACKAGE_NAME, SIGNED_CONTEXTUAL_ADS); in testFetchKeys_adTechEnrollmentIdNull_failsVerification() 167 BUYER, SELLER, CALLER_PACKAGE_NAME, SIGNED_CONTEXTUAL_ADS); in testFetchKeys_adTechHasNoKeys_failsVerification() 181 BUYER, SELLER, CALLER_PACKAGE_NAME, SIGNED_CONTEXTUAL_ADS); in testFetchKeys_adTechHasKeyWithWrongFormat_failsVerification() 270 .setFailedSignatureCallerPackageName(CALLER_PACKAGE_NAME); in verifyLogFailedSignatureVerification() 299 .setFailedSignatureCallerPackageName(CALLER_PACKAGE_NAME); in verifyLogFailedSignatureVerificationAdTechNotEnrolled() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/kanon/ |
D | KAnonE2ETest.java | 213 private static final String CALLER_PACKAGE_NAME = CommonFixture.TEST_PACKAGE_NAME; field in KAnonE2ETest 1874 .setCallerPackageName(CALLER_PACKAGE_NAME) in setupTestForPersistAdSelectionResult() 1896 .setCallerPackageName(CALLER_PACKAGE_NAME) in setupTestForPersistAdSelectionResult()
|