Home | History | Annotate | Download | only in logging
      1 /*
      2  * Copyright (C) 2015 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.dialer.logging;
     18 
     19 /**
     20  * Class holding constants for Dialer interactions
     21  */
     22 public class InteractionEvent {
     23 
     24     public static final int UNKNOWN = 0;
     25 
     26     /**
     27      * An incoming call was blocked
     28      */
     29     public static final int CALL_BLOCKED = 15;
     30 
     31     /**
     32      * The user blocked a number from the Call Log screen
     33      */
     34     public static final int BLOCK_NUMBER_CALL_LOG = 16;
     35 
     36     /**
     37      * The user blocked a number from the Call details screen
     38      */
     39     public static final int BLOCK_NUMBER_CALL_DETAIL = 17;
     40 
     41     /**
     42      * The user blocked a number from the Management screen
     43      */
     44     public static final int BLOCK_NUMBER_MANAGEMENT_SCREEN = 18;
     45 
     46     /**
     47      * The user unblocked a number from the Call Log screen
     48      */
     49     public static final int UNBLOCK_NUMBER_CALL_LOG = 19;
     50 
     51     /**
     52      * The user unblocked a number from the Call details screen
     53      */
     54     public static final int UNBLOCK_NUMBER_CALL_DETAIL = 20;
     55 
     56     /**
     57      * The user unblocked a number from the Management screen
     58      */
     59     public static final int UNBLOCK_NUMBER_MANAGEMENT_SCREEN = 21;
     60 
     61     /**
     62      * The user blocked numbers from contacts marked as send to voicemail
     63      */
     64     public static final int IMPORT_SEND_TO_VOICEMAIL = 22;
     65 
     66     /**
     67      * The user blocked a number then undid the block
     68      */
     69     public static final int UNDO_BLOCK_NUMBER = 23;
     70 
     71     /**
     72      * The user unblocked a number then undid the unblock
     73      */
     74     public static final int UNDO_UNBLOCK_NUMBER = 24;
     75 
     76 }
     77