53 lines
1.3 KiB
Smali
53 lines
1.3 KiB
Smali
.class public final Landroidx/core/os/TraceKt;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# direct methods
|
|
.method public static final trace(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Ljava/lang/String;",
|
|
"Lkotlin/jvm/functions/Function0;",
|
|
")TT;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 31
|
|
invoke-static {p0}, Landroid/os/Trace;->beginSection(Ljava/lang/String;)V
|
|
|
|
const/4 p0, 0x1
|
|
|
|
.line 33
|
|
:try_start_0
|
|
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
invoke-static {p0}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
|
|
|
|
.line 35
|
|
invoke-static {}, Landroid/os/Trace;->endSection()V
|
|
|
|
invoke-static {p0}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
|
|
|
|
return-object p1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
invoke-static {p0}, Lkotlin/jvm/internal/InlineMarker;->finallyStart(I)V
|
|
|
|
invoke-static {}, Landroid/os/Trace;->endSection()V
|
|
|
|
invoke-static {p0}, Lkotlin/jvm/internal/InlineMarker;->finallyEnd(I)V
|
|
|
|
throw p1
|
|
.end method
|