.class public Lorg/webrtc/VideoCodecInfo; .super Ljava/lang/Object; .source "VideoCodecInfo.java" # static fields .field public static final H264_CONSTRAINED_BASELINE_3_1:Ljava/lang/String; = "42e01f" .field public static final H264_CONSTRAINED_HIGH_3_1:Ljava/lang/String; = "640c1f" .field public static final H264_FMTP_LEVEL_ASYMMETRY_ALLOWED:Ljava/lang/String; = "level-asymmetry-allowed" .field public static final H264_FMTP_PACKETIZATION_MODE:Ljava/lang/String; = "packetization-mode" .field public static final H264_FMTP_PROFILE_LEVEL_ID:Ljava/lang/String; = "profile-level-id" .field public static final H264_LEVEL_3_1:Ljava/lang/String; = "1f" .field public static final H264_PROFILE_CONSTRAINED_BASELINE:Ljava/lang/String; = "42e0" .field public static final H264_PROFILE_CONSTRAINED_HIGH:Ljava/lang/String; = "640c" # instance fields .field public final name:Ljava/lang/String; .field public final params:Ljava/util/Map; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/Map<", "Ljava/lang/String;", "Ljava/lang/String;", ">;" } .end annotation .end field .field public final payload:I .annotation runtime Ljava/lang/Deprecated; .end annotation .end field # direct methods .method public constructor (ILjava/lang/String;Ljava/util/Map;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(I", "Ljava/lang/String;", "Ljava/util/Map<", "Ljava/lang/String;", "Ljava/lang/String;", ">;)V" } .end annotation .annotation runtime Ljava/lang/Deprecated; .end annotation .line 47 invoke-direct {p0}, Ljava/lang/Object;->()V iput p1, p0, Lorg/webrtc/VideoCodecInfo;->payload:I iput-object p2, p0, Lorg/webrtc/VideoCodecInfo;->name:Ljava/lang/String; iput-object p3, p0, Lorg/webrtc/VideoCodecInfo;->params:Ljava/util/Map; return-void .end method .method public constructor (Ljava/lang/String;Ljava/util/Map;)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/String;", "Ljava/util/Map<", "Ljava/lang/String;", "Ljava/lang/String;", ">;)V" } .end annotation .line 40 invoke-direct {p0}, Ljava/lang/Object;->()V const/4 v0, 0x0 iput v0, p0, Lorg/webrtc/VideoCodecInfo;->payload:I iput-object p1, p0, Lorg/webrtc/VideoCodecInfo;->name:Ljava/lang/String; iput-object p2, p0, Lorg/webrtc/VideoCodecInfo;->params:Ljava/util/Map; return-void .end method # virtual methods .method public equals(Ljava/lang/Object;)Z .locals 4 const/4 v0, 0x0 if-nez p1, :cond_0 return v0 :cond_0 const/4 v1, 0x1 if-ne p1, p0, :cond_1 return v1 .line 59 :cond_1 instance-of v2, p1, Lorg/webrtc/VideoCodecInfo; if-nez v2, :cond_2 return v0 .line 62 :cond_2 check-cast p1, Lorg/webrtc/VideoCodecInfo; iget-object v2, p0, Lorg/webrtc/VideoCodecInfo;->name:Ljava/lang/String; .line 63 iget-object v3, p1, Lorg/webrtc/VideoCodecInfo;->name:Ljava/lang/String; invoke-virtual {v2, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z move-result v2 if-eqz v2, :cond_3 iget-object p0, p0, Lorg/webrtc/VideoCodecInfo;->params:Ljava/util/Map; iget-object p1, p1, Lorg/webrtc/VideoCodecInfo;->params:Ljava/util/Map; invoke-interface {p0, p1}, Ljava/util/Map;->equals(Ljava/lang/Object;)Z move-result p0 if-eqz p0, :cond_3 move v0, v1 :cond_3 return v0 .end method .method getName()Ljava/lang/String; .locals 0 iget-object p0, p0, Lorg/webrtc/VideoCodecInfo;->name:Ljava/lang/String; return-object p0 .end method .method getParams()Ljava/util/Map; .locals 0 iget-object p0, p0, Lorg/webrtc/VideoCodecInfo;->params:Ljava/util/Map; return-object p0 .end method .method public hashCode()I .locals 2 iget-object v0, p0, Lorg/webrtc/VideoCodecInfo;->name:Ljava/lang/String; .line 68 sget-object v1, Ljava/util/Locale;->ROOT:Ljava/util/Locale; invoke-virtual {v0, v1}, Ljava/lang/String;->toUpperCase(Ljava/util/Locale;)Ljava/lang/String; move-result-object v0 iget-object p0, p0, Lorg/webrtc/VideoCodecInfo;->params:Ljava/util/Map; filled-new-array {v0, p0}, [Ljava/lang/Object; move-result-object p0 .line 69 invoke-static {p0}, Ljava/util/Arrays;->hashCode([Ljava/lang/Object;)I move-result p0 return p0 .end method .method public toString()Ljava/lang/String; .locals 2 .line 74 new-instance v0, Ljava/lang/StringBuilder; const-string v1, "VideoCodec{" invoke-direct {v0, v1}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V iget-object v1, p0, Lorg/webrtc/VideoCodecInfo;->name:Ljava/lang/String; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 const-string v1, " " invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 iget-object p0, p0, Lorg/webrtc/VideoCodecInfo;->params:Ljava/util/Map; invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; move-result-object p0 const-string v0, "}" invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 return-object p0 .end method