/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/ |
D | DBAdSelectionOverrideTest.java | 30 private static final String DECISION_LOGIC_JS = "function test() { return \"hello world\"; }"; field in DBAdSelectionOverrideTest 46 .setDecisionLogicJS(DECISION_LOGIC_JS) in testBuildDBAdSelectionOverride() 52 assertEquals(DECISION_LOGIC_JS, dbAdSelectionOverride.getDecisionLogicJS()); in testBuildDBAdSelectionOverride() 63 .setDecisionLogicJS(DECISION_LOGIC_JS) in testThrowsExceptionWithNoAdSelectionId() 76 .setDecisionLogicJS(DECISION_LOGIC_JS) in testThrowsExceptionWithNoAppPackageName() 102 .setDecisionLogicJS(DECISION_LOGIC_JS) in testThrowsExceptionWithNoTrustedScoringSignals() 113 DECISION_LOGIC_JS, in testDBAdSelectionOverrideCreate() 118 assertEquals(DECISION_LOGIC_JS, dbAdSelectionOverride.getDecisionLogicJS()); in testDBAdSelectionOverrideCreate()
|
D | DBBuyerDecisionOverrideTest.java | 35 private static final String DECISION_LOGIC_JS = field in DBBuyerDecisionOverrideTest 46 .setDecisionLogic(DECISION_LOGIC_JS) in testBuildDBBuyerDecisionOverride() 53 assertEquals(DECISION_LOGIC_JS, override.getDecisionLogic()); in testBuildDBBuyerDecisionOverride() 61 AD_SELECTION_CONFIG_ID, APP_PACKAGE_NAME, BUYER, DECISION_LOGIC_JS); in testDBBuyerDecisionOverrideCreate() 65 assertEquals(DECISION_LOGIC_JS, override.getDecisionLogic()); in testDBBuyerDecisionOverrideCreate() 76 .setDecisionLogic(DECISION_LOGIC_JS) in testThrowsExceptionWithNoAdSelectionId() 89 .setDecisionLogic(DECISION_LOGIC_JS) in testThrowsExceptionWithNoAppPackageName() 101 .setDecisionLogic(DECISION_LOGIC_JS) in testThrowsExceptionWithNoBuyer()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/ |
D | AddAdSelectionOverrideRequestTest.java | 40 private static final String DECISION_LOGIC_JS = "function test() { return \"hello world\"; }"; field in AddAdSelectionOverrideRequestTest 47 private static final DecisionLogic DECISION_LOGIC = new DecisionLogic(DECISION_LOGIC_JS); 64 DECISION_LOGIC_JS, in testBuildsAddAdSelectionOverrideRequest() 68 assertThat(request.getDecisionLogicJs()).isEqualTo(DECISION_LOGIC_JS); in testBuildsAddAdSelectionOverrideRequest()
|
D | AdSelectionOverrideRequestTest.java | 37 private static final String DECISION_LOGIC_JS = "function test() { return \"hello world\"; }"; field in AdSelectionOverrideRequestTest 53 AD_SELECTION_CONFIG, DECISION_LOGIC_JS, TRUSTED_SCORING_SIGNALS); in testBuildValidAddAdSelectionOverrideRequestSuccess() 56 assertEquals(request.getDecisionLogicJs(), DECISION_LOGIC_JS); in testBuildValidAddAdSelectionOverrideRequestSuccess() local
|
D | PerBuyerDecisionLogicTest.java | 43 private static final String DECISION_LOGIC_JS = "function test() { return \"hello world\"; }"; field in PerBuyerDecisionLogicTest 44 private static final DecisionLogic DECISION_LOGIC = new DecisionLogic(DECISION_LOGIC_JS);
|
D | TestAdSelectionManagerTest.java | 83 private static final String DECISION_LOGIC_JS = "function test() { return \"hello world\"; }"; field in TestAdSelectionManagerTest 191 AD_SELECTION_CONFIG, DECISION_LOGIC_JS, TRUSTED_SCORING_SIGNALS); in testAddOverrideFailsWithDebugModeDisabled() 339 AD_SELECTION_FROM_OUTCOMES_CONFIG, DECISION_LOGIC_JS, SELECTION_SIGNALS); in testAddFromOutcomesOverrideFailsWithDebugModeDisabled()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/devapi/ |
D | AdSelectionDevOverridesHelperTest.java | 50 private static final String DECISION_LOGIC_JS = "function test() {return 'hello';}"; field in AdSelectionDevOverridesHelperTest 61 .setDecisionLogicJS(DECISION_LOGIC_JS) 69 .setDecisionLogic(DECISION_LOGIC_JS) 123 .isEqualTo(DECISION_LOGIC_JS); in testGetDecisionLogicOverrideFindsMatchingOverride() 128 .containsEntry(CommonFixture.VALID_BUYER_1, DECISION_LOGIC_JS); in testGetDecisionLogicOverrideFindsMatchingOverride()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/ |
D | AdSelectionManagerDebuggableTest.java | 46 private static final String DECISION_LOGIC_JS = "function test() { return \"hello world\"; }"; field in AdSelectionManagerDebuggableTest 92 AD_SELECTION_CONFIG, DECISION_LOGIC_JS, TRUSTED_SCORING_SIGNALS); in testAddOverrideSucceeds() 121 AD_SELECTION_CONFIG, DECISION_LOGIC_JS, TRUSTED_SCORING_SIGNALS); in testRemoveExistingOverrideSucceeds()
|
/packages/modules/AdServices/adservices/tests/cts/endtoends/customaudience/src/com/android/adservices/tests/cts/customaudience/ |
D | CustomAudienceTest.java | 148 private static final String DECISION_LOGIC_JS = field in CustomAudienceTest 661 return new MockResponse().setBody(DECISION_LOGIC_JS); in getMockWebServer()
|