83 lines
1.8 KiB
Smali
83 lines
1.8 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 public 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 public constructor <init>()V
|
||
|
.locals 1
|
||
|
.annotation build Lorg/webrtc/CalledByNative;
|
||
|
.end annotation
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
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 1
|
||
|
.annotation build Lorg/webrtc/CalledByNative;
|
||
|
.end annotation
|
||
|
|
||
|
iget-object v0, p0, Lorg/webrtc/Metrics;->map:Ljava/util/Map;
|
||
|
|
||
|
invoke-interface {v0, 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
|
||
|
|
||
|
invoke-static {}, Lorg/webrtc/Metrics;->nativeEnable()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static getAndReset()Lorg/webrtc/Metrics;
|
||
|
.locals 1
|
||
|
|
||
|
invoke-static {}, Lorg/webrtc/Metrics;->nativeGetAndReset()Lorg/webrtc/Metrics;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static native nativeEnable()V
|
||
|
.end method
|
||
|
|
||
|
.method public static native nativeGetAndReset()Lorg/webrtc/Metrics;
|
||
|
.end method
|