1 /* 2 * Copyright (C) 2023 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package com.android.adservices.service; 17 18 /** 19 * Defines constants used by {@code Flags}, {@code PhFlags} and testing infra (both device and host 20 * side). 21 * 22 * <p><b>NOTE: </b>cannot have any dependency on Android or other AdServices code. 23 */ 24 public final class FlagsConstants { 25 FlagsConstants()26 private FlagsConstants() { 27 throw new UnsupportedOperationException("Contains only static constants"); 28 } 29 30 // ******************************************** 31 // * Flag values (initially defined by Flags) * 32 // ******************************************** 33 34 public static final int SYSTEM_SERVER_ONLY = 0; 35 public static final int PPAPI_ONLY = 1; 36 public static final int PPAPI_AND_SYSTEM_SERVER = 2; 37 public static final int APPSEARCH_ONLY = 3; 38 public static final int PPAPI_AND_ADEXT_SERVICE = 4; 39 public static final float ADID_REQUEST_PERMITS_PER_SECOND = 25; 40 41 // ************************************************** 42 // * Other constants (initially defined by PhFlags) * 43 // ************************************************** 44 45 // AdServices Namespace String from DeviceConfig class not available in S Minus 46 public static final String NAMESPACE_ADSERVICES = "adservices"; 47 48 /** (Default) string used to separate array values on flattened flags. */ 49 public static final String ARRAY_SPLITTER_COMMA = ","; 50 51 /** Constant used to allow everything (typically all packages) on allow-list flags. */ 52 public static final String ALLOWLIST_ALL = "*"; 53 54 /** Constant used to not allow anything (typically all packages) on allow-list flags. */ 55 public static final String ALLOWLIST_NONE = ""; 56 57 // Maximum possible percentage for percentage variables 58 public static final int MAX_PERCENTAGE = 100; 59 60 // ********************************************* 61 // * Flag names (initially defined by PhFlags) * 62 // ********************************************* 63 64 /* 65 * Keys for ALL the flags stored in DeviceConfig. 66 */ 67 // Common Keys 68 public static final String KEY_MAINTENANCE_JOB_PERIOD_MS = "maintenance_job_period_ms"; 69 public static final String KEY_MAINTENANCE_JOB_FLEX_MS = "maintenance_job_flex_ms"; 70 71 public static final String KEY_ERROR_CODE_LOGGING_DENY_LIST = "error_code_logging_deny_list"; 72 73 public static final String KEY_ENABLE_COMPUTE_VERSION_FROM_MAPPINGS = 74 "enable_compute_version_from_mappings"; 75 public static final String KEY_MAINLINE_TRAIN_VERSION = "mainline_train_version"; 76 public static final String KEY_ADSERVICES_VERSION_MAPPINGS = "adservices_version_mappings"; 77 78 // Encryption keys 79 public static final String KEY_ENCRYPTION_KEY_NETWORK_CONNECT_TIMEOUT_MS = 80 "encryption_key_network_connect_timeout_ms"; 81 public static final String KEY_ENCRYPTION_KEY_NETWORK_READ_TIMEOUT_MS = 82 "encryption_key_network_read_timeout_ms"; 83 84 // Topics keys 85 public static final String KEY_TOPICS_EPOCH_JOB_PERIOD_MS = "topics_epoch_job_period_ms"; 86 public static final String KEY_TOPICS_EPOCH_JOB_FLEX_MS = "topics_epoch_job_flex_ms"; 87 public static final String KEY_TOPICS_PERCENTAGE_FOR_RANDOM_TOPIC = 88 "topics_percentage_for_random_topics"; 89 public static final String KEY_TOPICS_NUMBER_OF_TOP_TOPICS = "topics_number_of_top_topics"; 90 public static final String KEY_TOPICS_NUMBER_OF_RANDOM_TOPICS = 91 "topics_number_of_random_topics"; 92 public static final String KEY_TOPICS_NUMBER_OF_LOOK_BACK_EPOCHS = 93 "topics_number_of_lookback_epochs"; 94 public static final String KEY_TOPICS_PRIVACY_BUDGET_FOR_TOPIC_ID_DISTRIBUTION = 95 "topics_privacy_budget_for_topic_ids_distribution"; 96 public static final String KEY_NUMBER_OF_EPOCHS_TO_KEEP_IN_HISTORY = 97 "topics_number_of_epochs_to_keep_in_history"; 98 public static final String KEY_GLOBAL_BLOCKED_TOPIC_IDS = "topics_global_blocked_topic_ids"; 99 public static final String KEY_TOPICS_DISABLE_DIRECT_APP_CALLS = 100 "topics_disable_direct_app_calls"; 101 public static final String KEY_TOPICS_ENCRYPTION_ENABLED = "topics_encryption_enabled"; 102 public static final String KEY_TOPICS_ENCRYPTION_METRICS_ENABLED = 103 "topics_encryption_metrics_enabled"; 104 public static final String KEY_TOPICS_DISABLE_PLAINTEXT_RESPONSE = 105 "topics_disable_plaintext_response"; 106 public static final String KEY_TOPICS_TEST_ENCRYPTION_PUBLIC_KEY = 107 "topics_test_encryption_public_key"; 108 109 // Topics classifier keys 110 public static final String KEY_CLASSIFIER_TYPE = "classifier_type"; 111 public static final String KEY_CLASSIFIER_NUMBER_OF_TOP_LABELS = 112 "classifier_number_of_top_labels"; 113 public static final String KEY_CLASSIFIER_THRESHOLD = "classifier_threshold"; 114 public static final String KEY_CLASSIFIER_DESCRIPTION_MAX_WORDS = 115 "classifier_description_max_words"; 116 public static final String KEY_CLASSIFIER_DESCRIPTION_MAX_LENGTH = 117 "classifier_description_max_length"; 118 public static final String KEY_CLASSIFIER_FORCE_USE_BUNDLED_FILES = 119 "classifier_force_use_bundled_files"; 120 121 // Cobalt keys 122 public static final String KEY_TOPICS_COBALT_LOGGING_ENABLED = "topics_cobalt_logging_enabled"; 123 public static final String KEY_MSMT_REGISTRATION_COBALT_LOGGING_ENABLED = 124 "msmt_registration_cobalt_logging_enabled"; 125 public static final String KEY_MSMT_ATTRIBUTION_COBALT_LOGGING_ENABLED = 126 "msmt_attribution_cobalt_logging_enabled"; 127 public static final String KEY_MSMT_REPORTING_COBALT_LOGGING_ENABLED = 128 "msmt_reporting_cobalt_logging_enabled"; 129 public static final String KEY_APP_NAME_API_ERROR_COBALT_LOGGING_ENABLED = 130 "app_name_api_error_cobalt_logging_enabled"; 131 public static final String KEY_APP_NAME_API_ERROR_COBALT_LOGGING_SAMPLING_RATE = 132 "app_name_api_error_cobalt_logging_sampling_rate"; 133 public static final String KEY_COBALT_ADSERVICES_API_KEY_HEX = "cobalt_adservices_api_key_hex"; 134 public static final String KEY_ADSERVICES_RELEASE_STAGE_FOR_COBALT = 135 "adservices_release_stage_for_cobalt"; 136 public static final String KEY_COBALT_LOGGING_JOB_PERIOD_MS = "cobalt_logging_job_period_ms"; 137 public static final String KEY_COBALT_UPLOAD_SERVICE_UNBIND_DELAY_MS = 138 "cobalt_upload_service_unbind_delay_ms"; 139 public static final String KEY_COBALT_LOGGING_ENABLED = "cobalt_logging_enabled"; 140 141 // Measurement keys 142 public static final String KEY_MEASUREMENT_EVENT_MAIN_REPORTING_JOB_PERIOD_MS = 143 "measurement_event_main_reporting_job_period_ms"; 144 public static final String KEY_MEASUREMENT_EVENT_FALLBACK_REPORTING_JOB_PERIOD_MS = 145 "measurement_event_fallback_reporting_job_period_ms"; 146 147 public static final String KEY_MEASUREMENT_AGGREGATION_COORDINATOR_ORIGIN_ENABLED = 148 "measurement_aggregation_coordination_origin_enabled"; 149 150 public static final String KEY_MEASUREMENT_AGGREGATION_COORDINATOR_ORIGIN_LIST = 151 "measurement_aggregation_coordinator_origin_list"; 152 153 public static final String KEY_MEASUREMENT_DEFAULT_AGGREGATION_COORDINATOR_ORIGIN = 154 "measurement_default_aggregation_coordinator_origin"; 155 156 public static final String KEY_MEASUREMENT_AGGREGATION_COORDINATOR_PATH = 157 "measurement_aggregation_coordinator_path"; 158 159 public static final String KEY_MEASUREMENT_AGGREGATE_MAIN_REPORTING_JOB_PERIOD_MS = 160 "measurement_aggregate_main_reporting_job_period_ms"; 161 162 public static final String KEY_MEASUREMENT_AGGREGATE_FALLBACK_REPORTING_JOB_PERIOD_MS = 163 "measurement_aggregate_fallback_reporting_job_period_ms"; 164 165 public static final String KEY_MEASUREMENT_NULL_AGGREGATE_REPORT_ENABLED = 166 "measurement_null_aggregate_report_enabled"; 167 168 public static final String KEY_MEASUREMENT_NULL_AGG_REPORT_RATE_INCL_SOURCE_REGISTRATION_TIME = 169 "measurement_null_agg_report_rate_incl_source_registration_time"; 170 171 public static final String KEY_MEASUREMENT_NULL_AGG_REPORT_RATE_EXCL_SOURCE_REGISTRATION_TIME = 172 "measurement_null_agg_report_rate_excl_source_registration_time"; 173 174 public static final String 175 KEY_MEASUREMENT_SOURCE_REGISTRATION_TIME_OPTIONAL_FOR_AGG_REPORTS_ENABLED = 176 "measurement_source_registration_time_optional_for_agg_reports_enabled"; 177 178 public static final String KEY_MEASUREMENT_ENABLE_TRIGGER_CONTEXT_ID = 179 "measurement_enable_trigger_context_id"; 180 181 public static final String KEY_MEASUREMENT_MAX_LENGTH_OF_TRIGGER_CONTEXT_ID = 182 "measurement_max_length_of_trigger_context_id"; 183 184 public static final String KEY_MEASUREMENT_NETWORK_CONNECT_TIMEOUT_MS = 185 "measurement_network_connect_timeout_ms"; 186 public static final String KEY_MEASUREMENT_NETWORK_READ_TIMEOUT_MS = 187 "measurement_network_read_timeout_ms"; 188 public static final String KEY_MEASUREMENT_DB_SIZE_LIMIT = "measurement_db_size_limit"; 189 190 public static final String KEY_MEASUREMENT_MANIFEST_FILE_URL = 191 "mdd_measurement_manifest_file_url"; 192 public static final String KEY_MEASUREMENT_REGISTRATION_INPUT_EVENT_VALID_WINDOW_MS = 193 "measurement_registration_input_event_valid_window_ms"; 194 public static final String KEY_MEASUREMENT_IS_CLICK_VERIFICATION_ENABLED = 195 "measurement_is_click_verification_enabled"; 196 public static final String KEY_MEASUREMENT_IS_CLICK_VERIFIED_BY_INPUT_EVENT = 197 "measurement_is_click_verified_by_input_event"; 198 public static final String KEY_MEASUREMENT_IS_CLICK_DEDUPLICATION_ENABLED = 199 "measurement_is_click_deduplication_enabled"; 200 public static final String KEY_MEASUREMENT_IS_CLICK_DEDUPLICATION_ENFORCED = 201 "measurement_is_click_deduplication_enforced"; 202 public static final String KEY_MEASUREMENT_MAX_SOURCES_PER_CLICK = 203 "measurement_max_sources_per_click"; 204 public static final String KEY_MEASUREMENT_ENFORCE_FOREGROUND_STATUS_REGISTER_SOURCE = 205 "measurement_enforce_foreground_status_register_source"; 206 public static final String KEY_MEASUREMENT_ENFORCE_FOREGROUND_STATUS_REGISTER_TRIGGER = 207 "measurement_enforce_foreground_status_register_trigger"; 208 public static final String KEY_MEASUREMENT_ENFORCE_FOREGROUND_STATUS_REGISTER_WEB_SOURCE = 209 "measurement_enforce_foreground_status_register_web_source"; 210 public static final String KEY_MEASUREMENT_ENFORCE_FOREGROUND_STATUS_REGISTER_WEB_TRIGGER = 211 "measurement_enforce_foreground_status_register_web_trigger"; 212 public static final String KEY_MEASUREMENT_ENFORCE_ENROLLMENT_ORIGIN_MATCH = 213 "measurement_enforce_enrollment_origin_match"; 214 public static final String KEY_MEASUREMENT_ENFORCE_FOREGROUND_STATUS_DELETE_REGISTRATIONS = 215 "measurement_enforce_foreground_status_delete_registrations"; 216 public static final String KEY_MEASUREMENT_ENFORCE_FOREGROUND_STATUS_GET_STATUS = 217 "measurement_enforce_foreground_status_get_status"; 218 public static final String KEY_MEASUREMENT_ENFORCE_FOREGROUND_STATUS_REGISTER_SOURCES = 219 "measurement_enforce_foreground_status_register_sources"; 220 public static final String KEY_MEASUREMENT_ENABLE_XNA = "measurement_enable_xna"; 221 public static final String KEY_MEASUREMENT_ENABLE_SHARED_SOURCE_DEBUG_KEY = 222 "measurement_enable_shared_source_debug_key"; 223 public static final String KEY_MEASUREMENT_ENABLE_SHARED_FILTER_DATA_KEYS_XNA = 224 "measurement_enable_shared_filter_data_keys_xna"; 225 public static final String KEY_MEASUREMENT_ENABLE_DEBUG_REPORT = 226 "measurement_enable_debug_report"; 227 public static final String KEY_MEASUREMENT_ENABLE_SOURCE_DEBUG_REPORT = 228 "measurement_enable_source_debug_report"; 229 public static final String KEY_MEASUREMENT_ENABLE_TRIGGER_DEBUG_REPORT = 230 "measurement_enable_trigger_debug_report"; 231 public static final String KEY_MEASUREMENT_ENABLE_HEADER_ERROR_DEBUG_REPORT = 232 "measurement_enable_header_error_debug_report"; 233 public static final String KEY_MEASUREMENT_DATA_EXPIRY_WINDOW_MS = 234 "measurement_data_expiry_window_ms"; 235 236 public static final String KEY_MEASUREMENT_MAX_REGISTRATION_REDIRECTS = 237 "measurement_max_registration_redirects"; 238 239 public static final String KEY_MEASUREMENT_MAX_REGISTRATIONS_PER_JOB_INVOCATION = 240 "measurement_max_registration_per_job_invocation"; 241 242 public static final String KEY_MEASUREMENT_MAX_RETRIES_PER_REGISTRATION_REQUEST = 243 "measurement_max_retries_per_registration_request"; 244 245 public static final String KEY_MEASUREMENT_ASYNC_REGISTRATION_JOB_TRIGGER_MIN_DELAY_MS = 246 "measurement_async_registration_job_trigger_min_delay_ms"; 247 248 public static final String KEY_MEASUREMENT_ASYNC_REGISTRATION_JOB_TRIGGER_MAX_DELAY_MS = 249 "measurement_async_registration_job_trigger_max_delay_ms"; 250 251 public static final String KEY_MEASUREMENT_ATTRIBUTION_JOB_TRIGGERING_DELAY_MS = 252 "measurement_attribution_job_triggering_delay_ms"; 253 254 public static final String KEY_MEASUREMENT_MAX_ATTRIBUTIONS_PER_INVOCATION = 255 "measurement_max_attributions_per_invocation"; 256 257 public static final String KEY_MEASUREMENT_MAX_EVENT_REPORT_UPLOAD_RETRY_WINDOW_MS = 258 "measurement_max_event_report_upload_retry_window_ms"; 259 260 public static final String KEY_MEASUREMENT_MAX_AGGREGATE_REPORT_UPLOAD_RETRY_WINDOW_MS = 261 "measurement_max_aggregate_report_upload_retry_window_ms"; 262 263 public static final String KEY_MEASUREMENT_MAX_DELAYED_SOURCE_REGISTRATION_WINDOW = 264 "measurement_max_delayed_source_registration_window"; 265 266 public static final String KEY_MEASUREMENT_MAX_BYTES_PER_ATTRIBUTION_FILTER_STRING = 267 "measurement_max_bytes_per_attribution_filter_string"; 268 269 public static final String KEY_MEASUREMENT_MAX_FILTER_MAPS_PER_FILTER_SET = 270 "measurement_max_filter_maps_per_filter_set"; 271 272 public static final String KEY_MEASUREMENT_MAX_VALUES_PER_ATTRIBUTION_FILTER = 273 "measurement_max_values_per_attribution_filter"; 274 275 public static final String KEY_MEASUREMENT_MAX_ATTRIBUTION_FILTERS = 276 "measurement_max_attribution_filters"; 277 278 public static final String KEY_MEASUREMENT_MAX_BYTES_PER_ATTRIBUTION_AGGREGATE_KEY_ID = 279 "measurement_max_bytes_per_attribution_aggregate_key_id"; 280 281 public static final String KEY_MEASUREMENT_MAX_AGGREGATE_DEDUPLICATION_KEYS_PER_REGISTRATION = 282 "measurement_max_aggregate_deduplication_keys_per_registration"; 283 284 public static final String KEY_MEASUREMENT_ATTRIBUTION_FALLBACK_JOB_KILL_SWITCH = 285 "measurement_attribution_fallback_job_kill_switch"; 286 287 public static final String KEY_MEASUREMENT_ATTRIBUTION_FALLBACK_JOB_PERIOD_MS = 288 "measurement_attribution_fallback_job_period_ms"; 289 290 public static final String KEY_MEASUREMENT_MAX_ATTRIBUTION_PER_RATE_LIMIT_WINDOW = 291 "measurement_max_attribution_per_rate_limit_window"; 292 293 public static final String KEY_MEASUREMENT_MAX_EVENT_ATTRIBUTION_PER_RATE_LIMIT_WINDOW = 294 "measurement_max_event_attribution_per_rate_limit_window"; 295 296 public static final String KEY_MEASUREMENT_MAX_AGGREGATE_ATTRIBUTION_PER_RATE_LIMIT_WINDOW = 297 "measurement_max_aggregate_attribution_per_rate_limit_window"; 298 299 public static final String KEY_MEASUREMENT_MAX_DISTINCT_REPORTING_ORIGINS_IN_ATTRIBUTION = 300 "measurement_max_distinct_enrollments_in_attribution"; 301 302 public static final String KEY_MEASUREMENT_MAX_DISTINCT_DESTINATIONS_IN_ACTIVE_SOURCE = 303 "measurement_max_distinct_destinations_in_active_source"; 304 305 public static final String 306 KEY_MEASUREMENT_MAX_REPORTING_ORIGINS_PER_SOURCE_REPORTING_SITE_PER_WINDOW = 307 "measurement_max_reporting_origins_per_source_reporting_site_per_window"; 308 309 public static final String KEY_MEASUREMENT_MAX_DISTINCT_REPORTING_ORIGINS_IN_SOURCE = 310 "measurement_max_distinct_reporting_origins_in_source"; 311 312 public static final String KEY_MEASUREMENT_ENABLE_DESTINATION_RATE_LIMIT = 313 "measurement_enable_destination_rate_limit"; 314 315 public static final String 316 KEY_MEASUREMENT_MAX_DESTINATIONS_PER_PUBLISHER_PER_RATE_LIMIT_WINDOW = 317 "measurement_max_destinations_per_publisher_per_rate_limit_window"; 318 319 public static final String 320 KEY_MEASUREMENT_MAX_DEST_PER_PUBLISHER_X_ENROLLMENT_PER_RATE_LIMIT_WINDOW = 321 "measurement_max_dest_per_publisher_x_enrollment_per_rate_limit_window"; 322 323 public static final String KEY_MEASUREMENT_DESTINATION_RATE_LIMIT_WINDOW = 324 "measurement_destination_rate_limit_window"; 325 326 public static final String KEY_MEASUREMENT_ENABLE_COARSE_EVENT_REPORT_DESTINATIONS = 327 "measurement_enable_coarse_event_report_destinations"; 328 329 public static final String KEY_MEASUREMENT_VTC_CONFIGURABLE_MAX_EVENT_REPORTS_COUNT = 330 "measurement_vtc_configurable_max_event_reports_count"; 331 332 public static final String KEY_MEASUREMENT_ENABLE_ARA_DEDUPLICATION_ALIGNMENT_V1 = 333 "measurement_enable_ara_deduplication_alignment_v1"; 334 335 public static final String KEY_MEASUREMENT_ENABLE_SOURCE_DEACTIVATION_AFTER_FILTERING = 336 "measurement_enable_source_deactivation_after_filtering"; 337 338 public static final String KEY_MEASUREMENT_DEBUG_REPORTING_FALLBACK_JOB_PERIOD_MS = 339 "measurement_debug_reporting_fallback_job_period_ms"; 340 341 public static final String KEY_MEASUREMENT_VERBOSE_DEBUG_REPORTING_FALLBACK_JOB_PERIOD_MS = 342 "measurement_verbose_debug_reporting_fallback_job_period_ms"; 343 344 public static final String KEY_MEASUREMENT_ENABLE_APP_PACKAGE_NAME_LOGGING = 345 "measurement_enable_app_package_name_logging"; 346 347 public static final String KEY_MEASUREMENT_ENABLE_REPORTING_JOBS_THROW_UNACCOUNTED_EXCEPTION = 348 "measurement_enable_reporting_jobs_throw_accounted_exception"; 349 350 public static final String KEY_MEASUREMENT_ENABLE_REPORTING_JOBS_THROW_JSON_EXCEPTION = 351 "measurement_enable_reporting_jobs_throw_json_exception"; 352 353 public static final String KEY_MEASUREMENT_ENABLE_DELETE_REPORTS_ON_UNRECOVERABLE_EXCEPTION = 354 "measurement_enable_delete_reports_on_unrecoverable_exception"; 355 356 public static final String KEY_MEASUREMENT_ENABLE_REPORTING_JOBS_THROW_CRYPTO_EXCEPTION = 357 "measurement_enable_reporting_jobs_throw_crypto_exception"; 358 359 public static final String KEY_MEASUREMENT_ENABLE_DATASTORE_MANAGER_THROW_DATASTORE_EXCEPTION = 360 "measurement_enable_datastore_manager_throw_datastore_exception"; 361 362 public static final String KEY_MEASUREMENT_THROW_UNKNOWN_EXCEPTION_SAMPLING_RATE = 363 "measurement_throw_unknown_exception_sampling_rate"; 364 365 public static final String KEY_MEASUREMENT_EVENT_REPORTING_JOB_REQUIRED_BATTERY_NOT_LOW = 366 "measurement_event_reporting_job_required_battery_not_low"; 367 368 public static final String KEY_MEASUREMENT_EVENT_REPORTING_JOB_REQUIRED_NETWORK_TYPE = 369 "measurement_event_reporting_job_required_network_type"; 370 371 public static final String KEY_MEASUREMENT_EVENT_REPORTING_JOB_PERSISTED = 372 "measurement_event_reporting_job_persisted"; 373 374 public static final String 375 KEY_MEASUREMENT_EVENT_FALLBACK_REPORTING_JOB_REQUIRED_BATTERY_NOT_LOW = 376 "measurement_event_fallback_reporting_job_required_battery_not_low"; 377 378 public static final String KEY_MEASUREMENT_EVENT_FALLBACK_REPORTING_JOB_REQUIRED_NETWORK_TYPE = 379 "measurement_event_fallback_reporting_job_required_network_type"; 380 381 public static final String KEY_MEASUREMENT_EVENT_FALLBACK_REPORTING_JOB_PERSISTED = 382 "measurement_event_fallback_reporting_job_persisted"; 383 384 public static final String KEY_MEASUREMENT_DEBUG_REPORTING_JOB_REQUIRED_NETWORK_TYPE = 385 "measurement_debug_reporting_job_required_network_type"; 386 387 public static final String KEY_MEASUREMENT_DEBUG_REPORTING_FALLBACK_JOB_REQUIRED_NETWORK_TYPE = 388 "measurement_debug_reporting_fallback_job_required_network_type"; 389 390 public static final String KEY_MEASUREMENT_DEBUG_REPORTING_FALLBACK_JOB_PERSISTED = 391 "measurement_debug_reporting_fallback_job_persisted"; 392 393 public static final String KEY_MEASUREMENT_VERBOSE_DEBUG_REPORTING_JOB_REQUIRED_NETWORK_TYPE = 394 "measurement_verbose_debug_reporting_job_required_network_type"; 395 396 public static final String KEY_MEASUREMENT_VERBOSE_DEBUG_REPORTING_FALLBACK_JOB_PERSISTED = 397 "measurement_verbose_debug_reporting_fallback_job_persisted"; 398 399 static final String KEY_MEASUREMENT_REPORT_RETRY_LIMIT = "measurement_report_retry_limit"; 400 static final String KEY_MEASUREMENT_REPORT_RETRY_LIMIT_ENABLED = 401 "measurement_report_retry_limit_enabled"; 402 public static final String KEY_MEASUREMENT_APP_PACKAGE_NAME_LOGGING_ALLOWLIST = 403 "measurement_app_package_name_logging_allowlist"; 404 405 public static final String KEY_MEASUREMENT_DELETE_UNINSTALLED_JOB_PERSISTED = 406 "measurement_delete_uninstalled_job_persisted"; 407 408 public static final String KEY_MEASUREMENT_DELETE_UNINSTALLED_JOB_PERIOD_MS = 409 "measurement_delete_uninstalled_job_period_ms"; 410 411 public static final String KEY_MEASUREMENT_DELETE_EXPIRED_JOB_PERSISTED = 412 "measurement_delete_expired_job_persisted"; 413 414 public static final String KEY_MEASUREMENT_DELETE_EXPIRED_JOB_REQUIRES_DEVICE_IDLE = 415 "measurement_delete_expired_job_requires_device_idle"; 416 417 public static final String KEY_MEASUREMENT_DELETE_EXPIRED_JOB_PERIOD_MS = 418 "measurement_delete_expired_job_period_ms"; 419 420 public static final String KEY_MEASUREMENT_ATTRIBUTION_JOB_PERSISTED = 421 "measurement_attribution_job_persisted"; 422 423 public static final String KEY_MEASUREMENT_ATTRIBUTION_FALLBACK_JOB_PERSISTED = 424 "measurement_attribution_fallback_job_persisted"; 425 426 public static final String KEY_MEASUREMENT_ASYNC_REGISTRATION_QUEUE_JOB_REQUIRED_NETWORK_TYPE = 427 "measurement_async_registration_queue_job_required_network_type"; 428 429 public static final String KEY_MEASUREMENT_ASYNC_REGISTRATION_QUEUE_JOB_PERSISTED = 430 "measurement_async_registration_queue_job_persisted"; 431 432 public static final String 433 KEY_MEASUREMENT_ASYNC_REGISTRATION_FALLBACK_JOB_REQUIRED_BATTERY_NOT_LOW = 434 "measurement_async_registration_fallback_job_required_battery_not_low"; 435 436 public static final String 437 KEY_MEASUREMENT_ASYNC_REGISTRATION_FALLBACK_JOB_REQUIRED_NETWORK_TYPE = 438 "measurement_async_registration_fallback_job_required_network_type"; 439 440 public static final String KEY_MEASUREMENT_ASYNC_REGISTRATION_FALLBACK_JOB_PERSISTED = 441 "measurement_async_registration_fallback_job_persisted"; 442 443 public static final String KEY_MEASUREMENT_AGGREGATE_REPORTING_JOB_REQUIRED_BATTERY_NOT_LOW = 444 "measurement_aggregate_reporting_job_required_battery_not_low"; 445 446 public static final String KEY_MEASUREMENT_AGGREGATE_REPORTING_JOB_REQUIRED_NETWORK_TYPE = 447 "measurement_aggregate_reporting_job_required_network_type"; 448 449 public static final String KEY_MEASUREMENT_AGGREGATE_REPORTING_JOB_PERSISTED = 450 "measurement_aggregate_reporting_job_persisted"; 451 452 public static final String 453 KEY_MEASUREMENT_AGGREGATE_FALLBACK_REPORTING_JOB_REQUIRED_BATTERY_NOT_LOW = 454 "measurement_aggregate_fallback_reporting_job_required_battery_not_low"; 455 456 public static final String 457 KEY_MEASUREMENT_AGGREGATE_FALLBACK_REPORTING_JOB_REQUIRED_NETWORK_TYPE = 458 "measurement_aggregate_fallback_reporting_job_required_network_type"; 459 460 public static final String KEY_MEASUREMENT_AGGREGATE_FALLBACK_REPORTING_JOB_PERSISTED = 461 "measurement_aggregate_fallback_reporting_job_persisted"; 462 463 public static final String 464 KEY_MEASUREMENT_IMMEDIATE_AGGREGATE_REPORTING_JOB_REQUIRED_BATTERY_NOT_LOW = 465 "measurement_immediate_aggregate_reporting_job_required_battery_not_low"; 466 467 public static final String 468 KEY_MEASUREMENT_IMMEDIATE_AGGREGATE_REPORTING_JOB_REQUIRED_NETWORK_TYPE = 469 "measurement_immediate_aggregate_reporting_job_required_network_type"; 470 471 public static final String KEY_MEASUREMENT_IMMEDIATE_AGGREGATE_REPORTING_JOB_PERSISTED = 472 "measurement_immediate_aggregate_reporting_job_persisted"; 473 474 public static final String KEY_MEASUREMENT_REPORTING_JOB_REQUIRED_BATTERY_NOT_LOW = 475 "measurement_reporting_job_required_battery_not_low"; 476 477 public static final String KEY_MEASUREMENT_REPORTING_JOB_REQUIRED_NETWORK_TYPE = 478 "measurement_reporting_job_required_network_type"; 479 480 public static final String KEY_MEASUREMENT_REPORTING_JOB_PERSISTED = 481 "measurement_reporting_job_persisted"; 482 483 public static final String KEY_MEASUREMENT_ENABLE_AGGREGATABLE_REPORT_PAYLOAD_PADDING = 484 "measurement_enable_aggregatable_report_payload_padding"; 485 486 public static final String KEY_MEASUREMENT_ENABLE_SESSION_STABLE_KILL_SWITCHES = 487 "key_measurement_enable_session_stable_kill_switches"; 488 489 public static final String KEY_FLEDGE_APP_PACKAGE_NAME_LOGGING_ENABLED = 490 "fledge_app_package_name_logging_enabled"; 491 492 public static final String KEY_MEASUREMENT_ENABLE_ODP_WEB_TRIGGER_REGISTRATION = 493 "measurement_enable_odp_web_trigger_registration"; 494 495 public static final String KEY_MEASUREMENT_ENABLE_DESTINATION_PUBLISHER_ENROLLMENT_FIFO = 496 "measurement_enable_destination_publisher_enrollment_fifo"; 497 498 public static final String KEY_MEASUREMENT_ENABLE_FIFO_DESTINATIONS_DELETE_AGGREGATE_REPORTS = 499 "measurement_enable_fifo_destinations_delete_aggregate_reports"; 500 public static final String KEY_MEASUREMENT_REPORTING_JOB_SERVICE_BATCH_WINDOW_MILLIS = 501 "measurement_reporting_job_service_batch_window_millis"; 502 public static final String KEY_MEASUREMENT_REPORTING_JOB_SERVICE_MIN_EXECUTION_WINDOW_MILLIS = 503 "measurement_reporting_job_service_min_execution_window_millis"; 504 // FLEDGE Custom Audience keys 505 public static final String KEY_FLEDGE_CUSTOM_AUDIENCE_MAX_COUNT = 506 "fledge_custom_audience_max_count"; 507 public static final String KEY_FLEDGE_CUSTOM_AUDIENCE_PER_APP_MAX_COUNT = 508 "fledge_custom_audience_per_app_max_count"; 509 public static final String KEY_FLEDGE_CUSTOM_AUDIENCE_MAX_OWNER_COUNT = 510 "fledge_custom_audience_max_owner_count"; 511 public static final String KEY_FLEDGE_CUSTOM_AUDIENCE_DEFAULT_EXPIRE_IN_MS = 512 // Flag key is in days, but the flag is used functionally as milliseconds; DO NOT FIX 513 "fledge_custom_audience_default_expire_in_days"; 514 public static final String KEY_FLEDGE_CUSTOM_AUDIENCE_MAX_ACTIVATION_DELAY_IN_MS = 515 // Flag key is in days, but the flag is used functionally as milliseconds; DO NOT FIX 516 "fledge_custom_audience_max_activate_in_days"; 517 public static final String KEY_FLEDGE_CUSTOM_AUDIENCE_MAX_EXPIRE_IN_MS = 518 // Flag key is in days, but the flag is used functionally as milliseconds; DO NOT FIX 519 "fledge_custom_audience_max_expire_in_days"; 520 public static final String KEY_FLEDGE_CUSTOM_AUDIENCE_MAX_NAME_SIZE_B = 521 // Flag key is prefixed `key_`; DO NOT FIX 522 "key_fledge_custom_audience_max_name_size_b"; 523 public static final String KEY_FLEDGE_CUSTOM_AUDIENCE_MAX_DAILY_UPDATE_URI_SIZE_B = 524 // Flag key is prefixed `key_`; DO NOT FIX 525 "key_fledge_custom_audience_max_daily_update_uri_size_b"; 526 public static final String KEY_FLEDGE_CUSTOM_AUDIENCE_MAX_BIDDING_LOGIC_URI_SIZE_B = 527 // Flag key is prefixed `key_`; DO NOT FIX 528 "key_fledge_custom_audience_max_bidding_logic_uri_size_b"; 529 public static final String KEY_FLEDGE_CUSTOM_AUDIENCE_MAX_USER_BIDDING_SIGNALS_SIZE_B = 530 "fledge_custom_audience_max_user_bidding_signals_size_b"; 531 public static final String KEY_FLEDGE_CUSTOM_AUDIENCE_MAX_TRUSTED_BIDDING_DATA_SIZE_B = 532 "fledge_custom_audience_max_trusted_bidding_data_size_b"; 533 public static final String KEY_FLEDGE_CUSTOM_AUDIENCE_MAX_ADS_SIZE_B = 534 "fledge_custom_audience_max_ads_size_b"; 535 public static final String KEY_FLEDGE_CUSTOM_AUDIENCE_MAX_NUM_ADS = 536 "fledge_custom_audience_max_num_ads"; 537 public static final String KEY_FLEDGE_CUSTOM_AUDIENCE_ACTIVE_TIME_WINDOW_MS = 538 "fledge_custom_audience_active_time_window_ms"; 539 540 // FLEDGE fetchAndJoinCustomAudience keys 541 public static final String KEY_FLEDGE_FETCH_CUSTOM_AUDIENCE_MAX_USER_BIDDING_SIGNALS_SIZE_B = 542 "fledge_fetch_custom_audience_max_user_bidding_signals_size_b"; 543 public static final String KEY_FLEDGE_FETCH_CUSTOM_AUDIENCE_MAX_REQUEST_CUSTOM_HEADER_SIZE_B = 544 "fledge_fetch_custom_audience_max_custom_header_size_b"; 545 public static final String KEY_FLEDGE_FETCH_CUSTOM_AUDIENCE_MAX_CUSTOM_AUDIENCE_SIZE_B = 546 "fledge_fetch_custom_audience_max_custom_audience_size_b"; 547 public static final String KEY_FLEDGE_FETCH_CUSTOM_AUDIENCE_MIN_RETRY_AFTER_VALUE_MS = 548 "fledge_fetch_custom_audience_min_retry_after_value_ms"; 549 public static final String KEY_FLEDGE_FETCH_CUSTOM_AUDIENCE_MAX_RETRY_AFTER_VALUE_MS = 550 "fledge_fetch_custom_audience_max_retry_after_value_ms"; 551 552 // FLEDGE Background Fetch keys 553 public static final String KEY_FLEDGE_BACKGROUND_FETCH_ENABLED = 554 "fledge_background_fetch_enabled"; 555 public static final String KEY_FLEDGE_BACKGROUND_FETCH_JOB_PERIOD_MS = 556 "fledge_background_fetch_job_period_ms"; 557 public static final String KEY_FLEDGE_BACKGROUND_FETCH_JOB_FLEX_MS = 558 "fledge_background_fetch_job_flex_ms"; 559 public static final String KEY_FLEDGE_BACKGROUND_FETCH_JOB_MAX_RUNTIME_MS = 560 "fledge_background_fetch_job_max_runtime_ms"; 561 public static final String KEY_FLEDGE_BACKGROUND_FETCH_MAX_NUM_UPDATED = 562 "fledge_background_fetch_max_num_updated"; 563 public static final String KEY_FLEDGE_BACKGROUND_FETCH_THREAD_POOL_SIZE = 564 "fledge_background_fetch_thread_pool_size"; 565 public static final String KEY_FLEDGE_BACKGROUND_FETCH_ELIGIBLE_UPDATE_BASE_INTERVAL_S = 566 "fledge_background_fetch_eligible_update_base_interval_s"; 567 public static final String KEY_FLEDGE_BACKGROUND_FETCH_NETWORK_CONNECT_TIMEOUT_MS = 568 "fledge_background_fetch_network_connect_timeout_ms"; 569 public static final String KEY_FLEDGE_BACKGROUND_FETCH_NETWORK_READ_TIMEOUT_MS = 570 "fledge_background_fetch_network_read_timeout_ms"; 571 public static final String KEY_FLEDGE_BACKGROUND_FETCH_MAX_RESPONSE_SIZE_B = 572 "fledge_background_fetch_max_response_size_b"; 573 574 // Protected Signals Periodic Encoding keys 575 public static final String KEY_PROTECTED_SIGNALS_PERIODIC_ENCODING_ENABLED = 576 "protected_signals_periodic_encoding_enabled"; 577 public static final String KEY_PROTECTED_SIGNALS_PERIODIC_ENCODING_JOB_PERIOD_MS = 578 "protected_signals_periodic_encoding_job_period_ms"; 579 public static final String KEY_PROTECTED_SIGNALS_PERIODIC_ENCODING_JOB_FLEX_MS = 580 "protected_signals_periodic_encoding_job_flex_ms"; 581 public static final String KEY_PROTECTED_SIGNALS_ENCODED_PAYLOAD_MAX_SIZE_BYTES = 582 "protected_signals_encoded_payload_max_size_bytes"; 583 public static final String KEY_PROTECTED_SIGNALS_ENCODER_REFRESH_WINDOW_SECONDS = 584 "protected_signals_encoder_refresh_window_seconds"; 585 public static final String KEY_PROTECTED_SIGNALS_FETCH_SIGNAL_UPDATES_MAX_SIZE_BYTES = 586 "key_protected_signals_fetch_signal_updates_max_size_bytes"; 587 588 // FLEDGE Ad Selection keys 589 public static final String KEY_FLEDGE_AD_SELECTION_MAX_CONCURRENT_BIDDING_COUNT = 590 "fledge_ad_selection_max_concurrent_bidding_count"; 591 public static final String KEY_FLEDGE_AD_SELECTION_BIDDING_TIMEOUT_PER_CA_MS = 592 "fledge_ad_selection_bidding_timeout_per_ca_ms"; 593 public static final String KEY_FLEDGE_AD_SELECTION_SCORING_TIMEOUT_MS = 594 "fledge_ad_selection_scoring_timeout_ms"; 595 public static final String KEY_FLEDGE_AD_SELECTION_SELECTING_OUTCOME_TIMEOUT_MS = 596 "fledge_ad_selection_selecting_outcome_timeout_ms"; 597 public static final String KEY_FLEDGE_AD_SELECTION_OVERALL_TIMEOUT_MS = 598 "fledge_ad_selection_overall_timeout_ms"; 599 public static final String KEY_FLEDGE_AD_SELECTION_FROM_OUTCOMES_OVERALL_TIMEOUT_MS = 600 "fledge_ad_selection_from_outcomes_overall_timeout_ms"; 601 public static final String KEY_FLEDGE_AD_SELECTION_EXPIRATION_WINDOW_S = 602 "fledge_ad_selection_expiration_window_s"; 603 public static final String KEY_FLEDGE_APP_INSTALL_FILTERING_ENABLED = 604 "fledge_app_install_filtering_enabled"; 605 public static final String KEY_FLEDGE_APP_INSTALL_FILTERING_METRICS_ENABLED = 606 "fledge_app_install_filtering_metrics_enabled"; 607 public static final String KEY_FLEDGE_FREQUENCY_CAP_FILTERING_ENABLED = 608 "fledge_frequency_cap_filtering_enabled"; 609 public static final String KEY_FLEDGE_FREQUENCY_CAP_FILTERING_METRICS_ENABLED = 610 "fledge_frequency_cap_filtering_metrics_enabled"; 611 public static final String KEY_FLEDGE_AD_SELECTION_CONTEXTUAL_ADS_ENABLED = 612 "fledge_ad_selection_contextual_ads_enabled"; 613 public static final String KEY_FLEDGE_AD_SELECTION_CONTEXTUAL_ADS_METRICS_ENABLED = 614 "fledge_ad_selection_contextual_ads_metrics_enabled"; 615 public static final String KEY_FLEDGE_FETCH_CUSTOM_AUDIENCE_ENABLED = 616 "fledge_fetch_custom_audience_enabled"; 617 public static final String KEY_FLEDGE_REPORT_IMPRESSION_OVERALL_TIMEOUT_MS = 618 "fledge_report_impression_overall_timeout_ms"; 619 public static final String KEY_FLEDGE_REPORT_IMPRESSION_MAX_REGISTERED_AD_BEACONS_TOTAL_COUNT = 620 "fledge_report_impression_max_registered_ad_beacons_total_count"; 621 public static final String 622 KEY_FLEDGE_REPORT_IMPRESSION_MAX_REGISTERED_AD_BEACONS_PER_AD_TECH_COUNT = 623 "fledge_report_impression_max_registered_ad_beacons_per_ad_tech_count"; 624 public static final String 625 KEY_FLEDGE_REPORT_IMPRESSION_REGISTERED_AD_BEACONS_MAX_INTERACTION_KEY_SIZE_B = 626 "fledge_report_impression_registered_ad_beacons_max_interaction_key_size_b"; 627 public static final String KEY_FLEDGE_REPORT_IMPRESSION_MAX_INTERACTION_REPORTING_URI_SIZE_B = 628 "fledge_report_impression_max_interaction_reporting_uri_size_b"; 629 public static final String KEY_FLEDGE_AD_SELECTION_BIDDING_TIMEOUT_PER_BUYER_MS = 630 "fledge_ad_selection_bidding_timeout_per_buyer_ms"; 631 public static final String KEY_FLEDGE_HTTP_CACHE_ENABLE = "fledge_http_cache_enable"; 632 public static final String KEY_FLEDGE_HTTP_CACHE_ENABLE_JS_CACHING = 633 "fledge_http_cache_enable_js_caching"; 634 public static final String KEY_FLEDGE_HTTP_CACHE_DEFAULT_MAX_AGE_SECONDS = 635 "fledge_http_cache_default_max_age_seconds"; 636 public static final String KEY_FLEDGE_HTTP_CACHE_MAX_ENTRIES = "fledge_http_cache_max_entries"; 637 public static final String KEY_FLEDGE_ON_DEVICE_AUCTION_SHOULD_USE_UNIFIED_TABLES = 638 "fledge_on_device_auction_should_use_unified_tables"; 639 640 // FLEDGE Schedule Custom Audience Update keys 641 public static final String KEY_FLEDGE_SCHEDULE_CUSTOM_AUDIENCE_UPDATE_ENABLED = 642 "fledge_schedule_custom_audience_update_enabled"; 643 public static final String KEY_FLEDGE_SCHEDULE_CUSTOM_AUDIENCE_UPDATE_JOB_PERIOD_MS = 644 "fledge_schedule_custom_audience_update_job_period_ms"; 645 public static final String KEY_FLEDGE_SCHEDULE_CUSTOM_AUDIENCE_UPDATE_JOB_FLEX_MS = 646 "fledge_schedule_custom_audience_update_job_flex_ms"; 647 public static final String KEY_FLEDGE_SCHEDULE_CUSTOM_AUDIENCE_UPDATE_MIN_DELAY_MINS_OVERRIDE = 648 "fledge_schedule_custom_audience_update_min_delay_mins_override"; 649 650 // FLEDGE Ad Counter Histogram keys 651 public static final String KEY_FLEDGE_AD_COUNTER_HISTOGRAM_ABSOLUTE_MAX_TOTAL_EVENT_COUNT = 652 "fledge_ad_counter_histogram_absolute_max_total_event_count"; 653 public static final String KEY_FLEDGE_AD_COUNTER_HISTOGRAM_LOWER_MAX_TOTAL_EVENT_COUNT = 654 "fledge_ad_counter_histogram_lower_max_total_event_count"; 655 public static final String KEY_FLEDGE_AD_COUNTER_HISTOGRAM_ABSOLUTE_MAX_PER_BUYER_EVENT_COUNT = 656 "fledge_ad_counter_histogram_absolute_max_per_buyer_event_count"; 657 public static final String KEY_FLEDGE_AD_COUNTER_HISTOGRAM_LOWER_MAX_PER_BUYER_EVENT_COUNT = 658 "fledge_ad_counter_histogram_lower_max_per_buyer_event_count"; 659 660 // FLEDGE Off device ad selection keys 661 public static final String KEY_FLEDGE_AD_SELECTION_OFF_DEVICE_OVERALL_TIMEOUT_MS = 662 "fledge_ad_selection_off_device_overall_timeout_ms"; 663 public static final String KEY_FLEDGE_AD_SELECTION_BIDDING_LOGIC_JS_VERSION = 664 "fledge_ad_selection_bidding_logic_js_version"; 665 public static final String KEY_FLEDGE_AD_SELECTION_PREBUILT_URI_ENABLED = 666 "fledge_ad_selection_ad_selection_prebuilt_uri_enabled"; 667 // Whether to compress the request object when calling trusted servers for off device ad 668 // selection. 669 public static final String KEY_FLEDGE_AD_SELECTION_OFF_DEVICE_REQUEST_COMPRESSION_ENABLED = 670 "fledge_ad_selection_off_device_request_compression_enabled"; 671 672 // Event-level debug reporting for Protected Audience. 673 public static final String KEY_FLEDGE_EVENT_LEVEL_DEBUG_REPORTING_ENABLED = 674 "fledge_event_level_debug_reporting_enabled"; 675 public static final String KEY_FLEDGE_EVENT_LEVEL_DEBUG_REPORT_SEND_IMMEDIATELY = 676 "fledge_event_level_debug_report_send_immediately"; 677 public static final String KEY_FLEDGE_EVENT_LEVEL_DEBUG_REPORTING_BATCH_DELAY_SECONDS = 678 "fledge_event_level_debug_reporting_batch_delay_seconds"; 679 public static final String KEY_FLEDGE_EVENT_LEVEL_DEBUG_REPORTING_MAX_ITEMS_PER_BATCH = 680 "fledge_event_level_debug_reporting_max_items_per_batch"; 681 public static final String KEY_FLEDGE_DEBUG_REPORTI_SENDER_JOB_NETWORK_CONNECT_TIMEOUT_MS = 682 "fledge_debug_report_sender_job_network_connect_timeout_ms"; 683 public static final String KEY_FLEDGE_DEBUG_REPORTI_SENDER_JOB_NETWORK_READ_TIMEOUT_MS = 684 "fledge_debug_report_sender_job_network_read_timeout_ms"; 685 public static final String KEY_FLEDGE_DEBUG_REPORTI_SENDER_JOB_MAX_TIMEOUT_MS = 686 "fledge_debug_report_sender_job_max_timeout_ms"; 687 public static final String KEY_FLEDGE_DEBUG_REPORT_SENDER_JOB_PERIOD_MS = 688 "fledge_debug_report_sender_job_period_ms"; 689 public static final String KEY_FLEDGE_DEBUG_REPORT_SENDER_JOB_FLEX_MS = 690 "fledge_debug_report_sender_job_flex_ms"; 691 692 // Server-auction flags for Protected Audience. 693 public static final String KEY_FLEDGE_AUCTION_SERVER_ENABLED = "fledge_auction_server_enabled"; 694 public static final String KEY_FLEDGE_AUCTION_SERVER_ENABLED_FOR_REPORT_IMPRESSION = 695 "fledge_auction_server_enabled_for_report_impression"; 696 public static final String KEY_FLEDGE_AUCTION_SERVER_ENABLED_FOR_REPORT_EVENT = 697 "fledge_auction_server_enabled_for_report_event"; 698 public static final String KEY_FLEDGE_AUCTION_SERVER_ENABLED_FOR_UPDATE_HISTOGRAM = 699 "fledge_auction_server_enabled_for_update_histogram"; 700 public static final String KEY_FLEDGE_AUCTION_SERVER_ENABLED_FOR_SELECT_ADS_MEDIATION = 701 "fledge_auction_server_enabled_for_select_ads_mediation"; 702 public static final String KEY_FLEDGE_AUCTION_SERVER_ENABLE_AD_FILTER_IN_GET_AD_SELECTION_DATA = 703 "fledge_auction_server_enable_ad_filter_in_get_ad_selection_data"; 704 public static final String KEY_FLEDGE_AUCTION_SERVER_MEDIA_TYPE_CHANGE_ENABLED = 705 "fledge_auction_server_media_type_change_enabled"; 706 public static final String KEY_FLEDGE_AUCTION_SERVER_PAYLOAD_BUCKET_SIZES = 707 "fledge_auction_server_payload_bucket_sizes"; 708 public static final String KEY_FLEDGE_AUCTION_SERVER_AUCTION_KEY_FETCH_URI = 709 "fledge_auction_server_auction_key_fetch_uri"; 710 public static final String KEY_FLEDGE_AUCTION_SERVER_REFRESH_EXPIRED_KEYS_DURING_AUCTION = 711 "fledge_auction_server_refresh_expired_keys_during_auction"; 712 public static final String KEY_FLEDGE_AUCTION_SERVER_AUCTION_KEY_SHARDING = 713 "fledge_auction_server_auction_key_sharding"; 714 public static final String KEY_FLEDGE_AUCTION_SERVER_JOIN_KEY_FETCH_URI = 715 "fledge_auction_server_join_key_fetch_uri"; 716 public static final String KEY_FLEDGE_AUCTION_SERVER_ENCRYPTION_KEY_MAX_AGE_SECONDS = 717 "fledge_auction_server_encryption_key_max_age_seconds"; 718 public static final String KEY_FLEDGE_AUCTION_SERVER_ENCRYPTION_ALGORITHM_KEM_ID = 719 "fledge_auction_server_encryption_algorithm_kem_id"; 720 public static final String KEY_FLEDGE_AUCTION_SERVER_ENCRYPTION_ALGORITHM_KDF_ID = 721 "fledge_auction_server_encryption_algorithm_kdf_id"; 722 public static final String KEY_FLEDGE_AUCTION_SERVER_ENCRYPTION_ALGORITHM_AEAD_ID = 723 "fledge_auction_server_encryption_algorithm_aead_id"; 724 public static final String KEY_FLEDGE_AUCTION_SERVER_AUCTION_KEY_FETCH_TIMEOUT_MS = 725 "fledge_auction_server_auction_key_fetch_timeout_ms"; 726 public static final String KEY_FLEDGE_AUCTION_SERVER_OVERALL_TIMEOUT_MS = 727 "fledge_auction_server_overall_timeout_ms"; 728 public static final String KEY_FLEDGE_AUCTION_SERVER_BACKGROUND_KEY_FETCH_JOB_ENABLED = 729 "fledge_auction_server_background_key_fetch_job_enabled"; 730 public static final String KEY_FLEDGE_AUCTION_SERVER_BACKGROUND_AUCTION_KEY_FETCH_ENABLED = 731 "fledge_auction_server_background_auction_key_fetch_enabled"; 732 public static final String KEY_FLEDGE_AUCTION_SERVER_BACKGROUND_JOIN_KEY_FETCH_ENABLED = 733 "fledge_auction_server_background_join_key_fetch_enabled"; 734 public static final String KEY_FLEDGE_AUCTION_SERVER_FORCE_SEARCH_WHEN_OWNER_IS_ABSENT_ENABLED = 735 "fledge_auction_server_force_search_when_owner_is_absent_enabled"; 736 public static final String 737 KEY_FLEDGE_AUCTION_SERVER_BACKGROUND_KEY_FETCH_NETWORK_CONNECT_TIMEOUT_MS = 738 "fledge_auction_server_background_key_fetch_network_connect_timeout_ms"; 739 public static final String 740 KEY_FLEDGE_AUCTION_SERVER_BACKGROUND_KEY_FETCH_NETWORK_READ_TIMEOUT_MS = 741 "fledge_auction_server_background_key_fetch_network_read_timeout_ms"; 742 public static final String KEY_FLEDGE_AUCTION_SERVER_BACKGROUND_KEY_FETCH_MAX_RESPONSE_SIZE_B = 743 "fledge_auction_server_background_key_fetch_max_response_size_b"; 744 745 public static final String KEY_FLEDGE_AUCTION_SERVER_BACKGROUND_KEY_FETCH_MAX_RUNTIME_MS = 746 "fledge_auction_server_background_key_fetch_max_runtime_ms"; 747 748 public static final String KEY_FLEDGE_AUCTION_SERVER_BACKGROUND_KEY_FETCH_JOB_PERIOD_MS = 749 "fledge_auction_server_background_key_fetch_job_period_ms"; 750 751 public static final String KEY_FLEDGE_AUCTION_SERVER_BACKGROUND_KEY_FETCH_JOB_FLEX_MS = 752 "fledge_auction_server_background_key_fetch_job_flex_ms"; 753 754 public static final String 755 KEY_FLEDGE_AUCTION_SERVER_BACKGROUND_KEY_FETCH_ON_EMPTY_DB_AND_IN_ADVANCE_ENABLED = 756 "fledge_auction_server_background_key_fetch_on_empty_db_and_in_advance_enabled"; 757 public static final String 758 KEY_FLEDGE_AUCTION_SERVER_BACKGROUND_KEY_FETCH_IN_ADVANCE_INTERVAL_MS = 759 "fledge_auction_server_background_key_fetch_in_advance_interval_ms"; 760 public static final String KEY_FLEDGE_AUCTION_SERVER_COMPRESSION_ALGORITHM_VERSION = 761 "fledge_auction_server_compression_algorithm_version"; 762 public static final String KEY_FLEDGE_AUCTION_SERVER_PAYLOAD_FORMAT_VERSION = 763 "fledge_auction_server_payload_format_version"; 764 public static final String KEY_FLEDGE_AUCTION_SERVER_ENABLE_DEBUG_REPORTING = 765 "fledge_auction_server_enable_debug_reporting"; 766 public static final String KEY_FLEDGE_AUCTION_SERVER_AD_ID_FETCHER_TIMEOUT_MS = 767 "fledge_auction_server_ad_id_fetcher_timeout_ms"; 768 public static final String KEY_FLEDGE_AUCTION_SERVER_ENABLE_PAS_UNLIMITED_EGRESS = 769 "fledge_auction_server_enable_pas_unlimited_egress"; 770 public static final String KEY_FLEDGE_AUCTION_SERVER_AD_RENDER_ID_MAX_LENGTH = 771 "fledge_auction_server_ad_render_id_max_length"; 772 public static final String KEY_FLEDGE_AUCTION_SERVER_AD_RENDER_ID_ENABLED = 773 "fledge_auction_server_ad_render_id_enabled"; 774 public static final String KEY_FLEDGE_AUCTION_SERVER_OMIT_ADS_ENABLED = 775 "fledge_auction_server_omit_ads_enabled"; 776 public static final String KEY_FLEDGE_AUCTION_SERVER_REQUEST_FLAGS_ENABLED = 777 "fledge_auction_server_request_flags_enabled"; 778 779 public static final String KEY_FLEDGE_AUCTION_SERVER_MULTI_CLOUD_ENABLED = 780 "fledge_auction_server_multi_cloud_enabled"; 781 782 public static final String KEY_FLEDGE_AUCTION_SERVER_COORDINATOR_URL_ALLOWLIST = 783 "fledge_auction_server_coordinator_url_allowlist"; 784 785 public static final String 786 KEY_FLEDGE_AUCTION_SERVER_GET_AD_SELECTION_DATA_PAYLOAD_METRICS_ENABLED = 787 "fledge_auction_server_get_ad_selection_data_payload_metrics_enabled"; 788 789 public static final String KEY_FLEDGE_GET_AD_SELECTION_DATA_SELLER_CONFIGURATION_ENABLED = 790 "fledge_get_ad_selection_data_seller_configuration_enabled"; 791 792 public static final String KEY_FLEDGE_GET_AD_SELECTION_DATA_BUYER_INPUT_CREATOR_VERSION = 793 "fledge_get_ad_selection_data_buyer_input_creator_version"; 794 795 // Fledge invoking app status keys 796 public static final String KEY_ENFORCE_FOREGROUND_STATUS_FLEDGE_RUN_AD_SELECTION = 797 "fledge_ad_selection_enforce_foreground_status_run_ad_selection"; 798 public static final String KEY_ENFORCE_FOREGROUND_STATUS_FLEDGE_REPORT_IMPRESSION = 799 "fledge_ad_selection_enforce_foreground_status_report_impression"; 800 public static final String KEY_ENFORCE_FOREGROUND_STATUS_FLEDGE_REPORT_INTERACTION = 801 "fledge_ad_selection_enforce_foreground_status_report_interaction"; 802 public static final String KEY_ENFORCE_FOREGROUND_STATUS_FLEDGE_OVERRIDE = 803 "fledge_ad_selection_enforce_foreground_status_ad_selection_override"; 804 public static final String KEY_FOREGROUND_STATUS_LEVEL = "foreground_validation_status_level"; 805 public static final String KEY_ENFORCE_FOREGROUND_STATUS_FLEDGE_CUSTOM_AUDIENCE = 806 "fledge_ad_selection_enforce_foreground_status_custom_audience"; 807 808 // Protected Signals keys 809 public static final String KEY_PROTECTED_SIGNALS_CLEANUP_ENABLED = 810 "protected_signals_cleanup_enabled"; 811 812 // Topics invoking app status key. 813 public static final String KEY_ENFORCE_FOREGROUND_STATUS_TOPICS = 814 "topics_enforce_foreground_status"; 815 816 // Signals invoking app status key. 817 public static final String KEY_ENFORCE_FOREGROUND_STATUS_SIGNALS = 818 "signals_enforce_foreground_status"; 819 820 // AdId invoking app status key. 821 public static final String KEY_ENFORCE_FOREGROUND_STATUS_ADID = 822 "adid_enforce_foreground_status"; 823 824 // Fledge JS isolate setting keys 825 public static final String KEY_ENFORCE_ISOLATE_MAX_HEAP_SIZE = 826 "fledge_js_isolate_enforce_max_heap_size"; 827 public static final String KEY_ISOLATE_MAX_HEAP_SIZE_BYTES = 828 "fledge_js_isolate_max_heap_size_bytes"; 829 // AppSetId invoking app status key. 830 public static final String KEY_ENFORCE_FOREGROUND_STATUS_APPSETID = 831 "appsetid_enforce_foreground_status"; 832 833 // MDD keys. 834 public static final String KEY_DOWNLOADER_CONNECTION_TIMEOUT_MS = 835 "downloader_connection_timeout_ms"; 836 public static final String KEY_DOWNLOADER_READ_TIMEOUT_MS = "downloader_read_timeout_ms"; 837 public static final String KEY_DOWNLOADER_MAX_DOWNLOAD_THREADS = 838 "downloader_max_download_threads"; 839 public static final String KEY_MDD_TOPICS_CLASSIFIER_MANIFEST_FILE_URL = 840 "mdd_topics_classifier_manifest_file_url"; 841 842 // Killswitch keys 843 public static final String KEY_GLOBAL_KILL_SWITCH = "global_kill_switch"; 844 public static final String KEY_MEASUREMENT_KILL_SWITCH = "measurement_kill_switch"; 845 public static final String KEY_MEASUREMENT_API_DELETE_REGISTRATIONS_KILL_SWITCH = 846 "measurement_api_delete_registrations_kill_switch"; 847 public static final String KEY_MEASUREMENT_API_STATUS_KILL_SWITCH = 848 "measurement_api_status_kill_switch"; 849 public static final String KEY_MEASUREMENT_API_REGISTER_SOURCE_KILL_SWITCH = 850 "measurement_api_register_source_kill_switch"; 851 public static final String KEY_MEASUREMENT_API_REGISTER_SOURCES_KILL_SWITCH = 852 "measurement_api_register_web_sources_kill_switch"; 853 public static final String KEY_MEASUREMENT_API_REGISTER_TRIGGER_KILL_SWITCH = 854 "measurement_api_register_trigger_kill_switch"; 855 public static final String KEY_MEASUREMENT_API_REGISTER_WEB_SOURCE_KILL_SWITCH = 856 "measurement_api_register_web_source_kill_switch"; 857 public static final String KEY_MEASUREMENT_API_REGISTER_WEB_TRIGGER_KILL_SWITCH = 858 "measurement_api_register_web_trigger_kill_switch"; 859 public static final String KEY_MEASUREMENT_JOB_AGGREGATE_FALLBACK_REPORTING_KILL_SWITCH = 860 "measurement_job_aggregate_fallback_reporting_kill_switch"; 861 public static final String KEY_MEASUREMENT_JOB_AGGREGATE_REPORTING_KILL_SWITCH = 862 "measurement_job_aggregate_reporting_kill_switch"; 863 public static final String KEY_MEASUREMENT_JOB_IMMEDIATE_AGGREGATE_REPORTING_KILL_SWITCH = 864 "measurement_job_immediate_aggregate_reporting_kill_switch"; 865 public static final String KEY_MEASUREMENT_JOB_ATTRIBUTION_KILL_SWITCH = 866 "measurement_job_attribution_kill_switch"; 867 public static final String KEY_MEASUREMENT_JOB_DELETE_EXPIRED_KILL_SWITCH = 868 "measurement_job_delete_expired_kill_switch"; 869 public static final String KEY_MEASUREMENT_JOB_DELETE_UNINSTALLED_KILL_SWITCH = 870 "measurement_job_delete_uninstalled_kill_switch"; 871 public static final String KEY_MEASUREMENT_JOB_EVENT_FALLBACK_REPORTING_KILL_SWITCH = 872 "measurement_job_event_fallback_reporting_kill_switch"; 873 public static final String KEY_MEASUREMENT_JOB_EVENT_REPORTING_KILL_SWITCH = 874 "measurement_job_event_reporting_kill_switch"; 875 public static final String KEY_MEASUREMENT_REPORTING_JOB_SERVICE_ENABLED = 876 "measurement_reporting_job_service_enabled"; 877 public static final String KEY_MEASUREMENT_RECEIVER_INSTALL_ATTRIBUTION_KILL_SWITCH = 878 "measurement_receiver_install_attribution_kill_switch"; 879 public static final String KEY_MEASUREMENT_RECEIVER_DELETE_PACKAGES_KILL_SWITCH = 880 "measurement_receiver_delete_packages_kill_switch"; 881 public static final String KEY_MEASUREMENT_REGISTRATION_JOB_QUEUE_KILL_SWITCH = 882 "measurement_job_registration_job_queue_kill_switch"; 883 884 public static final String KEY_MEASUREMENT_REGISTRATION_FALLBACK_JOB_KILL_SWITCH = 885 "measurement_job_registration_fallback_job_kill_switch"; 886 public static final String KEY_MEASUREMENT_ROLLBACK_DELETION_KILL_SWITCH = 887 "measurement_rollback_deletion_kill_switch"; 888 889 public static final String KEY_MEASUREMENT_ROLLBACK_DELETION_APP_SEARCH_KILL_SWITCH = 890 "measurement_rollback_deletion_app_search_kill_switch"; 891 public static final String KEY_MEASUREMENT_ROLLBACK_DELETION_R_ENABLED = 892 "measurement_rollback_deletion_r_enabled"; 893 public static final String KEY_TOPICS_KILL_SWITCH = "topics_kill_switch"; 894 public static final String KEY_TOPICS_ON_DEVICE_CLASSIFIER_KILL_SWITCH = 895 "topics_on_device_classifier_kill_switch"; 896 public static final String KEY_MDD_BACKGROUND_TASK_KILL_SWITCH = 897 "mdd_background_task_kill_switch"; 898 public static final String KEY_MEASUREMENT_DEBUG_REPORTING_FALLBACK_JOB_KILL_SWITCH = 899 "measurement_debug_reporting_fallback_job_kill_switch"; 900 public static final String KEY_MEASUREMENT_VERBOSE_DEBUG_REPORTING_FALLBACK_JOB_KILL_SWITCH = 901 "measurement_verbose_debug_reporting_fallback_job_kill_switch"; 902 public static final String KEY_MDD_LOGGER_KILL_SWITCH = "mdd_logger_kill_switch"; 903 public static final String KEY_MEASUREMENT_JOB_DEBUG_REPORTING_KILL_SWITCH = 904 "measurement_job_debug_reporting_kill_switch"; 905 public static final String KEY_MEASUREMENT_JOB_VERBOSE_DEBUG_REPORTING_KILL_SWITCH = 906 "measurement_job_verbose_debug_reporting_kill_switch"; 907 908 public static final String KEY_ADID_KILL_SWITCH = "adid_kill_switch"; 909 public static final String KEY_APPSETID_KILL_SWITCH = "appsetid_kill_switch"; 910 public static final String KEY_FLEDGE_SELECT_ADS_KILL_SWITCH = "fledge_select_ads_kill_switch"; 911 public static final String KEY_FLEDGE_CUSTOM_AUDIENCE_SERVICE_KILL_SWITCH = 912 "fledge_custom_audience_service_kill_switch"; 913 public static final String KEY_FLEDGE_AUCTION_SERVER_KILL_SWITCH = 914 "fledge_auction_server_kill_switch"; 915 public static final String KEY_BACKGROUND_JOBS_LOGGING_KILL_SWITCH = 916 "background_jobs_logging_kill_switch"; 917 public static final String KEY_FLEDGE_ON_DEVICE_AUCTION_KILL_SWITCH = 918 "fledge_on_device_auction_kill_switch"; 919 920 public static final String KEY_PROTECTED_SIGNALS_ENABLED = "protected_signals_enabled"; 921 public static final String KEY_ENCRYPTION_KEY_NEW_ENROLLMENT_FETCH_KILL_SWITCH = 922 "encryption_key_new_enrollment_fetch_kill_switch"; 923 public static final String KEY_ENCRYPTION_KEY_PERIODIC_FETCH_KILL_SWITCH = 924 "encryption_key_periodic_fetch_kill_switch"; 925 926 public static final String KEY_ENCRYPTION_KEY_JOB_REQUIRED_NETWORK_TYPE = 927 "encryption_key_job_required_network_type"; 928 929 public static final String KEY_ENCRYPTION_KEY_JOB_PERIOD_MS = "encryption_key_job_period_ms"; 930 public static final String KEY_ENABLE_MDD_ENCRYPTION_KEYS = "enable_mdd_encryption_keys"; 931 public static final String KEY_MDD_ENCRYPTION_KEYS_MANIFEST_FILE_URL = 932 "mdd_encryption_keys_manifest_file_url"; 933 934 // App/SDK AllowList/DenyList keys 935 public static final String KEY_PPAPI_APP_ALLOW_LIST = "ppapi_app_allow_list"; 936 public static final String KEY_PAS_APP_ALLOW_LIST = "pas_app_allow_list"; 937 938 public static final String KEY_AD_ID_API_APP_BLOCK_LIST = "ad_id_api_app_block_list"; 939 940 public static final String KEY_MSMT_API_APP_ALLOW_LIST = "msmt_api_app_allow_list"; 941 public static final String KEY_MSMT_API_APP_BLOCK_LIST = "msmt_api_app_block_list"; 942 943 public static final String KEY_PPAPI_APP_SIGNATURE_ALLOW_LIST = 944 "ppapi_app_signature_allow_list"; 945 946 public static final String KEY_APPSEARCH_WRITE_TIMEOUT_MS = "appsearch_write_timeout_ms"; 947 public static final String KEY_APPSEARCH_READ_TIMEOUT_MS = "appsearch_read_timeout_ms"; 948 public static final String KEY_ADEXT_WRITE_TIMEOUT_MS = "adext_write_timeout_ms"; 949 public static final String KEY_ADEXT_READ_TIMEOUT_MS = "adext_read_timeout_ms"; 950 public static final String KEY_APPSEARCH_WRITER_ALLOW_LIST_OVERRIDE = 951 "appsearch_writer_allow_list_override"; 952 953 // AdServices APK sha certs. 954 public static final String KEY_ADSERVICES_APK_SHA_CERTS = "adservices_apk_sha_certs"; 955 956 // Rate Limit keys 957 public static final String KEY_SDK_REQUEST_PERMITS_PER_SECOND = 958 "sdk_request_permits_per_second"; 959 public static final String KEY_ADID_REQUEST_PERMITS_PER_SECOND = 960 "adid_request_permits_per_second"; 961 public static final String KEY_APPSETID_REQUEST_PERMITS_PER_SECOND = 962 "appsetid_request_permits_per_second"; 963 public static final String KEY_MEASUREMENT_REGISTER_SOURCE_REQUEST_PERMITS_PER_SECOND = 964 "measurement_register_source_request_permits_per_second"; 965 public static final String KEY_MEASUREMENT_REGISTER_SOURCES_REQUEST_PERMITS_PER_SECOND = 966 "measurement_register_sources_request_permits_per_second"; 967 public static final String KEY_MEASUREMENT_REGISTER_WEB_SOURCE_REQUEST_PERMITS_PER_SECOND = 968 "measurement_register_web_source_request_permits_per_second"; 969 public static final String KEY_MEASUREMENT_REGISTER_TRIGGER_REQUEST_PERMITS_PER_SECOND = 970 "measurement_register_trigger_request_permits_per_second"; 971 public static final String KEY_MEASUREMENT_REGISTER_WEB_TRIGGER_REQUEST_PERMITS_PER_SECOND = 972 "measurement_register_web_trigger_request_permits_per_second"; 973 public static final String KEY_TOPICS_API_APP_REQUEST_PERMITS_PER_SECOND = 974 "topics_api_app_request_permits_per_second"; 975 public static final String KEY_TOPICS_API_SDK_REQUEST_PERMITS_PER_SECOND = 976 "topics_api_sdk_request_permits_per_second"; 977 public static final String KEY_FLEDGE_REPORT_INTERACTION_REQUEST_PERMITS_PER_SECOND = 978 "fledge_report_interaction_request_permits_per_second"; 979 980 // Adservices enable status keys. 981 public static final String KEY_ADSERVICES_ENABLED = "adservice_enabled"; 982 983 // AdServices error logging enabled 984 public static final String KEY_ADSERVICES_ERROR_LOGGING_ENABLED = 985 "adservice_error_logging_enabled"; 986 987 // Disable enrollment check 988 public static final String KEY_DISABLE_TOPICS_ENROLLMENT_CHECK = 989 "disable_topics_enrollment_check"; 990 public static final String KEY_DISABLE_FLEDGE_ENROLLMENT_CHECK = 991 "disable_fledge_enrollment_check"; 992 993 // Disable Measurement enrollment check. 994 public static final String KEY_DISABLE_MEASUREMENT_ENROLLMENT_CHECK = 995 "disable_measurement_enrollment_check"; 996 997 public static final String KEY_ENABLE_ENROLLMENT_TEST_SEED = "enable_enrollment_test_seed"; 998 999 // Enrollment Mdd Deletion Feature Enabled check 1000 1001 public static final String KEY_ENROLLMENT_MDD_RECORD_DELETION_ENABLED = 1002 "enable_enrollment_mdd_record_deletion"; 1003 1004 // Consent Notification interval begin ms. 1005 public static final String KEY_CONSENT_NOTIFICATION_INTERVAL_BEGIN_MS = 1006 "consent_notification_interval_begin_ms"; 1007 1008 // Consent Notification interval end ms. 1009 public static final String KEY_CONSENT_NOTIFICATION_INTERVAL_END_MS = 1010 "consent_notification_interval_end_ms"; 1011 1012 // Consent Notification minimal delay before interval ms. 1013 public static final String KEY_CONSENT_NOTIFICATION_MINIMAL_DELAY_BEFORE_INTERVAL_ENDS = 1014 "consent_notification_minimal_delay_before_interval_ends"; 1015 1016 public static final String KEY_CONSENT_MANAGER_LAZY_ENABLE_MODE = 1017 "consent_manager_lazy_enable_mode"; 1018 1019 // Rvc post ota notification age check keys. 1020 public static final String KEY_RVC_POST_OTA_NOTIF_AGE_CHECK = 1021 "rvc_post_ota_notification_age_check"; 1022 1023 // Source of truth to get consent for PPAPI 1024 public static final String KEY_CONSENT_SOURCE_OF_TRUTH = "consent_source_of_truth"; 1025 1026 public static final String KEY_CONSENT_ALREADY_INTERACTED_FIX_ENABLE = 1027 "consent_already_interacted_fix_enable"; 1028 1029 public static final String KEY_BLOCKED_TOPICS_SOURCE_OF_TRUTH = 1030 "blocked_topics_source_of_truth"; 1031 1032 // App/SDK AllowList/DenyList keys that have access to the web registration APIs 1033 public static final String KEY_WEB_CONTEXT_CLIENT_ALLOW_LIST = "web_context_client_allow_list"; 1034 1035 // Max response payload size allowed per source/trigger registration 1036 public static final String KEY_MAX_RESPONSE_BASED_REGISTRATION_SIZE_BYTES = 1037 "max_response_based_registration_size_bytes"; 1038 public static final String KEY_MAX_TRIGGER_REGISTRATION_HEADER_SIZE_BYTES = 1039 "max_trigger_registration_header_size_bytes"; 1040 public static final String KEY_MAX_ODP_TRIGGER_REGISTRATION_HEADER_SIZE_BYTES = 1041 "max_odp_trigger_registration_header_size_bytes"; 1042 1043 public static final String KEY_MEASUREMENT_ENABLE_UPDATE_TRIGGER_REGISTRATION_HEADER_LIMIT = 1044 "enable_update_trigger_registration_header_limit"; 1045 1046 // UI keys 1047 public static final String KEY_PAS_UX_ENABLED = "pas_ux_enabled"; 1048 1049 public static final String KEY_EEA_PAS_UX_ENABLED = "eea_pas_ux_enabled"; 1050 1051 public static final String KEY_UI_FEATURE_TYPE_LOGGING_ENABLED = 1052 "ui_feature_type_logging_enabled"; 1053 1054 public static final String KEY_CONSENT_NOTIFICATION_RESET_TOKEN = 1055 "consent_notification_reset_token"; 1056 1057 public static final String KEY_IS_EEA_DEVICE_FEATURE_ENABLED = "is_eea_device_feature_enabled"; 1058 1059 public static final String KEY_IS_EEA_DEVICE = "is_eea_device"; 1060 1061 public static final String KEY_RECORD_MANUAL_INTERACTION_ENABLED = 1062 "record_manual_interaction_enabled"; 1063 1064 public static final String KEY_IS_BACK_COMPACT_ACTIVITY_FEATURE_ENABLED = 1065 "is_check_activity_feature_enabled"; 1066 1067 public static final String KEY_UI_OTA_STRINGS_MANIFEST_FILE_URL = 1068 "mdd_ui_ota_strings_manifest_file_url"; 1069 1070 public static final String KEY_UI_OTA_STRINGS_FEATURE_ENABLED = 1071 "ui_ota_strings_feature_enabled"; 1072 1073 public static final String KEY_UI_OTA_RESOURCES_MANIFEST_FILE_URL = 1074 "mdd_ui_ota_resources_manifest_file_url"; 1075 1076 public static final String KEY_UI_OTA_RESOURCES_FEATURE_ENABLED = 1077 "ui_ota_resources_feature_enabled"; 1078 1079 public static final String KEY_UI_OTA_STRINGS_DOWNLOAD_DEADLINE = 1080 "ui_ota_strings_download_deadline"; 1081 1082 public static final String KEY_UI_EEA_COUNTRIES = "ui_eea_countries"; 1083 1084 public static final String KEY_UI_DIALOGS_FEATURE_ENABLED = "ui_dialogs_feature_enabled"; 1085 1086 public static final String KEY_UI_DIALOG_FRAGMENT_ENABLED = "ui_dialog_fragment_enabled"; 1087 1088 public static final String KEY_UI_TOGGLE_SPEED_BUMP_ENABLED = "ui_toggle_speed_bump_enabled"; 1089 1090 public static final String KEY_GA_UX_FEATURE_ENABLED = "ga_ux_enabled"; 1091 1092 public static final String KEY_DEBUG_UX = "debug_ux"; 1093 1094 // Back-compat keys 1095 public static final String KEY_COMPAT_LOGGING_KILL_SWITCH = "compat_logging_kill_switch"; 1096 1097 public static final String KEY_ADSERVICES_CONSENT_MIGRATION_LOGGING_ENABLED = 1098 "adservices_consent_migration_logging_enabled"; 1099 1100 public static final String KEY_ENABLE_BACK_COMPAT = "enable_back_compat"; 1101 1102 public static final String KEY_ENABLE_BACK_COMPAT_INIT = "enable_back_compat_init"; 1103 1104 public static final String KEY_ENABLE_APPSEARCH_CONSENT_DATA = "enable_appsearch_consent_data"; 1105 1106 public static final String KEY_ENABLE_ADEXT_SERVICE_CONSENT_DATA = 1107 "enable_adext_service_consent_data"; 1108 1109 public static final String KEY_ENABLE_U18_APPSEARCH_MIGRATION = 1110 "enable_u18_appsearch_migration"; 1111 1112 // NOTE: To disable migration from AdExtService to AppSearch on 2024 M03- build, use the 1113 // deprecated flag enable_adext_service_to_appsearch_migration. This flag is introduced to 1114 // unify flag-guarding from AdExtData service to AppSearch and System Server based on SDK 1115 // version. 1116 public static final String KEY_ENABLE_MIGRATION_FROM_ADEXT_SERVICE = 1117 "enable_migration_from_adext_service"; 1118 1119 // Whether to call trusted servers for off device ad selection. 1120 public static final String KEY_OFF_DEVICE_AD_SELECTION_ENABLED = 1121 "enable_off_device_ad_selection"; 1122 1123 // Interval in which to run Registration Job Queue Service. 1124 public static final String KEY_ASYNC_REGISTRATION_JOB_QUEUE_INTERVAL_MS = 1125 "key_async_registration_job_queue_interval_ms"; 1126 1127 // Enrollment flags. 1128 public static final String KEY_ENROLLMENT_BLOCKLIST_IDS = "enrollment_blocklist_ids"; 1129 public static final String KEY_ENROLLMENT_ENABLE_LIMITED_LOGGING = 1130 "enrollment_enable_limited_logging"; 1131 public static final String KEY_ENROLLMENT_API_BASED_SCHEMA_ENABLED = 1132 "enrollment_api_based_schema_enabled"; 1133 public static final String KEY_MDD_ENROLLMENT_MANIFEST_FILE_URL = 1134 "mdd_enrollment_manifest_file_url"; 1135 public static final String KEY_ENROLLMENT_PROTO_FILE_ENABLED = "enrollment_proto_file_enabled"; 1136 1137 // New Feature Flags 1138 public static final String KEY_FLEDGE_REGISTER_AD_BEACON_ENABLED = 1139 "fledge_register_ad_beacon_enabled"; 1140 public static final String KEY_FLEDGE_CPC_BILLING_ENABLED = "fledge_cpc_billing_enabled"; 1141 public static final String KEY_FLEDGE_DATA_VERSION_HEADER_ENABLED = 1142 "fledge_data_version_header_enabled"; 1143 1144 // New fledge beacon reporting metrics flag 1145 public static final String KEY_FLEDGE_BEACON_REPORTING_METRICS_ENABLED = 1146 "fledge_beacon_reporting_metrics_enabled"; 1147 1148 // Fledge auction server API usage metrics flag 1149 public static final String KEY_FLEDGE_AUCTION_SERVER_API_USAGE_METRICS_ENABLED = 1150 "fledge_auction_server_api_usage_metrics_enabled"; 1151 1152 // Fledge auction server key fetch metrics flag 1153 public static final String KEY_FLEDGE_AUCTION_SERVER_KEY_FETCH_METRICS_ENABLED = 1154 "fledge_auction_server_key_fetch_metrics_enabled"; 1155 1156 // Fledge select ads from outcomes API metrics flag 1157 public static final String KEY_FLEDGE_SELECT_ADS_FROM_OUTCOMES_API_METRICS_ENABLED = 1158 "fledge_select_ads_from_outcomes_api_metrics_enabled"; 1159 1160 // FledgeCPC billing metrics key. 1161 public static final String KEY_FLEDGE_CPC_BILLING_METRICS_ENABLED = 1162 "fledge_cpc_billing_metrics_enabled"; 1163 1164 // Fledge data version header metrics key. 1165 public static final String KEY_FLEDGE_DATA_VERSION_HEADER_METRICS_ENABLED = 1166 "fledge_data_version_header_metrics_enabled"; 1167 1168 // Fledge report impression API metrics key. 1169 public static final String KEY_FLEDGE_REPORT_IMPRESSION_API_METRICS_ENABLED = 1170 "fledge_report_impression_api_metrics_enabled"; 1171 1172 // Fledge report impression API metrics key. 1173 public static final String KEY_FLEDGE_JS_SCRIPT_RESULT_CODE_METRICS_ENABLED = 1174 "fledge_js_script_result_code_metrics_enabled"; 1175 1176 public static final String KEY_MEASUREMENT_DEBUG_JOIN_KEY_HASH_LIMIT = 1177 "measurement_debug_join_key_hash_limit"; 1178 1179 public static final String KEY_MEASUREMENT_DEBUG_JOIN_KEY_ENROLLMENT_ALLOWLIST = 1180 "measurement_debug_join_key_enrollment_allowlist"; 1181 1182 public static final String KEY_MEASUREMENT_DEBUG_KEY_AD_ID_MATCHING_LIMIT = 1183 "measurement_debug_key_ad_id_matching_limit"; 1184 public static final String KEY_MEASUREMENT_DEBUG_KEY_AD_ID_MATCHING_ENROLLMENT_BLOCKLIST = 1185 "measurement_debug_key_ad_id_matching_enrollment_blocklist"; 1186 1187 public static final String KEY_MEASUREMENT_FLEXIBLE_EVENT_REPORTING_API_ENABLED = 1188 "measurement_flexible_event_reporting_api_enabled"; 1189 1190 public static final String KEY_MEASUREMENT_ENABLE_TRIGGER_DATA_MATCHING = 1191 "measurement_enable_trigger_data_matching"; 1192 1193 public static final String KEY_MEASUREMENT_FLEX_API_MAX_INFORMATION_GAIN_EVENT = 1194 "measurement_flex_api_max_information_gain_event"; 1195 1196 public static final String KEY_MEASUREMENT_FLEX_API_MAX_INFORMATION_GAIN_NAVIGATION = 1197 "measurement_flex_api_max_information_gain_navigation"; 1198 1199 public static final String 1200 KEY_MEASUREMENT_FLEX_API_MAX_INFORMATION_GAIN_DUAL_DESTINATION_EVENT = 1201 "measurement_flex_api_max_information_gain_dual_destination_event"; 1202 1203 public static final String 1204 KEY_MEASUREMENT_FLEX_API_MAX_INFORMATION_GAIN_DUAL_DESTINATION_NAVIGATION = 1205 "measurement_flex_api_max_information_gain_dual_destination_navigation"; 1206 1207 public static final String KEY_MEASUREMENT_MAX_REPORT_STATES_PER_SOURCE_REGISTRATION = 1208 "measurement_max_report_states_per_source_registration"; 1209 1210 public static final String KEY_MEASUREMENT_FLEX_API_MAX_EVENT_REPORTS = 1211 "measurement_flex_api_max_event_reports"; 1212 1213 public static final String KEY_MEASUREMENT_FLEX_API_MAX_EVENT_REPORT_WINDOWS = 1214 "measurement_flex_api_max_event_report_windows"; 1215 1216 public static final String KEY_MEASUREMENT_FLEX_API_MAX_TRIGGER_DATA_CARDINALITY = 1217 "measurement_flex_api_max_trigger_data_cardinality"; 1218 1219 public static final String KEY_MEASUREMENT_MINIMUM_EVENT_REPORT_WINDOW_IN_SECONDS = 1220 "measurement_minimum_event_report_window_in_seconds"; 1221 1222 public static final String KEY_MEASUREMENT_MINIMUM_AGGREGATABLE_REPORT_WINDOW_IN_SECONDS = 1223 "measurement_minimum_aggregatable_report_window_in_seconds"; 1224 1225 public static final String KEY_MEASUREMENT_MAX_SOURCES_PER_PUBLISHER = 1226 "measurement_max_sources_per_publisher"; 1227 1228 public static final String KEY_MEASUREMENT_MAX_TRIGGERS_PER_DESTINATION = 1229 "measurement_max_triggers_per_destination"; 1230 1231 public static final String KEY_MEASUREMENT_MAX_AGGREGATE_REPORTS_PER_DESTINATION = 1232 "measurement_max_aggregate_reports_per_destination"; 1233 1234 public static final String KEY_MEASUREMENT_MAX_EVENT_REPORTS_PER_DESTINATION = 1235 "measurement_max_event_reports_per_destination"; 1236 1237 public static final String KEY_MEASUREMENT_ENABLE_MAX_AGGREGATE_REPORTS_PER_SOURCE = 1238 "measurement_enable_max_aggregate_reports_per_source"; 1239 1240 public static final String KEY_MEASUREMENT_MAX_AGGREGATE_REPORTS_PER_SOURCE = 1241 "measurement_max_aggregate_reports_per_source"; 1242 1243 public static final String KEY_MEASUREMENT_MAX_AGGREGATE_KEYS_PER_SOURCE_REGISTRATION = 1244 "measurement_max_aggregate_keys_per_source_registration"; 1245 1246 public static final String KEY_MEASUREMENT_MAX_AGGREGATE_KEYS_PER_TRIGGER_REGISTRATION = 1247 "measurement_max_aggregate_keys_per_trigger_registration"; 1248 1249 public static final String KEY_MEASUREMENT_EVENT_REPORTS_VTC_EARLY_REPORTING_WINDOWS = 1250 "measurement_event_reports_vtc_early_reporting_windows"; 1251 1252 public static final String KEY_MEASUREMENT_EVENT_REPORTS_CTC_EARLY_REPORTING_WINDOWS = 1253 "measurement_event_reports_ctc_early_reporting_windows"; 1254 1255 public static final String KEY_MEASUREMENT_ENABLE_CONFIGURABLE_AGGREGATE_REPORT_DELAY = 1256 "measurement_enable_configurable_aggregate_report_delay"; 1257 1258 public static final String KEY_MEASUREMENT_AGGREGATE_REPORT_DELAY_CONFIG = 1259 "measurement_aggregate_report_delay_config"; 1260 1261 public static final String KEY_MEASUREMENT_ENABLE_LOOKBACK_WINDOW_FILTER = 1262 "measurement_enable_lookback_window_filter"; 1263 1264 public static final String KEY_FLEDGE_MEASUREMENT_REPORT_AND_REGISTER_EVENT_API_ENABLED = 1265 "fledge_measurement_report_and_register_event_api_enabled"; 1266 1267 public static final String 1268 KEY_FLEDGE_MEASUREMENT_REPORT_AND_REGISTER_EVENT_API_FALLBACK_ENABLED = 1269 "fledge_measurement_report_and_register_event_api_fallback_enabled"; 1270 1271 public static final String KEY_ENABLE_LOGGED_TOPIC = "enable_logged_topic"; 1272 1273 // Privacy Params 1274 public static final String 1275 KEY_MEASUREMENT_MAX_DISTINCT_WEB_DESTINATIONS_IN_SOURCE_REGISTRATION = 1276 "measurement_max_distinct_web_destinations_in_source_registration"; 1277 1278 public static final String KEY_MEASUREMENT_MAX_INSTALL_ATTRIBUTION_WINDOW = 1279 "measurement_max_install_attribution_window"; 1280 1281 public static final String KEY_MEASUREMENT_MIN_INSTALL_ATTRIBUTION_WINDOW = 1282 "measurement_min_install_attribution_window"; 1283 1284 public static final String KEY_MEASUREMENT_MAX_REPORTING_REGISTER_SOURCE_EXPIRATION_IN_SECONDS = 1285 "measurement_max_reporting_register_source_expiration_in_seconds"; 1286 1287 public static final String KEY_MEASUREMENT_MIN_REPORTING_REGISTER_SOURCE_EXPIRATION_IN_SECONDS = 1288 "measurement_min_reporting_register_source_expiration_in_seconds"; 1289 1290 public static final String KEY_MEASUREMENT_MAX_POST_INSTALL_EXCLUSIVITY_WINDOW = 1291 "measurement_max_post_install_exclusivity_window"; 1292 1293 public static final String KEY_MEASUREMENT_MIN_POST_INSTALL_EXCLUSIVITY_WINDOW = 1294 "measurement_min_post_install_exclusivity_window"; 1295 1296 public static final String KEY_MEASUREMENT_MAX_SUM_OF_AGGREGATE_VALUES_PER_SOURCE = 1297 "measurement_max_sum_of_aggregate_values_per_source"; 1298 1299 public static final String KEY_MEASUREMENT_RATE_LIMIT_WINDOW_MILLISECONDS = 1300 "measurement_rate_limit_window_milliseconds"; 1301 1302 public static final String KEY_MEASUREMENT_MIN_REPORTING_ORIGIN_UPDATE_WINDOW = 1303 "measurement_min_reporting_origin_update_window"; 1304 1305 public static final String KEY_MEASUREMENT_ENABLE_PREINSTALL_CHECK = 1306 "measurement_enable_preinstall_check"; 1307 1308 public static final String KEY_MEASUREMENT_ENABLE_API_STATUS_ALLOW_LIST_CHECK = 1309 "measurement_enable_api_status_allow_list_check"; 1310 1311 public static final String KEY_MEASUREMENT_ENABLE_REDIRECT_TO_WELL_KNOWN_PATH = 1312 "measurement_enable_redirect_to_well_known_path"; 1313 1314 public static final String KEY_MEASUREMENT_ENABLE_ATTRIBUTION_SCOPE = 1315 "measurement_enable_attribution_scope"; 1316 1317 public static final String KEY_MEASUREMENT_ENABLE_REINSTALL_REATTRIBUTION = 1318 "measurement_enable_reinstall_reattribution"; 1319 1320 public static final String KEY_MEASUREMENT_MAX_REINSTALL_REATTRIBUTION_WINDOW = 1321 "measurement_max_reinstall_reattribution_window"; 1322 1323 public static final String KEY_MEASUREMENT_ENABLE_NAVIGATION_REPORTING_ORIGIN_CHECK = 1324 "measurement_enable_navigation_reporting_origin_check"; 1325 1326 public static final String 1327 KEY_MEASUREMENT_ENABLE_SEPARATE_REPORT_TYPES_FOR_ATTRIBUTION_RATE_LIMIT = 1328 "measurement_enable_separate_report_types_for_attribution_rate_limit"; 1329 1330 public static final String KEY_MEASUREMENT_MAX_ATTRIBUTION_SCOPES_PER_SOURCE = 1331 "measurement_max_attribution_scopes_per_source"; 1332 1333 public static final String KEY_MEASUREMENT_MAX_ATTRIBUTION_SCOPE_LENGTH = 1334 "measurement_max_attribution_scope_length"; 1335 1336 public static final String KEY_MEASUREMENT_EVENT_API_DEFAULT_EPSILON = 1337 "measurement_event_api_default_epsilon"; 1338 1339 // Database Schema Version Flags 1340 public static final String KEY_ENABLE_DATABASE_SCHEMA_VERSION_8 = 1341 "enable_database_schema_version_8"; 1342 public static final String KEY_ENABLE_DATABASE_SCHEMA_VERSION_9 = 1343 "enable_database_schema_version_9"; 1344 public static final String KEY_SHARED_DATABASE_SCHEMA_VERSION_4_ENABLED = 1345 "shared_database_schema_version_4_enabled"; 1346 1347 public static final String KEY_NOTIFICATION_DISMISSED_ON_CLICK = 1348 "notification_dmsmissed_on_click"; 1349 1350 public static final String KEY_U18_UX_ENABLED = "u18_ux_enabled"; 1351 1352 public static final String KEY_RVC_UX_ENABLED = "rvc_ux_enabled"; 1353 1354 public static final String KEY_RVC_POST_OTA_NOTIFICATION_ENABLED = 1355 "rvc_post_ota_notification_enabled"; 1356 1357 public static final String KEY_ENABLE_AD_SERVICES_SYSTEM_API = "enable_ad_services_system_api"; 1358 1359 public static final String KEY_IS_U18_UX_DETENTION_CHANNEL_ENABLED = 1360 "is_u18_ux_detention_channel_enabled"; 1361 1362 public static final String KEY_IS_U18_SUPERVISED_ACCOUNT_ENABLED = 1363 "is_u18_supervised_account_enabled"; 1364 1365 public static final String KEY_AD_ID_CACHE_ENABLED = "ad_id_cache_enabled"; 1366 1367 public static final String KEY_AD_ID_FETCHER_TIMEOUT_MS = "ad_id_fetcher_timeout_ms"; 1368 1369 // NOTE: retired (it's on by default) - constant is here to keep track (for example, if we move 1370 // to a metadata-driven flag management, we could still list this one as "retired"). 1371 // public static final String KEY_APP_CONFIG_RETURNS_ENABLED_BY_DEFAULT = 1372 // "app_config_returns_enabled_by_detault"; 1373 1374 public static final String KEY_ENABLE_ADEXT_DATA_SERVICE_APIS = 1375 "adext_data_service_apis_enabled"; 1376 1377 public static final String KEY_ENABLE_ADEXT_DATA_SERVICE_DEBUG_PROXY = 1378 "enable_adext_data_service_debug_proxy"; 1379 1380 public static final String KEY_ENABLE_ADSERVICES_API_ENABLED = "enable_adservices_api_enabled"; 1381 1382 public static final String KEY_ADSERVICES_ENABLEMENT_CHECK_ENABLED = 1383 "adservices_enablement_check_enabled"; 1384 1385 public static final String KEY_BACKGROUND_JOB_SAMPLING_LOGGING_RATE = 1386 "key_background_job_sampling_logging_rate"; 1387 1388 public static final String KEY_IS_GET_ADSERVICES_COMMON_STATES_API_ENABLED = 1389 "get_adservices_common_states_api_enabled"; 1390 1391 /** Key for kanon sign join feature flag */ 1392 public static final String KEY_FLEDGE_ENABLE_KANON_SIGN_JOIN_FEATURE = 1393 "fledge_kanon_sign_join_enabled"; 1394 1395 /** Key for kanon sign join on device feature flag */ 1396 public static final String KEY_FLEDGE_ENABLE_KANON_ON_DEVICE_AUCTION_FEATURE = 1397 "fledge_kanon_sign_join_on_device_auction_enabled"; 1398 1399 /** Key for kanon sign join on device feature flag */ 1400 public static final String KEY_FLEDGE_ENABLE_KANON_AUCTION_SERVER_FEATURE = 1401 "fledge_kanon_sign_join_auction_server_enabled"; 1402 1403 /** Key for kanon fetch parameters url. */ 1404 public static final String KEY_KANON_FETCH_PARAMETERS_URL = "kanon_fetch_parameters_url"; 1405 1406 /** Key for get challenge url. */ 1407 public static final String KEY_ANON_GET_CHALLENGE_URl = "kanon_get_challenge_url"; 1408 1409 /** Key for kanon register client parameters url. */ 1410 public static final String KEY_FLEDGE_KANON_REGISTER_CLIENT_PARAMETERS_URL = 1411 "fledge_kanon_register_client_parameters_url"; 1412 1413 /** Key for kanon get tokens url. */ 1414 public static final String KEY_FLEDGE_KANON_GET_TOKENS_URL = "fledge_kanon_get_tokens_url"; 1415 1416 /** Key for kanon join url. */ 1417 public static final String KEY_FLEDGE_KANON_JOIN_URL = "fledge_kanon_join_url"; 1418 1419 /** Key for kanon sign batch size. */ 1420 public static final String KEY_FLEDGE_KANON_SIGN_BATCH_SIZE = "fledge_kanon_sign_batch_size"; 1421 1422 /** Key for kanon percentage immediate sign/join calls. */ 1423 public static final String KEY_FLEDGE_KANON_PERCENTAGE_IMMEDIATE_SIGN_JOIN_CALLS = 1424 "fledge_kanon_percentage_immediate_sign_join_calls"; 1425 1426 /** Key for KAnon Message ttl in seconds. */ 1427 public static final String KEY_FLEDGE_KANON_MESSAGE_TTL_SECONDS = 1428 "fledge_kanon_message_ttl_seconds"; 1429 1430 /** Key for kanon background job frequency per day. */ 1431 public static final String KEY_FLEDGE_KANON_BACKGROUND_TIME_PERIOD_IN_MS = 1432 "fledge_kanon_background_time_period_in_ms"; 1433 1434 /** Key for number of messages processes in a single background process. */ 1435 public static final String KEY_FLEDGE_KANON_NUMBER_OF_MESSAGES_PER_BACKGROUND_PROCESS = 1436 "fledge_kanon_number_of_messages_per_background_process"; 1437 1438 /** Key for kanon background processed enabled. */ 1439 public static final String KEY_FLEDGE_KANON_BACKGROUND_PROCESS_ENABLED = 1440 "fledge_kanon_background_process_enabled"; 1441 1442 /** Key for kanon background processed enabled. */ 1443 public static final String KEY_FLEDGE_KANON_SIGN_JOIN_LOGGING_ENABLED = 1444 "fledge_kanon_sign_join_logging_enabled"; 1445 1446 /** Key for kanon key attestation feature flag. */ 1447 public static final String KEY_FLEDGE_KANON_KEY_ATTESTATION_ENABLED = 1448 "fledge_kanon_key_attestation_enabled"; 1449 1450 /** Key for kanon set type to join for sign join process. */ 1451 public static final String KEY_FLEDGE_KANON_SET_TYPE_TO_SIGN_JOIN = 1452 "fledge_kanon_set_type_to_sign_join"; 1453 1454 public static final String KEY_FLEDGE_KANON_BACKGROUND_JOB_REQUIRES_DEVICE_IDLE = 1455 "fledge_kanon_background_job_requires_device_idle"; 1456 1457 public static final String KEY_FLEDGE_KANON_BACKGROUND_JOB_REQUIRES_BATTERY_NOT_LOW = 1458 "fledge_kanon_background_job_requires_battery_not_low"; 1459 1460 public static final String KEY_FLEDGE_KANON_BACKGROUND_JOB_TYPE_OF_CONNECTION = 1461 "fledge_kanon_background_job_type_of_meter_connection"; 1462 1463 public static final String KEY_FLEDGE_KANON_HTTP_CLIENT_TIMEOUT = 1464 "fledge_kanon_http_client_timeout"; 1465 1466 /** Key for kanon join url authoriy. */ 1467 public static final String KEY_FLEDGE_KANON_JOIN_URL_AUTHORIY = 1468 "fledge_kanon_join_url_authoriy"; 1469 1470 /** key for allow list of get adservices common states. */ 1471 public static final String KEY_GET_ADSERVICES_COMMON_STATES_ALLOW_LIST = 1472 "get_adservices_common_states_allow_list"; 1473 1474 /** Key for AdServices' module job policy. */ 1475 public static final String KEY_AD_SERVICES_MODULE_JOB_POLICY = "ad_services_module_job_policy"; 1476 1477 /** Key for feature flagging AdServices Retryable. */ 1478 public static final String KEY_AD_SERVICES_RETRY_STRATEGY_ENABLED = 1479 "ad_services_retry_strategy_enabled"; 1480 1481 /** 1482 * Key for setting the value for max number of retry attempts for {@link 1483 * com.android.adservices.service.js.JSScriptEngine} 1484 */ 1485 public static final String KEY_AD_SERVICES_JS_SCRIPT_ENGINE_MAX_RETRY_ATTEMPTS = 1486 "ad_services_js_engine_max_retry_attempts"; 1487 1488 /** Key for feature flagging AdServices consent manager v2. */ 1489 public static final String KEY_ENABLE_CONSENT_MANAGER_V2 = "enable_consent_manager_v2"; 1490 1491 /** Key for PAS API extended metrics flag. */ 1492 public static final String KEY_PAS_EXTENDED_METRICS_ENABLED = "pas_extended_metrics_enabled"; 1493 1494 /** Key for enabling SPE on pilot background jobs. */ 1495 public static final String KEY_SPE_ON_PILOT_JOBS_ENABLED = "spe_on_pilot_jobs_enabled"; 1496 1497 /** Key for enabling job scheduling logging rate. */ 1498 public static final String KEY_JOB_SCHEDULING_LOGGING_ENABLED = 1499 "job_scheduling_logging_enabled"; 1500 1501 /** Key for the sampling rate of job scheduling logging. */ 1502 public static final String KEY_JOB_SCHEDULING_LOGGING_SAMPLING_RATE = 1503 "job_scheduling_logging_sampling_rate"; 1504 1505 /** Key for enabling tablet region fix. */ 1506 public static final String KEY_ENABLE_TABLET_REGION_FIX = "enable_tablet_region_fix"; 1507 1508 /** 1509 * Key for getting base64 encoded String which describes a map of sampling interval to a list of 1510 * error codes. 1511 */ 1512 public static final String KEY_ENCODED_ERROR_CODE_LIST_PER_SAMPLE_INTERVAL = 1513 "encoded_error_code_list_per_sample_interval"; 1514 1515 /** Key for enabling custom error code sampling. */ 1516 public static final String KEY_CUSTOM_ERROR_CODE_SAMPLING_ENABLED = 1517 "custom_error_code_sampling_enabled"; 1518 1519 /** Key for PAS script download read timeout flag */ 1520 public static final String KEY_PAS_SCRIPT_DOWNLOAD_READ_TIMEOUT_MS = 1521 "pas_script_download_read_timeout_ms"; 1522 1523 /** Key for PAS script download connection timeout flag */ 1524 public static final String KEY_PAS_SCRIPT_DOWNLOAD_CONNECTION_TIMEOUT_MS = 1525 "pas_script_download_connection_timeout_ms"; 1526 1527 /** Key for PAS signals download read timeout flag */ 1528 public static final String KEY_PAS_SIGNALS_DOWNLOAD_READ_TIMEOUT_MS = 1529 "pas_signals_download_read_timeout_ms"; 1530 1531 /** Key for PAS signals download connection timeout flag */ 1532 public static final String KEY_PAS_SIGNALS_DOWNLOAD_CONNECTION_TIMEOUT_MS = 1533 "pas_signals_download_connection_timeout_ms"; 1534 1535 /** Key for PAS script execution timeout flag */ 1536 public static final String KEY_PAS_SCRIPT_EXECUTION_TIMEOUT_MS = 1537 "pas_script_execution_timeout_ms"; 1538 1539 /** Key for enabling SPE on pilot background jobs. */ 1540 public static final String KEY_SPE_ON_PILOT_JOBS_BATCH_2_ENABLED = 1541 "spe_on_pilot_jobs_batch_2_enabled"; 1542 1543 /** Key for enabling SPE on {@code EpochJobService}. */ 1544 public static final String KEY_SPE_ON_EPOCH_JOB_ENABLED = "spe_on_epoch_job_enabled"; 1545 1546 /** Key for enabling SPE on {@code BackgroundFetchJobService}. */ 1547 public static final String KEY_SPE_ON_BACKGROUND_FETCH_JOB_ENABLED = 1548 "spe_on_background_fetch_job_enabled"; 1549 1550 /** Key for enabling SPE on {@code AsyncRegistrationFallbackJobService}. */ 1551 public static final String KEY_SPE_ON_ASYNC_REGISTRATION_FALLBACK_JOB_ENABLED = 1552 "spe_on_async_registration_fallback_job_enabled"; 1553 1554 /** Key for enabling adservices apis v2. */ 1555 public static final String KEY_ADSERVICES_CONSENT_BUSINESS_LOGIC_MIGRATION_ENABLED = 1556 "adservices_consent_business_logic_migration_enabled"; 1557 } 1558