summaryrefslogtreecommitdiff
path: root/adservices/service-core/java/com/android/adservices/service/Flags.java
diff options
context:
space:
mode:
Diffstat (limited to 'adservices/service-core/java/com/android/adservices/service/Flags.java')
-rw-r--r--adservices/service-core/java/com/android/adservices/service/Flags.java100
1 files changed, 6 insertions, 94 deletions
diff --git a/adservices/service-core/java/com/android/adservices/service/Flags.java b/adservices/service-core/java/com/android/adservices/service/Flags.java
index 9b1a8de6f3..4fcbb820b6 100644
--- a/adservices/service-core/java/com/android/adservices/service/Flags.java
+++ b/adservices/service-core/java/com/android/adservices/service/Flags.java
@@ -709,7 +709,7 @@ public interface Flags extends CommonFlags {
return MEASUREMENT_FLEX_API_MAX_INFORMATION_GAIN_EVENT;
}
- float MEASUREMENT_FLEX_API_MAX_INFORMATION_GAIN_NAVIGATION = 11.46173F;
+ float MEASUREMENT_FLEX_API_MAX_INFORMATION_GAIN_NAVIGATION = 11.5F;
/** Returns max information gain in Flexible Event API for Navigation sources */
default float getMeasurementFlexApiMaxInformationGainNavigation() {
@@ -3522,14 +3522,6 @@ public interface Flags extends CommonFlags {
return MEASUREMENT_MIN_EVENT_REPORT_DELAY_MILLIS;
}
- /** Disable early reporting windows configurability by default. */
- boolean MEASUREMENT_ENABLE_CONFIGURABLE_EVENT_REPORTING_WINDOWS = false;
-
- /** Returns true if event reporting windows configurability is enabled, false otherwise. */
- default boolean getMeasurementEnableConfigurableEventReportingWindows() {
- return MEASUREMENT_ENABLE_CONFIGURABLE_EVENT_REPORTING_WINDOWS;
- }
-
/**
* Default early reporting windows for VTC type source. Derived from {@link
* com.android.adservices.service.measurement.PrivacyParams#EVENT_EARLY_REPORTING_WINDOW_MILLISECONDS}.
@@ -3589,18 +3581,8 @@ public interface Flags extends CommonFlags {
return MEASUREMENT_AGGREGATE_REPORT_DELAY_CONFIG;
}
- /** Disable conversions configurability by default. */
- boolean DEFAULT_MEASUREMENT_ENABLE_VTC_CONFIGURABLE_MAX_EVENT_REPORTS = false;
-
- /**
- * Returns true, if event reports max conversions configurability is enabled, false otherwise.
- */
- default boolean getMeasurementEnableVtcConfigurableMaxEventReports() {
- return DEFAULT_MEASUREMENT_ENABLE_VTC_CONFIGURABLE_MAX_EVENT_REPORTS;
- }
-
- /** Disable conversions configurability by default. */
- int DEFAULT_MEASUREMENT_VTC_CONFIGURABLE_MAX_EVENT_REPORTS_COUNT = 2;
+ /** Default max allowed number of event reports. */
+ int DEFAULT_MEASUREMENT_VTC_CONFIGURABLE_MAX_EVENT_REPORTS_COUNT = 1;
/** Returns the default max allowed number of event reports. */
default int getMeasurementVtcConfigurableMaxEventReportsCount() {
@@ -3983,11 +3965,11 @@ public interface Flags extends CommonFlags {
}
/** Default RVC NOTIFICATION feature flag.. */
- boolean DEFAULT_RVC_NOTIFICATION_ENABLED = false;
+ boolean DEFAULT_RVC_POST_OTA_NOTIFICATION_ENABLED = false;
/** RVC Notification feature flag.. */
- default boolean getEnableRvcNotification() {
- return DEFAULT_RVC_NOTIFICATION_ENABLED;
+ default boolean getEnableRvcPostOtaNotification() {
+ return DEFAULT_RVC_POST_OTA_NOTIFICATION_ENABLED;
}
/** Default enableAdServices system API feature flag.. */
@@ -4104,76 +4086,6 @@ public interface Flags extends CommonFlags {
return MEASUREMENT_MIN_REPORTING_ORIGIN_UPDATE_WINDOW;
}
- float MEASUREMENT_INSTALL_ATTR_DUAL_DESTINATION_EVENT_NOISE_PROBABILITY = 0.0000208f;
-
- /**
- * {@link Source} Noise probability for 'Event' when both destinations (app and web) are
- * available on the source and supports install attribution.
- */
- default float getMeasurementInstallAttrDualDestinationEventNoiseProbability() {
- return MEASUREMENT_INSTALL_ATTR_DUAL_DESTINATION_EVENT_NOISE_PROBABILITY;
- }
-
- float MEASUREMENT_DUAL_DESTINATION_NAVIGATION_NOISE_PROBABILITY = 0.0170218f;
-
- /**
- * {@link Source} Noise probability for 'Navigation' when both destinations (app and web) are
- * available on the source.
- */
- default float getMeasurementDualDestinationNavigationNoiseProbability() {
- return MEASUREMENT_DUAL_DESTINATION_NAVIGATION_NOISE_PROBABILITY;
- }
-
- float MEASUREMENT_INSTALL_ATTR_DUAL_DESTINATION_NAVIGATION_NOISE_PROBABILITY =
- MEASUREMENT_DUAL_DESTINATION_NAVIGATION_NOISE_PROBABILITY;
-
- /**
- * {@link Source} Noise probability for 'Navigation' when both destinations (app and web) are
- * available on the source and supports install attribution.
- */
- default float getMeasurementInstallAttrDualDestinationNavigationNoiseProbability() {
- return MEASUREMENT_INSTALL_ATTR_DUAL_DESTINATION_NAVIGATION_NOISE_PROBABILITY;
- }
-
- float MEASUREMENT_DUAL_DESTINATION_EVENT_NOISE_PROBABILITY = 0.0000042f;
-
- /**
- * {@link Source} Noise probability for 'Event' when both destinations (app and web) are
- * available on the source.
- */
- default float getMeasurementDualDestinationEventNoiseProbability() {
- return MEASUREMENT_DUAL_DESTINATION_EVENT_NOISE_PROBABILITY;
- }
-
- float MEASUREMENT_INSTALL_ATTR_EVENT_NOISE_PROBABILITY = 0.0000125f;
-
- /** {@link Source} Noise probability for 'Event' which supports install attribution. */
- default float getMeasurementInstallAttrEventNoiseProbability() {
- return MEASUREMENT_INSTALL_ATTR_EVENT_NOISE_PROBABILITY;
- }
-
- float MEASUREMENT_EVENT_NOISE_PROBABILITY = 0.0000025f;
-
- /** {@link Source} Noise probability for 'Event'. */
- default float getMeasurementEventNoiseProbability() {
- return MEASUREMENT_EVENT_NOISE_PROBABILITY;
- }
-
- float MEASUREMENT_NAVIGATION_NOISE_PROBABILITY = 0.0024263f;
-
- /** {@link Source} Noise probability for 'Navigation'. */
- default float getMeasurementNavigationNoiseProbability() {
- return MEASUREMENT_NAVIGATION_NOISE_PROBABILITY;
- }
-
- float MEASUREMENT_INSTALL_ATTR_NAVIGATION_NOISE_PROBABILITY =
- MEASUREMENT_NAVIGATION_NOISE_PROBABILITY;
-
- /** {@link Source} Noise probability for 'Navigation' which supports install attribution. */
- default float getMeasurementInstallAttrNavigationNoiseProbability() {
- return MEASUREMENT_INSTALL_ATTR_NAVIGATION_NOISE_PROBABILITY;
- }
-
boolean MEASUREMENT_ENABLE_PREINSTALL_CHECK = false;
/** Returns true when pre-install check is enabled. */