导航菜单

页面标题

页面副标题

BAM Crawford v6.14.1 - a.java 源代码

正在查看: BAM Crawford v6.14.1 应用的 a.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package eb;

import android.os.Parcel;
import android.os.Parcelable;
import cb.a;
import hc.m0;
import ia.a1;
import java.util.Arrays;

public final class a implements a.b {

    public final String f9166p;

    public final String f9167q;

    public final long f9168r;

    public final long f9169s;

    public final byte[] f9170t;

    private int f9171u;

    private static final a1 f9164v = new a1.b().e0("application/id3").E();

    private static final a1 f9165w = new a1.b().e0("application/x-scte35").E();
    public static final Parcelable.Creator<a> CREATOR = new C0152a();

    class C0152a implements Parcelable.Creator {
        C0152a() {
        }

        @Override
        public a createFromParcel(Parcel parcel) {
            return new a(parcel);
        }

        @Override
        public a[] newArray(int i10) {
            return new a[i10];
        }
    }

    public a(String str, String str2, long j10, long j11, byte[] bArr) {
        this.f9166p = str;
        this.f9167q = str2;
        this.f9168r = j10;
        this.f9169s = j11;
        this.f9170t = bArr;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || a.class != obj.getClass()) {
            return false;
        }
        a aVar = (a) obj;
        return this.f9168r == aVar.f9168r && this.f9169s == aVar.f9169s && m0.c(this.f9166p, aVar.f9166p) && m0.c(this.f9167q, aVar.f9167q) && Arrays.equals(this.f9170t, aVar.f9170t);
    }

    @Override
    public a1 h() {
        String str = this.f9166p;
        str.hashCode();
        switch (str) {
            case "urn:scte:scte35:2014:bin":
                return f9165w;
            case "https://aomedia.org/emsg/ID3":
            case "https://developer.apple.com/streaming/emsg-id3":
                return f9164v;
            default:
                return null;
        }
    }

    public int hashCode() {
        if (this.f9171u == 0) {
            String str = this.f9166p;
            int hashCode = (527 + (str != null ? str.hashCode() : 0)) * 31;
            String str2 = this.f9167q;
            int hashCode2 = str2 != null ? str2.hashCode() : 0;
            long j10 = this.f9168r;
            int i10 = (((hashCode + hashCode2) * 31) + ((int) (j10 ^ (j10 >>> 32)))) * 31;
            long j11 = this.f9169s;
            this.f9171u = ((i10 + ((int) (j11 ^ (j11 >>> 32)))) * 31) + Arrays.hashCode(this.f9170t);
        }
        return this.f9171u;
    }

    public String toString() {
        return "EMSG: scheme=" + this.f9166p + ", id=" + this.f9169s + ", durationMs=" + this.f9168r + ", value=" + this.f9167q;
    }

    @Override
    public byte[] w() {
        if (h() != null) {
            return this.f9170t;
        }
        return null;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i10) {
        parcel.writeString(this.f9166p);
        parcel.writeString(this.f9167q);
        parcel.writeLong(this.f9168r);
        parcel.writeLong(this.f9169s);
        parcel.writeByteArray(this.f9170t);
    }

    a(Parcel parcel) {
        this.f9166p = (String) m0.j(parcel.readString());
        this.f9167q = (String) m0.j(parcel.readString());
        this.f9168r = parcel.readLong();
        this.f9169s = parcel.readLong();
        this.f9170t = (byte[]) m0.j(parcel.createByteArray());
    }
}