导航菜单

页面标题

页面副标题

Housing v14.7.8 - a.java 源代码

正在查看: Housing v14.7.8 应用的 a.java JAVA 源代码文件

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


package f3;

import androidx.annotation.VisibleForTesting;
import androidx.media3.common.Format;
import androidx.media3.common.p;
import androidx.media3.common.q;
import androidx.media3.common.util.UnstableApi;
import java.util.Arrays;
import java.util.Objects;

@UnstableApi
public final class a implements p.a {
    private static final Format ID3_FORMAT;

    @VisibleForTesting
    public static final String ID3_SCHEME_ID_AOM = "https://aomedia.org/emsg/ID3";
    private static final String ID3_SCHEME_ID_APPLE = "https://developer.apple.com/streaming/emsg-id3";
    private static final Format SCTE35_FORMAT;

    @VisibleForTesting
    public static final String SCTE35_SCHEME_ID = "urn:scte:scte35:2014:bin";
    public final long durationMs;
    private int hashCode;
    public final long id;
    public final byte[] messageData;
    public final String schemeIdUri;
    public final String value;

    static {
        Format.a aVar = new Format.a();
        aVar.u0(q.APPLICATION_ID3);
        ID3_FORMAT = new Format(aVar);
        Format.a aVar2 = new Format.a();
        aVar2.u0(q.APPLICATION_SCTE35);
        SCTE35_FORMAT = new Format(aVar2);
    }

    public a(String str, String str2, long j5, long j6, byte[] bArr) {
        this.schemeIdUri = str;
        this.value = str2;
        this.durationMs = j5;
        this.id = j6;
        this.messageData = bArr;
    }

    @Override
    public final Format a() {
        String str = this.schemeIdUri;
        str.getClass();
        switch (str) {
            case "urn:scte:scte35:2014:bin":
                return SCTE35_FORMAT;
            case "https://aomedia.org/emsg/ID3":
            case "https://developer.apple.com/streaming/emsg-id3":
                return ID3_FORMAT;
            default:
                return null;
        }
    }

    @Override
    public final byte[] c() {
        if (a() != null) {
            return this.messageData;
        }
        return null;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj != null && a.class == obj.getClass()) {
            a aVar = (a) obj;
            if (this.durationMs == aVar.durationMs && this.id == aVar.id && Objects.equals(this.schemeIdUri, aVar.schemeIdUri) && Objects.equals(this.value, aVar.value) && Arrays.equals(this.messageData, aVar.messageData)) {
                return true;
            }
        }
        return false;
    }

    public final int hashCode() {
        if (this.hashCode == 0) {
            String str = this.schemeIdUri;
            int hashCode = (527 + (str != null ? str.hashCode() : 0)) * 31;
            String str2 = this.value;
            int hashCode2 = str2 != null ? str2.hashCode() : 0;
            long j5 = this.durationMs;
            int i5 = (((hashCode + hashCode2) * 31) + ((int) (j5 ^ (j5 >>> 32)))) * 31;
            long j6 = this.id;
            this.hashCode = Arrays.hashCode(this.messageData) + ((i5 + ((int) (j6 ^ (j6 >>> 32)))) * 31);
        }
        return this.hashCode;
    }

    public final String toString() {
        return "EMSG: scheme=" + this.schemeIdUri + ", id=" + this.id + ", durationMs=" + this.durationMs + ", value=" + this.value;
    }
}