| // Copyright 2014 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| package org.chromium.base; |
| |
| import org.chromium.base.annotations.CalledByNative; |
| import org.chromium.base.annotations.JNINamespace; |
| |
| /** |
| * A simple interface to Android's EventLog to be used by native code. |
| */ |
| @JNINamespace("base::android") |
| public class EventLog { |
| |
| @CalledByNative |
| public static void writeEvent(int tag, int value) { |
| android.util.EventLog.writeEvent(tag, value); |
| } |
| } |