导航菜单

页面标题

页面副标题

Fancy Optimizer v4.6.3 - a.java 源代码

正在查看: Fancy Optimizer v4.6.3 应用的 a.java JAVA 源代码文件

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


package com.applovin.exoplayer2.g.b;

import android.os.Parcel;
import android.os.Parcelable;
import androidx.annotation.Nullable;
import com.applovin.exoplayer2.ac;
import com.applovin.exoplayer2.g.a;
import com.applovin.exoplayer2.g.h;
import com.applovin.exoplayer2.l.ai;
import com.applovin.exoplayer2.v;
import java.util.Arrays;

public final class a implements a.InterfaceC0047a {

    public final String f2896a;
    public final String b;

    public final long f2897c;

    public final long f2898d;

    public final byte[] f2899e;

    private int f2900h;

    private static final v f2894f = new v.a().f("application/id3").a();

    private static final v f2895g = new v.a().f("application/x-scte35").a();
    public static final Parcelable.Creator<a> CREATOR = new Parcelable.Creator<a>() {
        @Override
        public a createFromParcel(Parcel parcel) {
            return new a(parcel);
        }

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

    public a(Parcel parcel) {
        this.f2896a = (String) ai.a(parcel.readString());
        this.b = (String) ai.a(parcel.readString());
        this.f2897c = parcel.readLong();
        this.f2898d = parcel.readLong();
        this.f2899e = (byte[]) ai.a(parcel.createByteArray());
    }

    @Override
    @Nullable
    public v a() {
        String str = this.f2896a;
        str.getClass();
        switch (str) {
            case "urn:scte:scte35:2014:bin":
                return f2895g;
            case "https://aomedia.org/emsg/ID3":
            case "https://developer.apple.com/streaming/emsg-id3":
                return f2894f;
            default:
                return null;
        }
    }

    @Override
    @Nullable
    public byte[] b() {
        if (a() != null) {
            return this.f2899e;
        }
        return null;
    }

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

    public boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || a.class != obj.getClass()) {
            return false;
        }
        a aVar = (a) obj;
        return this.f2897c == aVar.f2897c && this.f2898d == aVar.f2898d && ai.a((Object) this.f2896a, (Object) aVar.f2896a) && ai.a((Object) this.b, (Object) aVar.b) && Arrays.equals(this.f2899e, aVar.f2899e);
    }

    public int hashCode() {
        if (this.f2900h == 0) {
            String str = this.f2896a;
            int hashCode = (527 + (str != null ? str.hashCode() : 0)) * 31;
            String str2 = this.b;
            int hashCode2 = str2 != null ? str2.hashCode() : 0;
            long j2 = this.f2897c;
            int i2 = (((hashCode + hashCode2) * 31) + ((int) (j2 ^ (j2 >>> 32)))) * 31;
            long j3 = this.f2898d;
            this.f2900h = Arrays.hashCode(this.f2899e) + ((i2 + ((int) (j3 ^ (j3 >>> 32)))) * 31);
        }
        return this.f2900h;
    }

    public String toString() {
        return "EMSG: scheme=" + this.f2896a + ", id=" + this.f2898d + ", durationMs=" + this.f2897c + ", value=" + this.b;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i2) {
        parcel.writeString(this.f2896a);
        parcel.writeString(this.b);
        parcel.writeLong(this.f2897c);
        parcel.writeLong(this.f2898d);
        parcel.writeByteArray(this.f2899e);
    }

    public a(String str, String str2, long j2, long j3, byte[] bArr) {
        this.f2896a = str;
        this.b = str2;
        this.f2897c = j2;
        this.f2898d = j3;
        this.f2899e = bArr;
    }

    @Override
    public final void a(ac.a aVar) {
        h.b(this, aVar);
    }
}