Rabbit-R1/switch port/smali/smali_classes3/org/webrtc/JniHelper.smali
2024-05-21 17:08:36 -04:00

71 lines
1.4 KiB
Smali

.class Lorg/webrtc/JniHelper;
.super Ljava/lang/Object;
.source "JniHelper.java"
# direct methods
.method constructor <init>()V
.locals 0
.line 20
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method static getKey(Ljava/util/Map$Entry;)Ljava/lang/Object;
.locals 0
.line 40
invoke-interface {p0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method static getStringBytes(Ljava/lang/String;)[B
.locals 1
:try_start_0
const-string v0, "ISO-8859-1"
.line 25
invoke-virtual {p0, v0}, Ljava/lang/String;->getBytes(Ljava/lang/String;)[B
move-result-object p0
:try_end_0
.catch Ljava/io/UnsupportedEncodingException; {:try_start_0 .. :try_end_0} :catch_0
return-object p0
.line 27
:catch_0
new-instance p0, Ljava/lang/RuntimeException;
const-string v0, "ISO-8859-1 is unsupported"
invoke-direct {p0, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method static getStringClass()Ljava/lang/Object;
.locals 1
.line 34
const-class v0, Ljava/lang/String;
return-object v0
.end method
.method static getValue(Ljava/util/Map$Entry;)Ljava/lang/Object;
.locals 0
.line 46
invoke-interface {p0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object p0
return-object p0
.end method