89 lines
2 KiB
Smali
89 lines
2 KiB
Smali
|
.class public Lorg/webrtc/NetworkMonitorAutoDetect$NetworkState;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "NetworkMonitorAutoDetect.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lorg/webrtc/NetworkMonitorAutoDetect;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x9
|
||
|
name = "NetworkState"
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final connected:Z
|
||
|
|
||
|
.field public final subtype:I
|
||
|
|
||
|
.field public final type:I
|
||
|
|
||
|
.field public final underlyingNetworkSubtypeForVpn:I
|
||
|
|
||
|
.field public final underlyingNetworkTypeForVpn:I
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(ZIIII)V
|
||
|
.locals 0
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
iput-boolean p1, p0, Lorg/webrtc/NetworkMonitorAutoDetect$NetworkState;->connected:Z
|
||
|
|
||
|
iput p2, p0, Lorg/webrtc/NetworkMonitorAutoDetect$NetworkState;->type:I
|
||
|
|
||
|
iput p3, p0, Lorg/webrtc/NetworkMonitorAutoDetect$NetworkState;->subtype:I
|
||
|
|
||
|
iput p4, p0, Lorg/webrtc/NetworkMonitorAutoDetect$NetworkState;->underlyingNetworkTypeForVpn:I
|
||
|
|
||
|
iput p5, p0, Lorg/webrtc/NetworkMonitorAutoDetect$NetworkState;->underlyingNetworkSubtypeForVpn:I
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public getNetworkSubType()I
|
||
|
.locals 1
|
||
|
|
||
|
iget v0, p0, Lorg/webrtc/NetworkMonitorAutoDetect$NetworkState;->subtype:I
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public getNetworkType()I
|
||
|
.locals 1
|
||
|
|
||
|
iget v0, p0, Lorg/webrtc/NetworkMonitorAutoDetect$NetworkState;->type:I
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public getUnderlyingNetworkSubtypeForVpn()I
|
||
|
.locals 1
|
||
|
|
||
|
iget v0, p0, Lorg/webrtc/NetworkMonitorAutoDetect$NetworkState;->underlyingNetworkSubtypeForVpn:I
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public getUnderlyingNetworkTypeForVpn()I
|
||
|
.locals 1
|
||
|
|
||
|
iget v0, p0, Lorg/webrtc/NetworkMonitorAutoDetect$NetworkState;->underlyingNetworkTypeForVpn:I
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public isConnected()Z
|
||
|
.locals 1
|
||
|
|
||
|
iget-boolean v0, p0, Lorg/webrtc/NetworkMonitorAutoDetect$NetworkState;->connected:Z
|
||
|
|
||
|
return v0
|
||
|
.end method
|