1 /* 2 * Copyright (C) 2024 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.stats; 18 19 public class ReportImpressionExecutionLoggerNoLoggingImpl 20 implements ReportImpressionExecutionLogger { 21 22 /** No logging impl does nothing. */ 23 @Override setReportWinBuyerAdditionalSignalsContainedAdCost( boolean reportWinBuyerAdditionalSignalsContainedAdCost)24 public void setReportWinBuyerAdditionalSignalsContainedAdCost( 25 boolean reportWinBuyerAdditionalSignalsContainedAdCost) { 26 // do nothing 27 } 28 29 /** No logging impl does nothing. */ 30 @Override setReportWinBuyerAdditionalSignalsContainedDataVersion( boolean reportWinBuyerAdditionalSignalsContainedDataVersion)31 public void setReportWinBuyerAdditionalSignalsContainedDataVersion( 32 boolean reportWinBuyerAdditionalSignalsContainedDataVersion) { 33 // do nothing 34 } 35 36 /** No logging impl does nothing. */ 37 @Override setReportResultSellerAdditionalSignalsContainedDataVersion( boolean reportResultSellerAdditionalSignalsContainedDataVersion)38 public void setReportResultSellerAdditionalSignalsContainedDataVersion( 39 boolean reportResultSellerAdditionalSignalsContainedDataVersion) { 40 // do nothing 41 } 42 43 /** No logging impl does nothing. */ 44 @Override setReportWinJsScriptResultCode(int reportWinJsScriptResultCode)45 public void setReportWinJsScriptResultCode(int reportWinJsScriptResultCode) { 46 // do nothing 47 } 48 49 /** No logging impl does nothing. */ 50 @Override setReportResultJsScriptResultCode(int reportResultJsScriptResultCode)51 public void setReportResultJsScriptResultCode(int reportResultJsScriptResultCode) { 52 // do nothing 53 } 54 55 /** No logging impl does nothing. */ 56 @Override logReportImpressionApiCalledStats()57 public void logReportImpressionApiCalledStats() { 58 // do nothing 59 } 60 } 61