• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
17syntax = "proto2";
18package android.adservices.common;
19
20option java_multiple_files = true;
21
22/**
23 * Enum representing an error/exception.  These errors can be common to all
24 * PPAPIs or specific to a particular API. We will group enums in blocks of
25 * 1000 like this below:
26 * - Common errors: 1-1000
27 * - Topics errors: 1001-2000
28 * - Measurement errors: 2001-3000
29 * - Fledge errors: 3001-4000
30 * - UX errors: 4001-5000
31 * - FederatedCompute errors: 5001-6000
32 * - Back Compat errors: 6001-7000
33 * - IAPC errors: 7001 - 8000
34 * - ODP errors: 8001-9000
35 *
36 * NOTE: AdId / AdSetId don't have a range yet (because they're just using common codes)
37 */
38enum ErrorCode {
39  // Common Errors: 1-1000
40  ERROR_CODE_UNSPECIFIED = 0;
41  DATABASE_READ_EXCEPTION = 1;
42  DATABASE_WRITE_EXCEPTION = 2;
43  API_REMOTE_EXCEPTION = 3;
44
45  // Error occurred when unable to send result to the callback.
46  API_CALLBACK_ERROR = 4;
47
48  // Error occurred when failed to call the callback on Rate Limit Reached.
49  RATE_LIMIT_CALLBACK_FAILURE = 5;
50
51  // Error occurred when calling package name is not found.
52  PACKAGE_NAME_NOT_FOUND_EXCEPTION = 6;
53
54  // Shared pref update failure.
55  SHARED_PREF_UPDATE_FAILURE = 7;
56
57  // Shared pref reset failure.
58  SHARED_PREF_RESET_FAILURE = 8;
59
60  // Remote exception when calling the Cobalt upload API.
61  COBALT_UPLOAD_API_REMOTE_EXCEPTION = 9;
62
63  // Exception occurred when parsing the Adservices Config XML provided by an app.
64  APP_MANIFEST_CONFIG_PARSING_ERROR = 10;
65
66  // Generic exception when dealing with shared prefs.
67  SHARED_PREF_EXCEPTION = 11;
68
69  // Error logging an API check using Adservices Config XML provided by an app.
70  APP_MANIFEST_CONFIG_LOGGING_ERROR = 12;
71
72  // Incorrect version of the json file.
73  ENCRYPTION_KEYS_INCORRECT_JSON_VERSION = 13;
74
75  // JSON parsing error for the key.
76  ENCRYPTION_KEYS_JSON_PARSING_ERROR = 14;
77
78  // Failed to delete an expired encryption key.
79  ENCRYPTION_KEYS_FAILED_DELETE_EXPIRED_KEY = 15;
80
81  // Failed to load Encryption Keys MDD filegroup
82  ENCRYPTION_KEYS_FAILED_MDD_FILEGROUP = 16;
83
84  // Encryption Keys no MDD files available.
85  ENCRYPTION_KEYS_MDD_NO_FILE_AVAILABLE = 17;
86
87  // JobScheduler is not available.
88  JOB_SCHEDULER_IS_UNAVAILABLE = 18;
89
90  // Failed to encrypt data in Cobalt.
91  COBALT_ENCRYPTION_FAILED_EXCEPTION = 19;
92
93  // Failed to fabricate Cobalt observations.
94  COBALT_PRIVACY_GENERATION_EXCEPTION = 20;
95
96  // Cobalt logger initialization failed in AppNameApiErrorLogger.
97  COBALT_API_ERROR_LOGGER_INITIALIZATION_EXCEPTION = 21;
98
99  // Write to atomic file datastore failed.
100  ATOMIC_FILE_DATASTORE_WRITE_FAILURE = 22;
101
102  // Read from atomic file datastore failed.
103  ATOMIC_FILE_DATASTORE_READ_FAILURE = 23;
104
105  // Error while parsing bytes to proto failure.
106  PROTO_PARSER_INVALID_PROTO_ERROR = 24;
107
108  // Error while decoding Base64 encoded string to bytes.
109  PROTO_PARSER_DECODE_BASE64_ENCODED_STRING_TO_BYTES_ERROR = 25;
110
111  // Error code is present multiple times in the custom sampling proto
112  ERROR_CODE_PRESENT_MULTIPLE_TIMES_IN_PROTO = 26;
113
114  // Package Deny process failure unknown.
115  PACKAGE_DENY_PROCESS_ERROR_FAILURE_UNKNOWN = 27;
116
117  // Package Deny process failure due to no file found.
118  PACKAGE_DENY_PROCESS_ERROR_NO_FILE_FOUND = 28;
119
120  // Package Deny process failure due to reading file.
121  PACKAGE_DENY_PROCESS_ERROR_FAILED_READING_FILE = 29;
122
123  // Package Deny process failure in filtering installed packages.
124  PACKAGE_DENY_PROCESS_ERROR_FAILED_FILTERING_INSTALLED_PACKAGES = 30;
125
126  // Package Deny process failure due to updating cache.
127  PACKAGE_DENY_PROCESS_ERROR_FAILED_UPDATING_CACHE = 31;
128
129  // Package Deny process failure due failure reading cache.
130  PACKAGE_DENY_PROCESS_ERROR_FAILED_READING_CACHE = 32;
131
132  // Package Deny process failure service disabled.
133  PACKAGE_DENY_PROCESS_ERROR_DISABLED = 33;
134
135  // SPE Errors: 901 - 930
136  // Get an unavailable job execution start timestamp when calculating the execution latency.
137  SPE_UNAVAILABLE_JOB_EXECUTION_START_TIMESTAMP = 901;
138
139  // Get an invalid execution period during the calculation.
140  SPE_INVALID_EXECUTION_PERIOD = 902;
141
142  // Failed to persist execution start time in the storage.
143  SPE_FAIL_TO_COMMIT_JOB_EXECUTION_START_TIME = 903;
144
145  // Failed to persist execution stop time in the storage.
146  SPE_FAIL_TO_COMMIT_JOB_EXECUTION_STOP_TIME = 904;
147
148  // Execution failure.
149  SPE_JOB_EXECUTION_FAILURE = 905;
150
151  // JobScheduler is not available.
152  SPE_JOB_SCHEDULER_IS_UNAVAILABLE = 906;
153
154  // Invalid Job Policy configured in the server.
155  SPE_INVALID_JOB_POLICY_SYNC = 907;
156
157  // Job is not configured correctly.
158  SPE_JOB_NOT_CONFIGURED_CORRECTLY = 908;
159
160  // Scheduling Failure.
161  SPE_JOB_SCHEDULING_FAILURE = 909;
162
163  // Failure of the customized logic in onStopJob().
164  SPE_JOB_ON_STOP_EXECUTION_FAILURE = 910;
165
166  // Error during future cancellation process.
167  SPE_FUTURE_CANCELLATION_ERROR = 911;
168
169  // Error when JobScheduler tries to schedule a job but the app has scheduled more than 150 jobs.
170  SPE_JOB_SCHEDULING_FAILURE_ON_TOO_MANY_SCHEDULED_JOBS = 912;
171
172  // Process Stable Flags Error: 931 - 940
173  // The flag initialization takes too long and exceeds the threshold.
174  PROCESS_STABLE_FLAGS_FLAG_INIT_TIMEOUT = 931;
175  // The flag initialization encounters error.
176  PROCESS_STABLE_FLAGS_FLAG_INIT_ERROR = 932;
177  // The flag initialization future encounters issue when calling get().
178  PROCESS_STABLE_FLAGS_INIT_FUTURE_GET_ERROR = 933;
179
180  // Topics errors: 1001-2000
181  // Remote exception when calling get topics.
182  GET_TOPICS_REMOTE_EXCEPTION = 1001;
183
184  // Topics API is disabled.
185  TOPICS_API_DISABLED = 1002;
186
187  // SQLException occurred when failed to persist classified Topics.
188  TOPICS_PERSIST_CLASSIFIED_TOPICS_FAILURE = 1003;
189
190  // SQLException occurred when failed to persist Top Topics.
191  TOPICS_PERSIST_TOP_TOPICS_FAILURE = 1004;
192
193  // SQLException occurred when failed to record App-Sdk usage history.
194  TOPICS_RECORD_APP_SDK_USAGE_FAILURE = 1005;
195
196  // SQLException occurred when failed to record App Only usage history.
197  TOPICS_RECORD_APP_USAGE_FAILURE = 1006;
198
199  // SQLException occurred when failed to record can learn topic.
200  TOPICS_RECORD_CAN_LEARN_TOPICS_FAILURE = 1007;
201
202  // SQLException occurred when failed to record returned topic.
203  TOPICS_RECORD_RETURNED_TOPICS_FAILURE = 1008;
204
205  // SQLException occurred when failed to record returned topic.
206  TOPICS_RECORD_BLOCKED_TOPICS_FAILURE = 1009;
207
208  // SQLException occurred when failed to remove blocked topic.
209  TOPICS_DELETE_BLOCKED_TOPICS_FAILURE = 1010;
210
211  // SQLException occurred when failed to delete old epochs.
212  TOPICS_DELETE_OLD_EPOCH_FAILURE = 1011;
213
214  // SQLException occurred when failed to delete a column in table
215  TOPICS_DELETE_COLUMN_FAILURE = 1012;
216
217  // SQLException occurred when failed to persist topic contributors.
218  TOPICS_PERSIST_TOPICS_CONTRIBUTORS_FAILURE = 1013;
219
220  // SQLException occurred when failed to delete all entries from table.
221  TOPICS_DELETE_ALL_ENTRIES_IN_TABLE_FAILURE = 1014;
222
223  // Exception occurred when classify call failed.
224  TOPICS_ON_DEVICE_CLASSIFY_FAILURE = 1015;
225
226  // Exception occurred ML model did not return a topic id.
227  TOPICS_ON_DEVICE_NUMBER_FORMAT_EXCEPTION = 1016;
228
229  // Exception occurred when failed to load ML model.
230  TOPICS_LOAD_ML_MODEL_FAILURE = 1017;
231
232  // Exception occurred when unable to retrieve topics id to topics name.
233  TOPICS_ID_TO_NAME_LIST_READ_FAILURE = 1018;
234
235  // Exception occurred when unable to read classifier asset file.
236  TOPICS_READ_CLASSIFIER_ASSET_FILE_FAILURE = 1019;
237
238  // NoSuchAlgorithmException occurred when unable to find correct message.
239  // digest algorithm.
240  TOPICS_MESSAGE_DIGEST_ALGORITHM_NOT_FOUND = 1020;
241
242  // Error occurred when failed to find downloaded classifier model file.
243  DOWNLOADED_CLASSIFIER_MODEL_FILE_NOT_FOUND = 1021;
244
245  // No downloaded or bundled classifier model available.
246  NO_CLASSIFIER_MODEL_AVAILABLE = 1022;
247
248  // Error occurred when failed to read labels file.
249  READ_LABELS_FILE_FAILURE = 1023;
250
251  // Error occurred when failed to read precomuted labels.
252  READ_PRECOMUTRED_LABELS_FAILURE = 1024;
253
254  // Error occurred when failed to read top apps file.
255  READ_TOP_APPS_FILE_FAILURE = 1025;
256
257  // Error occurred when saving a topic not in labels file.
258  INVALID_TOPIC_ID = 1026;
259
260  // Error occurred when failed to read precomuted app topics list.
261  READ_PRECOMUTRED_APP_TOPICS_LIST_FAILURE = 1027;
262
263  // Error occurred when failed to read bundled metadata file.
264  READ_BUNDLED_METADATA_FILE_FAILURE = 1028;
265
266  // Error occurred when reading redundant metadata property.
267  CLASSIFIER_METADATA_REDUNDANT_PROPERTY = 1029;
268
269  // Error occurred when reading redundant metadata asset.
270  CLASSIFIER_METADATA_REDUNDANT_ASSET = 1030;
271
272  // Error occurred when parsing metadata json missing property or asset_name.
273  CLASSIFIER_METADATA_MISSING_PROPERTY_OR_ASSET_NAME = 1031;
274
275  // Error occurred when failed to read classifier assets metadata file.
276  READ_CLASSIFIER_ASSETS_METADATA_FAILURE = 1032;
277
278  // Error occurred when failed to load downloaded file by file Id.
279  DOWNLOADED_CLASSIFIER_MODEL_FILE_LOAD_FAILURE = 1033;
280
281  // RuntimeException occurred when use invalid type of blocked topics
282  // source of truth.
283  TOPICS_INVALID_BLOCKED_TOPICS_SOURCE_OF_TRUTH = 1034;
284
285  // RuntimeException occurred when unable to remove the blocked topic.
286  TOPICS_REMOVE_BLOCKED_TOPIC_FAILURE = 1035;
287
288  // RuntimeException occurred when unable to get all blocked topics.
289  TOPICS_GET_BLOCKED_TOPIC_FAILURE = 1036;
290
291  // RuntimeException occurred when unable to clear all blocked topics
292  // in system server.
293  TOPICS_CLEAR_ALL_BLOCKED_TOPICS_IN_SYSTEM_SERVER_FAILURE = 1037;
294
295  // Error occurred when unable to handle JobService.
296  TOPICS_HANDLE_JOB_SERVICE_FAILURE = 1038;
297
298  // Error occurred when unable to fetch job scheduler.
299  TOPICS_FETCH_JOB_SCHEDULER_FAILURE = 1039;
300
301  // Error occurred while deleting a table for Topics.
302  TOPICS_DELETE_TABLE_FAILURE = 1040;
303
304  // Cobalt initialisation failure for Topics.
305  TOPICS_COBALT_LOGGER_INITIALIZATION_FAILURE = 1041;
306
307  // Failure to convert plaintext topic object to encrypted topic.
308  TOPICS_ENCRYPTION_FAILURE = 1042;
309
310  // Topics encryption key with invalid length.
311  TOPICS_ENCRYPTION_INVALID_KEY_LENGTH = 1043;
312
313  // Topics encryption with invalid response length.
314  TOPICS_ENCRYPTION_INVALID_RESPONSE_LENGTH = 1044;
315
316  // Topics encryption key failed to decode with Base64 decoder.
317  TOPICS_ENCRYPTION_KEY_DECODE_FAILURE = 1045;
318
319  // Topics encryption received null params in request for the encrypter.
320  TOPICS_ENCRYPTION_NULL_REQUEST = 1046;
321
322  // Topics encryption received null response from the encrypter.
323  TOPICS_ENCRYPTION_NULL_RESPONSE = 1047;
324
325  // Topics encryption received error while serialization to JSON.
326  TOPICS_ENCRYPTION_SERIALIZATION_ERROR = 1048;
327
328  // Topics encryption public key is missing.
329  TOPICS_ENCRYPTION_KEY_MISSING = 1049;
330
331  // Topics API request has empty sdk name.
332  TOPICS_REQUEST_EMPTY_SDK_NAME = 1050;
333
334  // Measurement errors: 2001-3000
335  // Error occurred when inserting enrollment data to DB.
336  ENROLLMENT_DATA_INSERT_ERROR = 2001;
337
338  // Error occurred when deleting enrollment data to DB.
339  ENROLLMENT_DATA_DELETE_ERROR = 2002;
340
341  // Measurement foreground unknown failure.
342  MEASUREMENT_FOREGROUND_UNKNOWN_FAILURE = 2003;
343
344  // Measurement datastore failure.
345  MEASUREMENT_DATASTORE_FAILURE = 2004;
346
347  // Measurement datastore unknown failure.
348  MEASUREMENT_DATASTORE_UNKNOWN_FAILURE = 2005;
349
350  // Measurement invalid parameter fetching public keys.
351  MEASUREMENT_PUBLIC_KEY_FETCHER_INVALID_PARAMETER = 2006;
352
353  // Measurement IO exception while fetching public keys.
354  MEASUREMENT_PUBLIC_KEY_FETCHER_IO_ERROR = 2007;
355
356  // Measurement error while parsing public keys.
357  MEASUREMENT_PUBLIC_KEY_FETCHER_PARSING_ERROR = 2008;
358
359  // Failure to save seed in SharedPreferences
360  ENROLLMENT_SHARED_PREFERENCES_SEED_SAVE_FAILURE = 2009;
361
362  // When report deliver fails due to a network issue (IOException).
363  MEASUREMENT_REPORTING_NETWORK_ERROR = 2010;
364
365  // When report delivery fails due to report building as JSON.
366  MEASUREMENT_REPORTING_PARSING_ERROR = 2011;
367
368  // When encryption of aggregate report fails.
369  MEASUREMENT_REPORTING_ENCRYPTION_ERROR = 2012;
370
371  // Reporting errors should have specific error codes.
372  MEASUREMENT_REPORTING_UNKNOWN_ERROR = 2013;
373
374  // When parsing of enrollment file fails.
375  ENROLLMENT_FAILED_PARSING = 2014;
376
377  // Error occurred when encountering invalid enrollment.
378  ENROLLMENT_INVALID = 2015;
379
380  // Error occurred when trying to get instance of an ODP system event manager
381  MEASUREMENT_REGISTRATION_ODP_GET_MANAGER_ERROR = 2016;
382
383  // Error due to the ODP header being in an invalid format
384  MEASUREMENT_REGISTRATION_ODP_INVALID_HEADER_FORMAT_ERROR = 2017;
385
386  // Error due to the ODP header missing a required field
387  MEASUREMENT_REGISTRATION_ODP_MISSING_REQUIRED_HEADER_FIELD_ERROR = 2018;
388
389  // Error due to the ODP header containing a field with an invalid value
390  MEASUREMENT_REGISTRATION_ODP_INVALID_HEADER_FIELD_VALUE_ERROR = 2019;
391
392  // Error occurred when trying to parse the ODP header (JSON Exception)
393  MEASUREMENT_REGISTRATION_ODP_JSON_PARSING_ERROR = 2020;
394
395  // Error occurred when trying to parse the ODP header (Unknown Exception)
396  MEASUREMENT_REGISTRATION_ODP_PARSING_UNKNOWN_ERROR = 2021;
397
398  // Error occurred when trying to initialize cobalt logger for measurement metrics.
399  MEASUREMENT_COBALT_LOGGER_INITIALIZATION_FAILURE = 2022;
400
401  // Error occurred when trying to validate the UID of the calling app.
402  MEASUREMENT_UID_CHECK_FAILURE = 2023;
403
404  // Fledge (PA), PAS errors: 3001 - 4000
405  // Exception while PAS unable to find the service.
406  PAS_UNABLE_FIND_SERVICES = 3001;
407
408  // Error occurred when ProtectedSignalsManager get a remote exception.
409  PAS_MANAGER_REMOTE_EXCEPTION = 3002;
410
411  // Exception while ProtectedSignalsServiceImpl has a null argument.
412  PAS_SERVICE_IMPL_NULL_ARGUMENT = 3003;
413
414  // FilterException because user consent revoked.
415  PAS_FILTER_EXCEPTION_USER_CONSENT_REVOKED = 3004;
416
417  // FilterException because background caller happened.
418  PAS_FILTER_EXCEPTION_BACKGROUND_CALLER = 3005;
419
420  // FilterException because caller not allowed.
421  PAS_FILTER_EXCEPTION_CALLER_NOT_ALLOWED = 3006;
422
423  // FilterException because unauthorized.
424  PAS_FILTER_EXCEPTION_UNAUTHORIZED = 3007;
425
426  // FilterException because rate limit reached.
427  PAS_FILTER_EXCEPTION_RATE_LIMIT_REACHED = 3008;
428
429  // FilterException because internal error happened.
430  PAS_FILTER_EXCEPTION_INTERNAL_ERROR = 3009;
431
432  // Exception while failed to get enrollment data for buyer.
433  PAS_GET_ENROLLMENT_AD_TECH_ID_FAILURE = 3010;
434
435  // Error occurred when Fledge consent revoked.
436  PAS_FLEDGE_CONSENT_NOT_GIVEN = 3011;
437
438  // Error occurred when Fledge consent revoked for app after setting Fledge use.
439  PAS_FLEDGE_CONSENT_REVOKED_FOR_APP_AFTER_SETTING_FLEDGE_USE = 3012;
440
441  // Error encountered in updateSignals, unpacking from ExecutionException and notifying caller.
442  PAS_EXECUTION_EXCEPTION = 3013;
443
444  // Exception while unable to send result to the callback.
445  PAS_UNABLE_SEND_RESULT_TO_CALLBACK = 3014;
446
447  // Exception while PAS get illegal calling UID.
448  PAS_GET_CALLING_UID_ILLEGAL_STATE = 3015;
449
450  // FilterException occurred in PAS notifyFailure because user consent revoked.
451  PAS_NOTIFY_FAILURE_FILTER_EXCEPTION_USER_CONSENT_REVOKED = 3016;
452
453  // FilterException occurred in PAS notifyFailure because background caller happened.
454  PAS_NOTIFY_FAILURE_FILTER_EXCEPTION_BACKGROUND_CALLER = 3017;
455
456  // FilterException occurred in PAS notifyFailure because caller not allowed.
457  PAS_NOTIFY_FAILURE_FILTER_EXCEPTION_CALLER_NOT_ALLOWED = 3018;
458
459  // FilterException occurred in PAS notifyFailure because unauthorized.
460  PAS_NOTIFY_FAILURE_FILTER_EXCEPTION_UNAUTHORIZED = 3019;
461
462  // FilterException occurred in PAS notifyFailure because rate limit reached
463  PAS_NOTIFY_FAILURE_FILTER_EXCEPTION_RATE_LIMIT_REACHED = 3020;
464
465  // FilterException occurred in PAS notifyFailure because internal error happened.
466  PAS_NOTIFY_FAILURE_FILTER_EXCEPTION_INTERNAL_ERROR = 3021;
467
468  // Exception occurred in PAS notifyFailure because invalid argument.
469  PAS_NOTIFY_FAILURE_INVALID_ARGUMENT = 3022;
470
471  // Unexpected error during PAS operation.
472  PAS_UNEXPECTED_ERROR_DURING_OPERATION = 3023;
473
474  // Exception while PPAPI only Fledge consent check failed in ConsentManager.
475  FLEDGE_CONSENT_MANAGER_PPAPI_ONLY_FLEDGE_CONSENT_CHECK_FAILED = 3024;
476
477  // Exception while PPAPI and system server Fledge consent check failed in ConsentManager.
478  FLEDGE_CONSENT_MANAGER_PPAPI_AND_SYSTEM_SERVER_FLEDGE_CONSENT_CHECK_FAILED = 3025;
479
480  // Exception while PPAPI and ExtService consent failed in ConsentManager.
481  FLEDGE_CONSENT_MANAGER_PPAPI_AND_ADEXT_SERVICE_CONSENT_FAILED = 3026;
482
483  // Exception while invalid consent source of truth in ConsentManager.
484  FLEDGE_CONSENT_MANAGER_INVALID_CONSENT_SOURCE_OF_TRUTH = 3027;
485
486  // Exception because PAS validate and persist encoded payload failure.
487  PAS_VALIDATE_AND_PERSIST_ENCODED_PAYLOAD_FAILURE = 3028;
488
489  // Exception because PAS encoded payload size exceeds limits.
490  PAS_ENCODED_PAYLOAD_SIZE_EXCEEDS_LIMITS = 3029;
491
492  // Exception because of failed per buyer encoding of PAS.
493  PAS_FAILED_PER_BUYER_ENCODING = 3030;
494
495  // Exception when processing JSON version of signals.
496  PAS_PROCESSING_JSON_VERSION_OF_SIGNALS_FAILURE = 3031;
497
498  // Exception because null PAS null encoding script result.
499  PAS_NULL_ENCODING_SCRIPT_RESULT = 3032;
500
501  // Exception because PAS empty script result.
502  PAS_EMPTY_SCRIPT_RESULT = 3033;
503
504  // Exception because PAS JS execution is unsuccessful.
505  PAS_JS_EXECUTION_STATUS_UNSUCCESSFUL = 3034;
506
507  // Exception because PAS malformed encoded payload.
508  PAS_MALFORMED_ENCODED_PAYLOAD = 3035;
509
510  // Exception because PAS could not extract the encoded payload result.
511  PAS_PROCESS_ENCODED_PAYLOAD_RESULT_FAILURE = 3036;
512
513  // Exception because semantic error during PAS JSON processing.
514  PAS_JSON_PROCESSING_STATUS_SEMANTIC_ERROR = 3037;
515
516  // Exception because PAS unpack signal updates JSON failure.
517  PAS_UNPACK_SIGNAL_UPDATES_JSON_FAILURE = 3038;
518
519  // Error occurred because PAS collision error.
520  PAS_COLLISION_ERROR = 3039;
521
522  // Error occurred when converting updateSignals response body to JSON.
523  PAS_CONVERTING_UPDATE_SIGNALS_RESPONSE_TO_JSON_ERROR = 3040;
524
525  // Error occurred because empty response from client for downloading PAS encoder.
526  PAS_EMPTY_RESPONSE_FROM_CLIENT_DOWNLOADING_ENCODER = 3041;
527
528  // Error occurred because invalid or missing encoder version.
529  PAS_INVALID_OR_MISSING_ENCODER_VERSION = 3042;
530
531  // Error occurred because updating for encoding logic on persistence layer failed.
532  PAS_UPDATE_FOR_ENCODING_LOGIC_ON_PERSISTENCE_LAYER_FAILED = 3043;
533
534  // Exception because GetAdSelectionData auction server API not available.
535  GET_AD_SELECTION_DATA_AUCTION_SERVER_API_NOT_AVAILABLE = 3044;
536
537  // Exception because null argument in GetAdSelectionData.
538  GET_AD_SELECTION_DATA_NULL_ARGUMENT = 3045;
539
540  // Exception because PersistAdSelectionResult auction server API not available.
541  PERSIST_AD_SELECTION_RESULT_AUCTION_SERVER_API_NOT_AVAILABLE = 3046;
542
543  // Exception because null argument in PersistAdSelectionResult.
544  PERSIST_AD_SELECTION_RESULT_NULL_ARGUMENT = 3047;
545
546  // Exception because GetAdSelectionData get illegal calling UID.
547  GET_AD_SELECTION_DATA_GET_CALLING_UID_ILLEGAL_STATE = 3048;
548
549  // Exception because PersistAdSelectionResult get illegal calling UID.
550  PERSIST_AD_SELECTION_RESULT_GET_CALLING_UID_ILLEGAL_STATE = 3049;
551
552  // Exception because no match found, failing calling package name match in GetAdSelectionData.
553  GET_AD_SELECTION_DATA_NO_MATCH_PACKAGE_NAME = 3050;
554
555  // Exception because no match found, failing calling package name match
556  // in PersistAdSelectionResult.
557  PERSIST_AD_SELECTION_RESULT_NO_MATCH_PACKAGE_NAME = 3051;
558
559  // Exception because one permission not declared by caller in GetAdSelectionData.
560  GET_AD_SELECTION_DATA_PERMISSION_FAILURE = 3052;
561
562  // Exception because one permission not declared by caller in PersistAdSelectionResult.
563  PERSIST_AD_SELECTION_RESULT_PERMISSION_FAILURE = 3053;
564
565  // Exception because any permission not declared by caller in GetAdSelectionData.
566  GET_AD_SELECTION_DATA_ANY_PERMISSION_FAILURE = 3054;
567
568  // Exception because any permission not declared by caller in PersistAdSelectionResult.
569  PERSIST_AD_SELECTION_RESULT_ANY_PERMISSION_FAILURE = 3055;
570
571  // Exception because enrollment data match not found for ad tech while calling GetAdSelectionData.
572  GET_AD_SELECTION_DATA_ENROLLMENT_DATA_MATCH_NOT_FOUND = 3056;
573
574  // Exception because enrollment data match not found for ad tech while calling
575  // PersistAdSelectionResult.
576  PERSIST_AD_SELECTION_RESULT_ENROLLMENT_DATA_MATCH_NOT_FOUND = 3057;
577
578  // Error occurred because app package name with ad tech identifier not authorized
579  // to call GetAdSelectionData.
580  GET_AD_SELECTION_DATA_AD_TECH_NOT_AUTHORIZED_BY_APP = 3058;
581
582  // Error occurred because app package name with ad tech identifier not authorized
583  // to call PersistAdSelectionResult.
584  PERSIST_AD_SELECTION_RESULT_AD_TECH_NOT_AUTHORIZED_BY_APP = 3059;
585
586  // Error occurred because enrollment is in block list to call GetAdSelectionData.
587  GET_AD_SELECTION_DATA_NOT_ALLOWED_ENROLLMENT_BLOCKLISTED = 3060;
588
589  // Error occurred because enrollment is in block list to call PersistAdSelectionResult.
590  PERSIST_AD_SELECTION_RESULT_NOT_ALLOWED_ENROLLMENT_BLOCKLISTED = 3061;
591
592  // Exception because user consent for GetAdSelectionData is not given.
593  GET_AD_SELECTION_DATA_USER_CONSENT_FOR_API_IS_NOT_GIVEN = 3062;
594
595  // Exception because user consent for PersistAdSelectionResult is not given.
596  PERSIST_AD_SELECTION_RESULT_USER_CONSENT_FOR_API_IS_NOT_GIVEN = 3063;
597
598  // Exception because user consent for PAS is not given.
599  PAS_CONSENT_REVOKED_FOR_APP = 3064;
600
601  // Exception because of PAS missing any notification displayed.
602  PAS_MISSING_ANY_NOTIFICATION_DISPLAYED = 3065;
603
604  // Exception because of GetAdSelectionData missing any notification displayed.
605  GET_AD_SELECTION_DATA_MISSING_ANY_NOTIFICATION_DISPLAYED = 3066;
606
607  // Exception because of PersistAdSelectionResult missing any notification displayed.
608  PERSIST_AD_SELECTION_RESULT_MISSING_ANY_NOTIFICATION_DISPLAYED = 3067;
609
610  // Exception because all APIs consent disabled for PAS.
611  PAS_ALL_APIS_CONSENT_DISABLED = 3068;
612
613  // Exception because all APIs consent disabled for GetAdSelectionData.
614  GET_AD_SELECTION_DATA_ALL_APIS_CONSENT_DISABLED = 3069;
615
616  // Exception because all APIs consent disabled for PersistAdSelectionResult.
617  PERSIST_AD_SELECTION_RESULT_ALL_APIS_CONSENT_DISABLED = 3070;
618
619  // Exception because filter and revoked consent exception in GetAdSelectionDataRunner.
620  GET_AD_SELECTION_DATA_RUNNER_FILTER_AND_REVOKED_CONSENT_EXCEPTION = 3071;
621
622  // Exception because AdServices exception in GetAdSelectionDataRunner.
623  GET_AD_SELECTION_DATA_RUNNER_ADSERVICES_EXCEPTION = 3072;
624
625  // Exception because unsupported payload size in GetAdSelectionDataRunner.
626  GET_AD_SELECTION_DATA_RUNNER_UNSUPPORTED_PAYLOAD_SIZE_EXCEPTION = 3073;
627
628  // Exception because runOutcomeSelection fails fast with exception in GetAdSelectionDataRunner.
629  GET_AD_SELECTION_DATA_RUNNER_RUNNER_OUTCOME_SELECTION_FAILURE = 3074;
630
631  // Exception because GetAdSelectionDataRunner exceeded allowed time limit.
632  GET_AD_SELECTION_DATA_RUNNER_EXCEEDED_ALLOWED_TIME_LIMIT = 3075;
633
634  // Error occurred when creating response with AssetFileDescriptor in GetAdSelectionDataRunner.
635  GET_AD_SELECTION_DATA_RUNNER_CREATE_ASSET_FILE_DESCRIPTOR_ERROR = 3076;
636
637  // Exception during notifying GetAdSelectionDataCallback success in GetAdSelectionDataRunner.
638  GET_AD_SELECTION_DATA_RUNNER_NOTIFY_SUCCESS_CALLBACK_ERROR = 3077;
639
640  // Exception during notifying GetAdSelectionDataCallback empty success
641  // in GetAdSelectionDataRunner.
642  GET_AD_SELECTION_DATA_RUNNER_NOTIFY_EMPTY_SUCCESS_CALLBACK_ERROR = 3078;
643
644  // Exception during notifying GetAdSelectionDataCallback failure in GetAdSelectionDataRunner.
645  GET_AD_SELECTION_DATA_RUNNER_NOTIFY_FAILURE_CALLBACK_ERROR = 3079;
646
647  // Exception of timeout during notifying failure in GetAdSelectionDataRunner.
648  GET_AD_SELECTION_DATA_RUNNER_NOTIFY_FAILURE_TIMEOUT = 3080;
649
650  // Exception of JS sandbox unavailable during notifying failure in GetAdSelectionDataRunner.
651  GET_AD_SELECTION_DATA_RUNNER_NOTIFY_FAILURE_JS_SANDBOX_UNAVAILABLE = 3081;
652
653  // Exception of invalid argument during notifying failure in GetAdSelectionDataRunner.
654  GET_AD_SELECTION_DATA_RUNNER_NOTIFY_FAILURE_INVALID_ARGUMENT = 3082;
655
656  // Exception of internal error during notifying failure in GetAdSelectionDataRunner.
657  GET_AD_SELECTION_DATA_RUNNER_NOTIFY_FAILURE_INTERNAL_ERROR = 3083;
658
659  // Exception of user consent revoked during notifying failure in GetAdSelectionDataRunner.
660  GET_AD_SELECTION_DATA_RUNNER_NOTIFY_FAILURE_FILTER_EXCEPTION_USER_CONSENT_REVOKED = 3084;
661
662  // Exception of background caller during notifying failure in GetAdSelectionDataRunner.
663  GET_AD_SELECTION_DATA_RUNNER_NOTIFY_FAILURE_FILTER_EXCEPTION_BACKGROUND_CALLER = 3085;
664
665  // Exception of caller not allowed during notifying failure in GetAdSelectionDataRunner.
666  GET_AD_SELECTION_DATA_RUNNER_NOTIFY_FAILURE_FILTER_EXCEPTION_CALLER_NOT_ALLOWED = 3086;
667
668  // Exception of unauthorized during notifying failure in GetAdSelectionDataRunner.
669  GET_AD_SELECTION_DATA_RUNNER_NOTIFY_FAILURE_FILTER_EXCEPTION_UNAUTHORIZED = 3087;
670
671  // Exception of rate limit reached during notifying failure in GetAdSelectionDataRunner.
672  GET_AD_SELECTION_DATA_RUNNER_NOTIFY_FAILURE_FILTER_EXCEPTION_RATE_LIMIT_REACHED = 3088;
673
674  // Exception of internal error during notifying failure in GetAdSelectionDataRunner.
675  GET_AD_SELECTION_DATA_RUNNER_NOTIFY_FAILURE_FILTER_EXCEPTION_INTERNAL_ERROR = 3089;
676
677  // Exception because filter and revoked consent exception in PersistAdSelectionResultRunner.
678  PERSIST_AD_SELECTION_RESULT_RUNNER_REVOKED_CONSENT_FILTER_EXCEPTION = 3090;
679
680  // Exception because AdServices exception in PersistAdSelectionResultRunner.
681  PERSIST_AD_SELECTION_RESULT_RUNNER_ADSERVICES_EXCEPTION = 3091;
682
683  // Exception because PersistAdSelectionResult fails fast.
684  PERSIST_AD_SELECTION_RESULT_RUNNER_FAST_FAILURE = 3092;
685
686  // Error while processing new messages for KAnon in PersistAdSelectionResultRunner.
687  PERSIST_AD_SELECTION_RESULT_RUNNER_PROCESSING_KANON_ERROR = 3093;
688
689  // Error of AuctionResult in PersistAdSelectionResultRunner.
690  PERSIST_AD_SELECTION_RESULT_RUNNER_AUCTION_RESULT_HAS_ERROR = 3094;
691
692  // Error because result is chaff in PersistAdSelectionResultRunner.
693  PERSIST_AD_SELECTION_RESULT_RUNNER_RESULT_IS_CHAFF = 3095;
694
695  // Error because AuctionResult type is unknown in PersistAdSelectionResultRunner.
696  PERSIST_AD_SELECTION_RESULT_RUNNER_AUCTION_RESULT_UNKNOWN = 3096;
697
698  // Error because invalid object of AuctionResult in PersistAdSelectionResultRunner.
699  PERSIST_AD_SELECTION_RESULT_RUNNER_AUCTION_RESULT_INVALID_OBJECT = 3097;
700
701  // Error because undefined ad type in PersistAdSelectionResultRunner.
702  PERSIST_AD_SELECTION_RESULT_RUNNER_UNDEFINED_AD_TYPE = 3098;
703
704  // Error because CA is not found in PersistAdSelectionResultRunner.
705  PERSIST_AD_SELECTION_RESULT_RUNNER_NOT_FOUND_CA = 3099;
706
707  // Error because CA has a null or empty list of ads in PersistAdSelectionResultRunner.
708  PERSIST_AD_SELECTION_RESULT_RUNNER_NULL_OR_EMPTY_ADS_FOR_CA = 3100;
709
710  // Error because winning ad is not found in CA's list of ads in PersistAdSelectionResultRunner.
711  PERSIST_AD_SELECTION_RESULT_RUNNER_NOT_FOUND_WINNING_AD = 3101;
712
713  // Exception because PersistAdSelectionResult timeout.
714  PERSIST_AD_SELECTION_RESULT_RUNNER_TIMEOUT = 3102;
715
716  // Error during parsing AuctionResult proto in PersistAdSelectionResultRunner.
717  PERSIST_AD_SELECTION_RESULT_RUNNER_PARSING_AUCTION_RESULT_INVALID_PROTO_ERROR = 3103;
718
719  // Error encountered updating ad counter histogram with win event
720  // in PersistAdSelectionResultRunner.
721  PERSIST_AD_SELECTION_RESULT_RUNNER_UPDATING_AD_COUNTER_WIN_HISTOGRAM_ERROR = 3104;
722
723  // Error of invalid ad tech URI in PersistAdSelectionResultRunner.
724  PERSIST_AD_SELECTION_RESULT_RUNNER_INVALID_AD_TECH_URI = 3105;
725
726  // Error of invalid interaction URI in PersistAdSelectionResultRunner.
727  PERSIST_AD_SELECTION_RESULT_RUNNER_INVALID_INTERACTION_URI = 3106;
728
729  // Error occurred because interaction key size exceeds the maximum allowed
730  // in PersistAdSelectionResultRunner.
731  PERSIST_AD_SELECTION_RESULT_RUNNER_INTERACTION_KEY_EXCEEDS_MAXIMUM_LIMIT = 3107;
732
733  // Exception because initialization info cannot be found for the given ad selection id
734  // in PersistAdSelectionResultRunner.
735  PERSIST_AD_SELECTION_RESULT_RUNNER_NULL_INITIALIZATION_INFO = 3108;
736
737  // Exception because initialization info in db doesn't match the request
738  // in PersistAdSelectionResultRunner.
739  PERSIST_AD_SELECTION_RESULT_RUNNER_MISMATCH_INITIALIZATION_INFO = 3109;
740
741  // Exception during notifying PersistAdSelectionResultRunner success
742  // in PersistAdSelectionResultRunner.
743  PERSIST_AD_SELECTION_RESULT_RUNNER_NOTIFY_SUCCESS_CALLBACK_ERROR = 3110;
744
745  // Exception during notifying PersistAdSelectionResultRunner empty success
746  // in PersistAdSelectionResultRunner.
747  PERSIST_AD_SELECTION_RESULT_RUNNER_NOTIFY_EMPTY_SUCCESS_CALLBACK_ERROR = 3111;
748
749  // Exception during notifying PersistAdSelectionResultRunner failure
750  // in PersistAdSelectionResultRunner.
751  PERSIST_AD_SELECTION_RESULT_RUNNER_NOTIFY_FAILURE_CALLBACK_ERROR = 3112;
752
753  // Exception of timeout during notifying failure in PersistAdSelectionResultRunner.
754  PERSIST_AD_SELECTION_RESULT_RUNNER_NOTIFY_FAILURE_TIMEOUT = 3113;
755
756  // Exception of JS sandbox unavailable during notifying failure in PersistAdSelectionResultRunner.
757  PERSIST_AD_SELECTION_RESULT_RUNNER_NOTIFY_FAILURE_JS_SANDBOX_UNAVAILABLE = 3114;
758
759  // Exception of invalid argument during notifying failure in PersistAdSelectionResultRunner.
760  PERSIST_AD_SELECTION_RESULT_RUNNER_NOTIFY_FAILURE_INVALID_ARGUMENT = 3115;
761
762  // Exception of internal error during notifying failure in PersistAdSelectionResultRunner.
763  PERSIST_AD_SELECTION_RESULT_RUNNER_NOTIFY_FAILURE_INTERNAL_ERROR = 3116;
764
765  // Exception of user consent revoked during notifying failure in PersistAdSelectionResultRunner.
766  PERSIST_AD_SELECTION_RESULT_RUNNER_NOTIFY_FAILURE_FILTER_EXCEPTION_USER_CONSENT_REVOKED = 3117;
767
768  // Exception of background caller during notifying failure in PersistAdSelectionResultRunner.
769  PERSIST_AD_SELECTION_RESULT_RUNNER_NOTIFY_FAILURE_FILTER_EXCEPTION_BACKGROUND_CALLER = 3118;
770
771  // Exception of caller not allowed during notifying failure in PersistAdSelectionResultRunner.
772  PERSIST_AD_SELECTION_RESULT_RUNNER_NOTIFY_FAILURE_FILTER_EXCEPTION_CALLER_NOT_ALLOWED = 3119;
773
774  // Exception of unauthorized during notifying failure in PersistAdSelectionResultRunner.
775  PERSIST_AD_SELECTION_RESULT_RUNNER_NOTIFY_FAILURE_FILTER_EXCEPTION_UNAUTHORIZED = 3120;
776
777  // Exception of rate limit reached during notifying failure in PersistAdSelectionResultRunner.
778  PERSIST_AD_SELECTION_RESULT_RUNNER_NOTIFY_FAILURE_FILTER_EXCEPTION_RATE_LIMIT_REACHED = 3121;
779
780  // Exception of internal error during notifying failure in PersistAdSelectionResultRunner.
781  PERSIST_AD_SELECTION_RESULT_RUNNER_NOTIFY_FAILURE_FILTER_EXCEPTION_INTERNAL_ERROR = 3122;
782
783  // Exception of decryption invalid key in ObliviousHttpEncryptorImpl.
784  OBLIVIOUS_HTTP_ENCRYPTOR_DECRYPTION_INVALID_KEY_SPEC_EXCEPTION = 3123;
785
786  // Exception of decryption unsupported HPKE algorithm in ObliviousHttpEncryptorImpl.
787  OBLIVIOUS_HTTP_ENCRYPTOR_DECRYPTION_UNSUPPORTED_HPKE_ALGORITHM_EXCEPTION = 3124;
788
789  // Exception of decryption IO error in ObliviousHttpEncryptorImpl.
790  OBLIVIOUS_HTTP_ENCRYPTOR_DECRYPTION_IO_EXCEPTION = 3125;
791
792  // Exception of encryption unsupported HPKE algorithm in ObliviousHttpEncryptorImpl.
793  OBLIVIOUS_HTTP_ENCRYPTOR_ENCRYPTION_UNSUPPORTED_HPKE_ALGORITHM_EXCEPTION = 3126;
794
795  // Exception of encryption IO error in ObliviousHttpEncryptorImpl.
796  OBLIVIOUS_HTTP_ENCRYPTOR_ENCRYPTION_IO_EXCEPTION = 3127;
797
798  // Exception because ad tech not allowed in AuctionResultValidator.
799  AUCTION_RESULT_VALIDATOR_AD_TECH_NOT_ALLOWED = 3128;
800
801  // Exception because URI to fetch active key of type is null in AdSelectionEncryptionKeyManager.
802  AD_SELECTION_ENCRYPTION_KEY_MANAGER_NULL_FETCH_URI = 3129;
803
804  // Exception because Fledge API not available in AdSelectionService.
805  AD_SELECTION_SERVICE_AUCTION_SERVER_API_NOT_AVAILABLE = 3130;
806
807  // Exception while AdSelectionService has a null argument.
808  AD_SELECTION_SERVICE_NULL_ARGUMENT = 3131;
809
810  // Exception because AdSelectionService get illegal calling UID.
811  AD_SELECTION_SERVICE_GET_CALLING_UID_ILLEGAL_STATE = 3132;
812
813  // Exception because no match found, failing calling package name match
814  // in FledgeAuthorizationFilter.
815  FLEDGE_AUTHORIZATION_FILTER_NO_MATCH_PACKAGE_NAME = 3133;
816
817  // Exception because one permission not declared by caller in FledgeAuthorizationFilter.
818  FLEDGE_AUTHORIZATION_FILTER_PERMISSION_FAILURE = 3134;
819
820  // Exception because any permission not declared by caller in FledgeAuthorizationFilter.
821  FLEDGE_AUTHORIZATION_FILTER_ANY_PERMISSION_FAILURE = 3135;
822
823  // Exception because enrollment data match not found for ad tech while
824  // calling FledgeAuthorizationFilter.
825  FLEDGE_AUTHORIZATION_FILTER_ENROLLMENT_DATA_MATCH_NOT_FOUND = 3136;
826
827  // Error occurred because app package name with ad tech identifier not authorized
828  // to call Fledge API.
829  FLEDGE_AUTHORIZATION_FILTER_AD_TECH_NOT_AUTHORIZED_BY_APP = 3137;
830
831  // Error occurred because enrollment is in block list to call Fledge API.
832  FLEDGE_AUTHORIZATION_FILTER_NOT_ALLOWED_ENROLLMENT_BLOCKLISTED = 3138;
833
834  // Exception because user consent for Fledge API is not given.
835  FLEDGE_CONSENT_FILTER_USER_CONSENT_FOR_API_IS_NOT_GIVEN = 3139;
836
837  // Exception because user consent for Fledge API is revoked.
838  FLEDGE_CONSENT_FILTER_CONSENT_REVOKED_FOR_APP = 3140;
839
840  // Exception because of Fledge API missing any notification displayed.
841  FLEDGE_CONSENT_FILTER_MISSING_ANY_NOTIFICATION_DISPLAYED = 3141;
842
843  // Exception because all APIs consent disabled for Fledge API.
844  FLEDGE_CONSENT_FILTER_ALL_APIS_CONSENT_DISABLED = 3142;
845
846  // Error occurred because interaction URI length exceeds the maximum allowed
847  // in PersistAdSelectionResultRunner.
848  PERSIST_AD_SELECTION_RESULT_RUNNER_INTERACTION_URI_EXCEEDS_MAXIMUM_LIMIT = 3143;
849
850  // Error occurred when a revoke consent error is silently handled with notifying an empty success.
851  PERSIST_AD_SELECTION_RESULT_RUNNER_NOTIFY_EMPTY_SUCCESS_SILENT_CONSENT_FAILURE = 3144;
852
853  // Error occurs when a Custom Audience API was called with null parameters.
854  CUSTOM_AUDIENCE_SERVICE_NULL_ARGUMENT = 3145;
855
856  // Error occurs when a Custom Audience API failed to get the UID of the caller app.
857  CUSTOM_AUDIENCE_SERVICE_GET_CALLING_UID_ILLEGAL_STATE = 3146;
858
859  // Error occurs when a Custom Audience API failed to notify success to the caller.
860  CUSTOM_AUDIENCE_SERVICE_NOTIFY_SUCCESS_TO_CALLER_FAILED = 3147;
861
862  // Error occurs when a Custom Audience API failed because of invalid arguments.
863  CUSTOM_AUDIENCE_SERVICE_NOTIFY_FAILURE_INVALID_ARGUMENT = 3148;
864
865  // Error occurs when a Custom Audience API is called by a background caller.
866  CUSTOM_AUDIENCE_SERVICE_NOTIFY_FAILURE_BACKGROUND_CALLER = 3149;
867
868  // Error occurs when a Custom Audience API is called by an unauthorized caller.
869  CUSTOM_AUDIENCE_SERVICE_NOTIFY_FAILURE_UNAUTHORIZED = 3150;
870
871  // Error occurs when a caller of a Custom Audience API is not allowed.
872  CUSTOM_AUDIENCE_SERVICE_NOTIFY_FAILURE_CALLER_NOT_ALLOWED = 3151;
873
874  // Error occurs when a call to a Custom Audience API reached the rate limit.
875  CUSTOM_AUDIENCE_SERVICE_NOTIFY_FAILURE_RATE_LIMIT_REACHED = 3152;
876
877  // Error occurs when a call to Custom Audience API runs into an unexpected error.
878  CUSTOM_AUDIENCE_SERVICE_NOTIFY_FAILURE_INTERNAL_ERROR = 3153;
879
880  // Error occurs when a coming call to a FLEDGE API is throttled.
881  FLEDGE_API_THROTTLE_FILTER_RATE_LIMIT_REACHED = 3154;
882
883  // Error occurs when a caller crossed the user boundary,
884  APP_IMPORTANCE_FILTER_IMPORTANCE_CALLER_NOT_ALLOWED_TO_CROSS_USER_BOUNDARIES = 3155;
885
886  // Error occurs when a caller's importance value is too high.
887  // The higher the importance, the less possible it is from foreground.
888  APP_IMPORTANCE_FILTER_IMPORTANCE_EXCEEDED_THRESHOLD = 3156;
889
890  // Error occurs when the caller package is not in the FLEDGE allow-list.
891  FLEDGE_ALLOW_LISTS_FILTER_PACKAGE_NOT_IN_ALLOW_LIST = 3157;
892
893  // Error occurs when the total  owners of CAs on a device reached max allowed value.
894  CUSTOM_AUDIENCE_QUANTITY_CHECKER_REACHED_MAX_NUMBER_OF_OWNER = 3158;
895
896  // Error occurs when the CA counts on a device reached max allowed value.
897  CUSTOM_AUDIENCE_QUANTITY_CHECKER_REACHED_MAX_NUMBER_OF_TOTAL_CUSTOM_AUDIENCE = 3159;
898
899  // Error occurs when the per owner CA counts on a device reached max allowed value.
900  CUSTOM_AUDIENCE_QUANTITY_CHECKER_REACHED_MAX_NUMBER_OF_CUSTOM_AUDIENCE_PER_OWNER = 3160;
901
902  // Error occurs when fetchCustomAudience is disabled.
903  FETCH_CUSTOM_AUDIENCE_IMPL_DISABLED = 3161;
904
905  // Error occurs when the associated owner-buyer pair is quarantined.
906  FETCH_CUSTOM_AUDIENCE_IMPL_QUARANTINED = 3162;
907
908  // Error occurs when the header of a fetch Custom Audience request is too large.
909  FETCH_CUSTOM_AUDIENCE_IMPL_REQUEST_CUSTOM_HEADER_EXCEEDS_SIZE_LIMIT = 3163;
910
911  // Error occurs when fails to parse the fetch Custom Audience response string as a JSONObject.
912  FETCH_CUSTOM_AUDIENCE_IMPL_INVALID_JSON_RESPONSE = 3164;
913
914  // Error occurs when the fused Custom Audience object is missing field values.
915  FETCH_CUSTOM_AUDIENCE_IMPL_INCOMPLETE_FUSED_CUSTOM_AUDIENCE = 3165;
916
917  // Error occurs when the fused Custom Audience object exceeded max allows byte length.
918  FETCH_CUSTOM_AUDIENCE_IMPL_FUSED_CUSTOM_AUDIENCE_EXCEEDS_SIZE_LIMIT = 3166;
919
920  // Error occurs when the failed to send fetch CA success notification to caller.
921  FETCH_CUSTOM_AUDIENCE_IMPL_UNABLE_TO_SEND_SUCCESSFUL_RESULT_TO_CALLBACK = 3167;
922
923  // Error occurs when the failed to notify fetch CA failure to caller.
924  FETCH_CUSTOM_AUDIENCE_IMPL_UNABLE_TO_SEND_FAILURE_TO_CALLBACK = 3168;
925
926  // Error occurs when the user consent is revoked while fetching CA.
927  FETCH_CUSTOM_AUDIENCE_IMPL_NOTIFY_FAILURE_FILTER_EXCEPTION_USER_CONSENT_REVOKED = 3169;
928
929  // Error occurs when the caller of fetch CA is from background.
930  FETCH_CUSTOM_AUDIENCE_IMPL_NOTIFY_FAILURE_FILTER_EXCEPTION_BACKGROUND_CALLER = 3170;
931
932  // Error occurs when the caller of fetch CA is not allowed.
933  FETCH_CUSTOM_AUDIENCE_IMPL_NOTIFY_FAILURE_FILTER_EXCEPTION_CALLER_NOT_ALLOWED = 3171;
934
935  // Error occurs when the caller of fetch CA is unauthorized.
936  FETCH_CUSTOM_AUDIENCE_IMPL_NOTIFY_FAILURE_FILTER_EXCEPTION_UNAUTHORIZED = 3172;
937
938  // Error occurs when the caller of fetch CA reached the rate limit.
939  FETCH_CUSTOM_AUDIENCE_IMPL_NOTIFY_FAILURE_FILTER_EXCEPTION_RATE_LIMIT_REACHED = 3173;
940
941  // Error occurs when fetch CA call captured invalid arguments.
942  FETCH_CUSTOM_AUDIENCE_IMPL_NOTIFY_FAILURE_ILLEGAL_ARGUMENT_ERROR = 3174;
943
944  // Error occurs when fetch CA call captured invalid  objects.
945  FETCH_CUSTOM_AUDIENCE_IMPL_NOTIFY_FAILURE_INVALID_OBJECT_ERROR = 3175;
946
947  // Error occurs when fetch CA call reached server rate limit.
948  FETCH_CUSTOM_AUDIENCE_IMPL_NOTIFY_FAILURE_SERVER_RATE_LIMIT_REACHED = 3176;
949
950  // Error occurs when fetch CA call captured unexpected error.
951  FETCH_CUSTOM_AUDIENCE_IMPL_NOTIFY_FAILURE_INTERNAL_ERROR = 3177;
952
953  // Error occurs when failed to parse an Ad selection signal string to JSONObject.
954  CUSTOM_AUDIENCE_BLOB_FAILED_PARSING_AD_SELECTION_SIGNALS_STRING_TO_JSON = 3178;
955
956  // Error occurs when failed to initiate an AdSelectionSignals instance from a JSONObject.
957  CUSTOM_AUDIENCE_BLOB_FAILED_INITIATING_AD_SELECTION_SIGNALS_FROM_JSON = 3179;
958
959  // Error occurs when failed to get a string value from a JSONObject.
960  CUSTOM_AUDIENCE_BLOB_FAILED_GETTING_STRING_VALUE_FROM_JSON_BY_KEY = 3180;
961
962  // Error occurs when failed to get a time instant value from a JSONObject.
963  CUSTOM_AUDIENCE_BLOB_FAILED_GETTING_TIME_INSTANT_FROM_JSON_BY_KEY = 3181;
964
965  // Error occurs when failed to initiate a TrustedBiddingData instance fomr JSONObject.
966  CUSTOM_AUDIENCE_BLOB_FAILED_GETTING_TRUSTED_BIDDING_DATA_FROM_JSON = 3182;
967
968  // Error occurs when failed to get a string value from a JSONArray given index.
969  CUSTOM_AUDIENCE_BLOB_FAILED_GETTING_STRING_FROM_JSON_ARRAY = 3183;
970
971  // Error occurs when getting a null value from a JSONArray given index.
972  CUSTOM_AUDIENCE_BLOB_NULL_ARGUMENT = 3184;
973
974  // Error occurs when failed to create a JSONObject from a TrustedBiddingData instance.
975  CUSTOM_AUDIENCE_BLOB_FAILED_GETTING_TRUSTED_BIDDING_DATA_AS_JSON_OBJECT = 3185;
976
977  // Error occurs when failed to create a list of AdData instances from a JSONObject.
978  CUSTOM_AUDIENCE_BLOB_FAILED_GETTING_ADS_FROM_JSON_OBJECT = 3186;
979
980  // Error occurs when failed to get a string valure representing a render URI from a JSONObject given the key.
981  CUSTOM_AUDIENCE_BLOB_FAILED_PARSING_RENDER_URI_IN_ADS_JSON_ARRAY = 3187;
982
983  // Error occurs when Quarantine table maximum has been reached.
984  CUSTOM_AUDIENCE_DAO_QUARANTINE_TABLE_MAX_REACHED = 3188;
985
986  // Error occurs when caught invalid JSON invoking seller script during reporting impression.
987  IMPRESSION_REPORTER_INVALID_JSON_SELLER = 3189;
988
989  // Error occurs when caught invalid JSON invoking buyer script during reporting impression.
990  IMPRESSION_REPORTER_INVALID_JSON_BUYER = 3190;
991
992  // Error occurs when failed to fetch buyer script given a URI.
993  IMPRESSION_REPORTER_ERROR_FETCHING_BUYER_SCRIPT_FROM_URI = 3191;
994
995  // Error occurs when the seller's reporting URI is invalid.
996  IMPRESSION_REPORTER_INVALID_SELLER_REPORTING_URI = 3192;
997
998  // Error occurs when the buyer's reporting URI is invalid.
999  IMPRESSION_REPORTER_INVALID_BUYER_REPORTING_URI = 3193;
1000
1001  // Error occurs when failed to notify success to caller of reportImpression.
1002  IMPRESSION_REPORTER_NOTIFY_SUCCESS_TO_CALLER_FAILED = 3194;
1003
1004  // Error occurs when GET call to a reporting URI failed.
1005  IMPRESSION_REPORTER_HTTP_GET_REPORTING_URL_FAILED = 3195;
1006
1007  // Error occurs when report impression failed due to IO error.
1008  IMPRESSION_REPORTER_FAILED_DUE_TO_IO_ERROR_DURING_REPORTING = 3196;
1009
1010  // Error occurs when report impression failed.
1011  IMPRESSION_REPORTER_FAILED_DURING_REPORTING = 3197;
1012
1013  // Error occurs when the user consent is revoked while reporting impression.
1014  IMPRESSION_REPORTER_NOTIFY_FAILURE_FILTER_EXCEPTION_USER_CONSENT_REVOKED = 3198;
1015
1016  // Error occurs when the caller of reporting impression is from background.
1017  IMPRESSION_REPORTER_NOTIFY_FAILURE_FILTER_EXCEPTION_BACKGROUND_CALLER = 3199;
1018
1019  // Error occurs when the caller of reporting impression is not allowed.
1020  IMPRESSION_REPORTER_NOTIFY_FAILURE_FILTER_EXCEPTION_CALLER_NOT_ALLOWED = 3200;
1021
1022  // Error occurs when the caller of reporting impression is unauthorized.
1023  IMPRESSION_REPORTER_NOTIFY_FAILURE_FILTER_EXCEPTION_UNAUTHORIZED = 3201;
1024
1025  // Error occurs when the caller of reporting impression reached the rate limit.
1026  IMPRESSION_REPORTER_NOTIFY_FAILURE_FILTER_EXCEPTION_RATE_LIMIT_REACHED = 3202;
1027
1028  // Error occurs when reporting impressioncall captured invalid arguments.
1029  IMPRESSION_REPORTER_NOTIFY_FAILURE_INVALID_ARGUMENT = 3203;
1030
1031  // Error occurs when reporting impression call captured unexpected error.
1032  IMPRESSION_REPORTER_NOTIFY_FAILURE_INTERNAL_ERROR = 3204;
1033
1034  // Error occurs when failed to notify failure to caller during reporting impression call.
1035  IMPRESSION_REPORTER_NOTIFY_FAILURE_TO_CALLER_FAILED = 3205;
1036
1037  // Error occurs when the interaction key size exceeded max during reporting impression call.
1038  IMPRESSION_REPORTER_INTERACTION_KEY_SIZE_EXCEEDS_MAX = 3206;
1039
1040  // Error occurs when the reporting URI size exceeded max during reporting impression call.
1041  IMPRESSION_REPORTER_INTERACTION_REPORTING_URI_SIZE_EXCEEDS_MAX = 3207;
1042
1043  // Error occurs when the interaction URI is invalid during reporting impression call.
1044  IMPRESSION_REPORTER_INVALID_INTERACTION_URI = 3208;
1045
1046  // Error occurs when the outcome selection logic is missing fetching seller reporting logic.
1047  JS_FETCHER_SELLER_MISSING_OUTCOME_SELECTION_LOGIC = 3209;
1048
1049  // Error occurs when the outcome selection logic is missing fetching buyer reporting logic.
1050  JS_FETCHER_BUYER_MISSING_OUTCOME_SELECTION_LOGIC = 3210;
1051
1052  // Error occurs when caught invalid JSON invoking seller script during reporting impression using the legacy reporter.
1053  IMPRESSION_REPORTER_LEGACY_INVALID_JSON = 3211;
1054
1055  // Error occurs when failed to fetch buyer script given a URI using the legacy reporter.
1056  IMPRESSION_REPORTER_LEGACY_FETCHING_BUYER_SCRIPT_FAILED = 3212;
1057
1058  // Error occurs when failed to notify success to caller of reportImpression using the legacy reporter.
1059  IMPRESSION_REPORTER_LEGACY_NOTIFY_SUCCESS_TO_CALLER_FAILED = 3213;
1060
1061  // Error occurs when GET call to a reporting URI failed using the legacy reporter.
1062  IMPRESSION_REPORTER_LEGACY_GETTING_REPORTING_URL_FAILED = 3214;
1063
1064  // Error occurs when the seller's reporting URI is invalid using the legacy reporter.
1065  IMPRESSION_REPORTER_LEGACY_INVALID_SELLER_REPORTING_URI = 3215;
1066
1067  // Error occurs when the buyer's reporting URI is invalid using the legacy reporter.
1068  IMPRESSION_REPORTER_LEGACY_INVALID_BUYER_REPORTING_URI = 3216;
1069
1070  // Error occurs when report impression failed due to IO error using the legacy reporter.
1071  IMPRESSION_REPORTER_LEGACY_FAILED_DUE_TO_IO_ERROR = 3217;
1072
1073  // Error occurs when report impression failed using the legacy reporter.
1074  IMPRESSION_REPORTER_LEGACY_FAILED = 3218;
1075
1076  // Error occurs when the user consent is revoked while reporting impression using the legacy reporter.
1077  IMPRESSION_REPORTER_LEGACY_NOTIFY_FAILURE_FILTER_EXCEPTION_USER_CONSENT_REVOKED = 3219;
1078
1079  // Error occurs when the caller of reporting impression is from background using the legacy reporter.
1080  IMPRESSION_REPORTER_LEGACY_NOTIFY_FAILURE_FILTER_EXCEPTION_BACKGROUND_CALLER = 3220;
1081
1082  // Error occurs when the caller of reporting impression is not allowed using the legacy reporter.
1083  IMPRESSION_REPORTER_LEGACY_NOTIFY_FAILURE_FILTER_EXCEPTION_CALLER_NOT_ALLOWED = 3221;
1084
1085  // Error occurs when the caller of reporting impression is unauthorized using the legacy reporter.
1086  IMPRESSION_REPORTER_LEGACY_NOTIFY_FAILURE_FILTER_EXCEPTION_UNAUTHORIZED = 3222;
1087
1088  // Error occurs when the caller of reporting impression reached the rate limit using the legacy reporter.
1089  IMPRESSION_REPORTER_LEGACY_NOTIFY_FAILURE_FILTER_EXCEPTION_RATE_LIMIT_REACHED = 3223;
1090
1091  // Error occurs when reporting impressioncall captured invalid arguments using the legacy reporter.
1092  IMPRESSION_REPORTER_LEGACY_NOTIFY_FAILURE_INVALID_ARGUMENT = 3224;
1093
1094  // Error occurs when reporting impression call captured unexpected error using the legacy reporter.
1095  IMPRESSION_REPORTER_LEGACY_NOTIFY_FAILURE_INTERNAL_ERROR = 3225;
1096
1097  // Error occurs when failed to notify failure to caller during reporting impression call using the legacy reporter.
1098  IMPRESSION_REPORTER_LEGACY_NOTIFY_FAILURE_TO_CALLER_FAILED = 3226;
1099
1100  // Error occurs when caught a malformed URI in https client.
1101  AD_SERVICES_HTTPS_CLIENT_URI_IS_MALFORMED = 3227;
1102
1103  // Error occurs when failed to initiate connection with URL in https client.
1104  AD_SERVICES_HTTPS_CLIENT_OPENING_URL_FAILED = 3228;
1105
1106  // Error occurs when caught a regular error in the response in https client.
1107  AD_SERVICES_HTTPS_CLIENT_HTTP_REQUEST_ERROR = 3229;
1108
1109  // Error occurs when caught a retriable error in the response in https client.
1110  AD_SERVICES_HTTPS_CLIENT_HTTP_REQUEST_RETRIABLE_ERROR = 3230;
1111
1112  // Error occurs when connection timeout reading response in https client.
1113  AD_SERVICES_HTTPS_CLIENT_TIMEOUT_READING_RESPONSE = 3231;
1114
1115  // Error occurs when a null URI is passed to EnrollmentDao.
1116  ENROLLMENT_DAO_URI_INVALID = 3232;
1117
1118  // Error occurs when a null API is passed to EnrollmentDao.
1119  ENROLLMENT_DAO_PRIVACY_API_INVALID = 3233;
1120
1121  // Error occurs when failed to match an enrollment in EnrollmentDao.
1122  ENROLLMENT_DAO_URI_ENROLLMENT_MATCH_FAILED = 3234;
1123
1124  // Error occurs when failed to get FLEDGE enrollment data from DB.
1125  ENROLLMENT_DAO_GET_FLEDGE_ENROLLMENT_DATA_FROM_DB_FAILED = 3235;
1126
1127  // Error occurs when failed to get PAS enrollment data from DB.
1128  ENROLLMENT_DAO_GET_PAS_ENROLLMENT_DATA_FROM_DB_FAILED = 3236;
1129
1130  // Error occurs when got llegal result returned by our calling function during report impression.
1131  REPORT_IMPRESSION_SCRIPT_ENGINE_ILLEGAL_RESULT_RETURNED_BY_CALLING_FUNCTION = 3237;
1132
1133  // Error occurs when report result output has unexpected structure during report impression.
1134  REPORT_IMPRESSION_SCRIPT_ENGINE_UNEXPECTED_RESULT_STRUCTURE = 3238;
1135
1136  // Error occurs when caught JS reference error during report impression.
1137  REPORT_IMPRESSION_SCRIPT_ENGINE_JS_REFERENCE_ERROR = 3239;
1138
1139  // Error occurs when caught other JS error during report impression.
1140  REPORT_IMPRESSION_SCRIPT_ENGINE_JS_OTHER_ERROR = 3240;
1141
1142  // Error occurs when failed to notify success to caller during an event reporting.
1143  EVENT_REPORTER_NOTIFY_SUCCESS_TO_CALLER_FAILED = 3241;
1144
1145  // Error occurs when the user consent is revoked during an event reporting.
1146  EVENT_REPORTER_NOTIFY_FAILURE_FILTER_EXCEPTION_USER_CONSENT_REVOKED = 3242;
1147
1148  // Error occurs when the caller of event reporting is from background.
1149  EVENT_REPORTER_NOTIFY_FAILURE_FILTER_EXCEPTION_BACKGROUND_CALLER = 3243;
1150
1151  // Error occurs when the caller of event reporting is not allowed.
1152  EVENT_REPORTER_NOTIFY_FAILURE_FILTER_EXCEPTION_CALLER_NOT_ALLOWED = 3244;
1153
1154  // Error occurs when the caller of event reporting is unauthorized.
1155  EVENT_REPORTER_NOTIFY_FAILURE_FILTER_EXCEPTION_UNAUTHORIZED = 3245;
1156
1157  // Error occurs when the caller of event reporting reached the rate limit.
1158  EVENT_REPORTER_NOTIFY_FAILURE_FILTER_EXCEPTION_RATE_LIMIT_REACHED = 3246;
1159
1160  // Error occurs when event reporting captured invalid arguments.
1161  EVENT_REPORTER_NOTIFY_FAILURE_INVALID_ARGUMENT = 3247;
1162
1163  // Error occurs when event reporting call captured unexpected error.
1164  EVENT_REPORTER_NOTIFY_FAILURE_INTERNAL_ERROR = 3248;
1165
1166  // Error occurs when failed to notify failure to caller during event reporting.
1167  EVENT_REPORTER_NOTIFY_FAILURE_TO_CALLER_FAILED = 3249;
1168
1169  // Error occurs when failed to register an event during event reporting.
1170  REPORT_AND_REGISTER_EVENT_IMPL_REGISTER_EVENT_FAILED = 3250;
1171
1172  // Error occurs when failed to report and register event due to IO exception.
1173  REPORT_AND_REGISTER_EVENT_IMPL_FAILED_DUE_TO_IO_EXCEPTION = 3251;
1174
1175  // Error occurs when failed to report and register event due to unexpected error.
1176  REPORT_AND_REGISTER_EVENT_IMPL_FAILED_DUE_TO_INTERNAL_ERROR = 3252;
1177
1178  // Error occurs when failed to report and register event due to IO exception using fallback.
1179  REPORT_AND_REGISTER_EVENT_FALLBACK_IMPL_FAILED_DUE_TO_IO_EXCEPTION = 3253;
1180
1181  // Error occurs when failed to report and register event due to unexpected error using fallback.
1182  REPORT_AND_REGISTER_EVENT_FALLBACK_IMPL_FAILED_DUE_TO_INTERNAL_ERROR = 3254;
1183
1184  // Error occurs when failed to report event due to IO exception using fallback.
1185  REPORT_EVENT_IMPL_FAILED_DUE_TO_IO_EXCEPTION = 3255;
1186
1187  // Error occurs when failed to report event due to unexpected error using fallback.
1188  REPORT_EVENT_IMPL_FAILED_DUE_TO_INTERNAL_ERROR = 3256;
1189
1190  // Error occurs when the version in the header of fetch JS response is not a numeric value.
1191  JS_FETCHER_NON_NUMERIC_VERSION_FOR_JS_PAYLOAD = 3257;
1192
1193  // Error occurred when API type is unknown while trying to get enrollment data for an Ad tech.
1194  FLEDGE_AUTHORIZATION_FILTER_INVALID_API_TYPE = 3258;
1195
1196  // Error occurred when failed to fetch enrollment data for an Ad tech.
1197  FLEDGE_AUTHORIZATION_FILTER_ENROLLMENT_NOT_FOUND = 3259;
1198
1199  // Error occurred when an Ad tech from given URI is blocked.
1200  FLEDGE_AUTHORIZATION_FILTER_NOT_ALLOWED_ENROLLMENT_FROM_URI_BLOCKED = 3260;
1201
1202  // Error occurred when the feature of scheduling an CA update is disabled.
1203  SCHEDULE_CUSTOM_AUDIENCE_UPDATE_IMPL_DISABLED = 3261;
1204
1205  // Error occurred when the user consent is revoked when attempting to schedule an CA update.
1206  SCHEDULE_CUSTOM_AUDIENCE_UPDATE_IMPL_USER_CONSENT_REVOKED = 3262;
1207
1208  // Error occurred when failed to filter a schedule CA update request.
1209  SCHEDULE_CUSTOM_AUDIENCE_UPDATE_IMPL_FILTER_EXCEPTION = 3263;
1210
1211  // Error occurred when failed schedule an CA update due to a pending schedule.
1212  CUSTOM_AUDIENCE_DAO_FAILED_DUE_TO_PENDING_SCHEDULE = 3264;
1213
1214  // Error occurred when failed to notify success after scheduled an CA update.
1215  SCHEDULE_CUSTOM_AUDIENCE_UPDATE_IMPL_NOTIFY_SUCCESS_TO_CALLER_FAILED = 3265;
1216
1217  // Error occurred when failed to schedule an CA update because the user consent is revoked.
1218  SCHEDULE_CUSTOM_AUDIENCE_UPDATE_IMPL_NOTIFY_FAILURE_FILTER_EXCEPTION_USER_CONSENT_REVOKED = 3266;
1219
1220  // Error occurred when failed to schedule an CA update because the caller is from background.
1221  SCHEDULE_CUSTOM_AUDIENCE_UPDATE_IMPL_NOTIFY_FAILURE_FILTER_EXCEPTION_BACKGROUND_CALLER = 3267;
1222
1223  // Error occurred when failed to schedule an CA update because the caller package is not allowed.
1224  SCHEDULE_CUSTOM_AUDIENCE_UPDATE_IMPL_NOTIFY_FAILURE_FILTER_EXCEPTION_CALLER_NOT_ALLOWED = 3268;
1225
1226  // Error occurred when failed to schedule an CA update because the caller is not authorized.
1227  SCHEDULE_CUSTOM_AUDIENCE_UPDATE_IMPL_NOTIFY_FAILURE_FILTER_EXCEPTION_UNAUTHORIZED = 3269;
1228
1229  // Error occurred when failed to schedule an CA update because the caller exceeded rate limit.
1230  SCHEDULE_CUSTOM_AUDIENCE_UPDATE_IMPL_NOTIFY_FAILURE_FILTER_EXCEPTION_RATE_LIMIT_REACHED = 3270;
1231
1232  // Error occurred when failed to schedule an CA update because of an invalid object.
1233  SCHEDULE_CUSTOM_AUDIENCE_UPDATE_IMPL_NOTIFY_FAILURE_INVALID_OBJECT = 3271;
1234
1235  // Error occurred when failed to schedule an CA update because request reached server rate limit.
1236  SCHEDULE_CUSTOM_AUDIENCE_UPDATE_IMPL_NOTIFY_FAILURE_SERVER_RATE_LIMIT_REACHED = 3272;
1237
1238  // Error occurred when failed to schedule an CA update because of an invalid argument.
1239  SCHEDULE_CUSTOM_AUDIENCE_UPDATE_IMPL_NOTIFY_FAILURE_INVALID_ARGUMENT = 3273;
1240
1241  // Error occurred when failed to schedule an CA update because of a pending schedule.
1242  SCHEDULE_CUSTOM_AUDIENCE_UPDATE_IMPL_NOTIFY_FAILURE_UPDATE_ALREADY_PENDING_ERROR = 3274;
1243
1244  // Error occurred when failed to schedule an CA update because of an unexpected error.
1245  SCHEDULE_CUSTOM_AUDIENCE_UPDATE_IMPL_NOTIFY_FAILURE_INTERNAL_ERROR = 3275;
1246
1247  // Error occurred when failed to schedule an CA update when fail to notify failure to the caller.
1248  SCHEDULE_CUSTOM_AUDIENCE_UPDATE_IMPL_NOTIFY_FAILURE_TO_CALLER_FAILED = 3276;
1249
1250  // Error during decryption because context was not found in the database.
1251  OBLIVIOUS_HTTP_ENCRYPTOR_CONTEXT_NOT_FOUND = 3277;
1252
1253  // Error during parsing auction result: data compression of given version is not found.
1254  PERSIST_AD_SELECTION_RESULT_PARSING_RESPONSE_DATA_COMPRESSION_NOT_FOUND = 3278;
1255
1256  // Error during parsing auction result: payload extractor  of given version is not found.
1257  PERSIST_AD_SELECTION_RESULT_PARSING_RESPONSE_PAYLOAD_EXTRACTOR_NOT_FOUND = 3279;
1258
1259  // Error during parsing auction result: data size is greater than payload size.
1260  PERSIST_AD_SELECTION_RESULT_PARSING_RESPONSE_DATA_SIZE_GREATER_THAN_PAYLOAD_SIZE = 3280;
1261
1262  // UX errors: 4001-5000
1263  CONSENT_REVOKED_ERROR = 4001;
1264
1265  // Error occurred when failed to get downloaded OTA file URI.
1266  DOWNLOADED_OTA_FILE_ERROR = 4002;
1267
1268  // Exception while trying to add ResourcesProvider.
1269  RESOURCES_PROVIDER_ADD_ERROR = 4003;
1270
1271  // Exception occurred when unable to load MDD file group
1272  LOAD_MDD_FILE_GROUP_FAILURE = 4004;
1273
1274  // Dismiss notification error
1275  DISMISS_NOTIFICATION_FAILURE = 4005;
1276
1277  // Datastore exception while get content
1278  DATASTORE_EXCEPTION_WHILE_GET_CONTENT = 4006;
1279
1280  // Datastore exception while recording notification
1281  DATASTORE_EXCEPTION_WHILE_RECORDING_NOTIFICATION = 4007;
1282
1283  // Datastore exception while recording default consent.
1284  DATASTORE_EXCEPTION_WHILE_RECORDING_DEFAULT_CONSENT = 4008;
1285
1286  // Exception while recording manual consent interaction
1287  DATASTORE_EXCEPTION_WHILE_RECORDING_MANUAL_CONSENT_INTERACTION = 4009;
1288
1289  // Exception while saving privacy sandbox feature.
1290  PRIVACY_SANDBOX_SAVE_FAILURE = 4010;
1291
1292  // Error message indicating invalid consent source of truth.
1293  INVALID_CONSENT_SOURCE_OF_TRUTH = 4011;
1294
1295  // Error message while calling get consent.
1296  ERROR_WHILE_GET_CONSENT = 4012;
1297
1298  // App search consent data migration failure.
1299  APP_SEARCH_DATA_MIGRATION_FAILURE = 4013;
1300
1301  // Adservices entry point failure.
1302  AD_SERVICES_ENTRY_POINT_FAILURE = 4014;
1303
1304  // Used to be MEASUREMENT_FOREGROUND_UNKNOWN_FAILURE but renamed in
1305  // commit 94af8756d2f03ff17924721ee1b7c4a4520377ff
1306  RESERVED_ERROR_CODE_4015 = 4015;
1307
1308  // UX Enum is unsupported
1309  UNSUPPORTED_UX = 4016;
1310
1311  // FederatedCompute errors: 5001-6000
1312  // Datastore exception while deleting a federated task.
1313  DELETE_TASK_FAILURE = 5001;
1314
1315  // Exception while trying to close file descriptor.
1316  FILE_DESCRIPTOR_CLOSE_ERROR = 5002;
1317
1318  // Error message indicating invalid federated job plan type.
1319  CLIENT_PLAN_SPEC_ERROR = 5003;
1320
1321  // Exception when trying to parse protobuf message.
1322  INVALID_PROTOBUF_ERROR = 5004;
1323
1324  // Exception occurred when isolated training process runs.
1325  ISOLATED_TRAINING_PROCESS_ERROR = 5005;
1326
1327  // Exception while trying to iterate data.
1328  ITERATOR_NEXT_FAILURE = 5006;
1329
1330  // Timeout exception while trying to iterate data.
1331  ITERATOR__NEXT_TIMEOUT = 5007;
1332
1333  // Back Compat errors: 6001-7000
1334  // AdExtDataService get failed
1335  GET_ADEXT_DATA_SERVICE_ERROR = 6001;
1336
1337  // AdExtDataService put failed
1338  PUT_ADEXT_DATA_SERVICE_ERROR = 6002;
1339
1340  // Failed to cancel background jobs in back compat init.
1341  BACK_COMPAT_INIT_CANCEL_JOB_FAILURE = 6003;
1342
1343  // Failed to update UI activity enabled setting in back compat init.
1344  BACK_COMPAT_INIT_UPDATE_ACTIVITY_FAILURE = 6004;
1345
1346  // Failed to update service enabled setting in back compat init.
1347  BACK_COMPAT_INIT_UPDATE_SERVICE_FAILURE = 6005;
1348
1349  // Failed to enable package changed receiver in back compat init.
1350  BACK_COMPAT_INIT_ENABLE_RECEIVER_FAILURE = 6006;
1351
1352  // Failed to disable package changed receiver in back compat init.
1353  BACK_COMPAT_INIT_DISABLE_RECEIVER_FAILURE = 6007;
1354
1355  // Failed to run back compat init in boot completed receiver.
1356  BACK_COMPAT_INIT_BOOT_COMPLETED_RECEIVER_FAILURE = 6008;
1357
1358  // IAPC errors: 7001-8000
1359  // AdIdProviderService is not available.
1360  IAPC_AD_ID_PROVIDER_NOT_AVAILABLE = 7001;
1361  // Exception when calling UpdateAdId API in service side.
1362  IAPC_UPDATE_AD_ID_API_ERROR = 7002;
1363
1364  // ODP errors: 8001-9000
1365  // ODP generic error
1366  ON_DEVICE_PERSONALIZATION_ERROR = 8001;
1367
1368  // ODP execute Isolated service error
1369  ISOLATED_SERVICE_EXECUTE_ERROR = 8002;
1370
1371  // ODP download Isolated service error
1372  ISOLATED_SERVICE_DOWNLOAD_ERROR = 8003;
1373
1374  // ODP render Isolated service error
1375  ISOLATED_SERVICE_RENDER_ERROR = 8004;
1376
1377  // ODP web view event Isolated service error
1378  ISOLATED_SERVICE_EVENT_ERROR = 8005;
1379
1380  // ODP training example Isolated service error
1381  ISOLATED_SERVICE_TRAINING_EXAMPLE_ERROR = 8006;
1382
1383  // ODP web trigger Isolated service error
1384  ISOLATED_SERVICE_WEB_TRIGGER_ERROR = 8007;
1385}
1386