48 lines
1.2 KiB
Java
48 lines
1.2 KiB
Java
package o;
|
|
|
|
import android.os.Build;
|
|
import android.os.Trace;
|
|
import java.lang.reflect.Method;
|
|
|
|
@Deprecated
|
|
/* loaded from: classes.dex */
|
|
public final class Lfp {
|
|
private static Method a;
|
|
private static Method b;
|
|
private static Method c;
|
|
private static Method d;
|
|
private static long e;
|
|
|
|
static {
|
|
if (Build.VERSION.SDK_INT < 29) {
|
|
try {
|
|
e = Trace.class.getField("TRACE_TAG_APP").getLong(null);
|
|
c = Trace.class.getMethod("isTagEnabled", Long.TYPE);
|
|
d = Trace.class.getMethod("asyncTraceBegin", Long.TYPE, String.class, Integer.TYPE);
|
|
b = Trace.class.getMethod("asyncTraceEnd", Long.TYPE, String.class, Integer.TYPE);
|
|
a = Trace.class.getMethod("traceCounter", Long.TYPE, String.class, Integer.TYPE);
|
|
} catch (Exception unused) {
|
|
}
|
|
}
|
|
}
|
|
|
|
public static void b(String str) {
|
|
HBt.c(str);
|
|
}
|
|
|
|
public static void c() {
|
|
HBt.d();
|
|
}
|
|
|
|
/* loaded from: classes.dex */
|
|
static class HBt {
|
|
static void c(String str) {
|
|
Trace.beginSection(str);
|
|
}
|
|
|
|
static void d() {
|
|
Trace.endSection();
|
|
}
|
|
}
|
|
}
|