1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 package org.chromium.base;
6 
7 import org.chromium.base.annotations.CalledByNative;
8 import org.chromium.base.annotations.JNINamespace;
9 
10 /**
11  * A simple interface to Android's EventLog to be used by native code.
12  */
13 @JNINamespace("base::android")
14 public class EventLog {
15 
16     @CalledByNative
writeEvent(int tag, int value)17     public static void writeEvent(int tag, int value) {
18         android.util.EventLog.writeEvent(tag, value);
19     }
20 }
21