1 /* 2 * Copyright (C) 2016 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except 5 * in compliance with the License. You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software distributed under the License 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 11 * or implied. See the License for the specific language governing permissions and limitations under 12 * the License. 13 */ 14 15 package com.android.dialer.logging; 16 17 import android.app.Activity; 18 import android.widget.QuickContactBadge; 19 20 /** Default implementation for logging bindings. */ 21 public class LoggingBindingsStub implements LoggingBindings { 22 23 @Override 24 public void logImpression(DialerImpression.Type dialerImpression) {} 25 26 @Override 27 public void logImpression(int dialerImpression) {} 28 29 @Override 30 public void logCallImpression( 31 DialerImpression.Type dialerImpression, String callId, long callStartTimeMillis) {} 32 33 @Override 34 public void logInteraction(InteractionEvent.Type interaction) {} 35 36 @Override 37 public void logScreenView(ScreenEvent.Type screenEvent, Activity activity) {} 38 39 @Override 40 public void logSpeedDialContactComposition( 41 int counter, 42 int starredContactsCount, 43 int pinnedContactsCount, 44 int multipleNumbersContactsCount, 45 int contactsWithPhotoCount, 46 int contactsWithNameCount, 47 int lightbringerReachableContactsCount) {} 48 49 @Override 50 public void sendHitEventAnalytics(String category, String action, String label, long value) {} 51 52 @Override 53 public void logQuickContactOnTouch( 54 QuickContactBadge quickContact, 55 InteractionEvent.Type interactionEvent, 56 boolean shouldPerformClick) {} 57 58 @Override 59 public void logPeopleApiLookupReportWithError( 60 long latency, int httpResponseCode, PeopleApiLookupError.Type errorType) {} 61 62 @Override 63 public void logSuccessfulPeopleApiLookupReport(long latency, int httpResponseCode) {} 64 } 65