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 17 package com.android.adservices.service.ui.constants; 18 19 /** UX debug messages. */ 20 public class DebugMessages { 21 22 public static String UNAUTHORIZED_CALLER_MESSAGE = 23 "Caller is not authorized to control AdServices state"; 24 25 public static String IS_AD_SERVICES_ENABLED_API_CALLED_MESSAGE = 26 "isAdServicesEnabled() API is called."; 27 28 public static String SET_AD_SERVICES_ENABLED_API_CALLED_MESSAGE = 29 "setAdServicesEnabled() API is called."; 30 31 public static String ENABLE_AD_SERVICES_API_CALLED_MESSAGE = 32 "enableAdServices() API is called."; 33 34 public static String BACK_COMPAT_FEATURE_ENABLED_MESSAGE = 35 "Back compatibility feature is enabled."; 36 37 public static String ENABLE_AD_SERVICES_API_ENABLED_MESSAGE = 38 "enableAdServices() API is enabled."; 39 40 public static String ENABLE_AD_SERVICES_API_DISABLED_MESSAGE = 41 "enableAdServices() API is disabled."; 42 43 public static String PRIVACY_SANDBOX_UI_REQUEST_MESSAGE = 44 "PS UI request was received and enrollment will not be triggered."; 45 46 public static String NO_ENROLLMENT_CHANNEL_AVAILABLE_MESSAGE = 47 "No enrollment channel available"; 48 49 public static String CALLER_NOT_ALLOWED_MESSAGE = 50 "Caller is not authorized in the allowed list"; 51 } 52