mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
54 lines
1.3 KiB
Smali
54 lines
1.3 KiB
Smali
.class Lorg/webrtc/PeerConnectionFactory$ThreadInfo;
|
|
.super Ljava/lang/Object;
|
|
.source "PeerConnectionFactory.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lorg/webrtc/PeerConnectionFactory;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0xa
|
|
name = "ThreadInfo"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final thread:Ljava/lang/Thread;
|
|
|
|
.field final tid:I
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>(Ljava/lang/Thread;I)V
|
|
.locals 0
|
|
|
|
.line 42
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lorg/webrtc/PeerConnectionFactory$ThreadInfo;->thread:Ljava/lang/Thread;
|
|
|
|
iput p2, p0, Lorg/webrtc/PeerConnectionFactory$ThreadInfo;->tid:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static getCurrent()Lorg/webrtc/PeerConnectionFactory$ThreadInfo;
|
|
.locals 3
|
|
|
|
.line 39
|
|
new-instance v0, Lorg/webrtc/PeerConnectionFactory$ThreadInfo;
|
|
|
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {}, Landroid/os/Process;->myTid()I
|
|
|
|
move-result v2
|
|
|
|
invoke-direct {v0, v1, v2}, Lorg/webrtc/PeerConnectionFactory$ThreadInfo;-><init>(Ljava/lang/Thread;I)V
|
|
|
|
return-object v0
|
|
.end method
|