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.cobalt; 17 18 /** 19 * This class contains constants that are used both by Cobalt classes and PhFlags (which in turn is 20 * used by tests), it cannot contain any external dependency (otherwise it would break the test 21 * project - we want to keep it simple). 22 */ 23 public final class CobaltConstants { 24 25 /** The default API key. */ 26 public static final String DEFAULT_API_KEY = "cobalt-default-api-key"; 27 28 /** 29 * The default release stage is GA to ensure the low privacy reports aren't collected if a 30 * release stage isn't set. 31 */ 32 public static final String DEFAULT_RELEASE_STAGE = "GA"; 33 CobaltConstants()34 private CobaltConstants() { 35 throw new UnsupportedOperationException("Contains only constants"); 36 } 37 } 38