mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
84 lines
1.7 KiB
Smali
84 lines
1.7 KiB
Smali
|
.class public Lorg/webrtc/Metrics;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "Metrics.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/MemberClasses;
|
||
|
value = {
|
||
|
Lorg/webrtc/Metrics$HistogramInfo;
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field private static final TAG:Ljava/lang/String; = "Metrics"
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final map:Ljava/util/Map;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Ljava/util/Map<",
|
||
|
"Ljava/lang/String;",
|
||
|
"Lorg/webrtc/Metrics$HistogramInfo;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>()V
|
||
|
.locals 1
|
||
|
|
||
|
.line 38
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
.line 34
|
||
|
new-instance v0, Ljava/util/HashMap;
|
||
|
|
||
|
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
|
||
|
|
||
|
iput-object v0, p0, Lorg/webrtc/Metrics;->map:Ljava/util/Map;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method private add(Ljava/lang/String;Lorg/webrtc/Metrics$HistogramInfo;)V
|
||
|
.locals 0
|
||
|
|
||
|
iget-object p0, p0, Lorg/webrtc/Metrics;->map:Ljava/util/Map;
|
||
|
|
||
|
.line 65
|
||
|
invoke-interface {p0, p1, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static enable()V
|
||
|
.locals 0
|
||
|
|
||
|
.line 71
|
||
|
invoke-static {}, Lorg/webrtc/Metrics;->nativeEnable()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static getAndReset()Lorg/webrtc/Metrics;
|
||
|
.locals 1
|
||
|
|
||
|
.line 76
|
||
|
invoke-static {}, Lorg/webrtc/Metrics;->nativeGetAndReset()Lorg/webrtc/Metrics;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method private static native nativeEnable()V
|
||
|
.end method
|
||
|
|
||
|
.method private static native nativeGetAndReset()Lorg/webrtc/Metrics;
|
||
|
.end method
|