Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
package com.google.android.exoplayer2;
/* loaded from: classes2.dex */
public interface Bundleable$Creator {
}

View File

@@ -0,0 +1,12 @@
package com.google.android.exoplayer2;
import java.util.UUID;
/* loaded from: classes2.dex */
public abstract class C {
public static final UUID UUID_NIL = new UUID(0, 0);
public static final UUID COMMON_PSSH_UUID = new UUID(1186680826959645954L, -5988876978535335093L);
public static final UUID CLEARKEY_UUID = new UUID(-2129748144642739255L, 8654423357094679310L);
public static final UUID WIDEVINE_UUID = new UUID(-1301668207276963122L, -6645017420763422227L);
public static final UUID PLAYREADY_UUID = new UUID(-7348484286925749626L, -6083546864340672619L);
}

View File

@@ -0,0 +1,5 @@
package com.google.android.exoplayer2;
/* loaded from: classes2.dex */
public interface ControlDispatcher {
}

View File

@@ -0,0 +1,8 @@
package com.google.android.exoplayer2;
/* loaded from: classes2.dex */
public class DefaultControlDispatcher implements ControlDispatcher {
public final long fastForwardIncrementMs = com.mbridge.msdk.playercommon.exoplayer2.C.TIME_UNSET;
public final long rewindIncrementMs = com.mbridge.msdk.playercommon.exoplayer2.C.TIME_UNSET;
public final boolean rewindAndFastForwardIncrementsSet = false;
}

View File

@@ -0,0 +1,36 @@
package com.google.android.exoplayer2;
import android.os.Build;
import java.util.HashSet;
/* loaded from: classes2.dex */
public abstract class ExoPlayerLibraryInfo {
public static final String DEFAULT_USER_AGENT;
public static final HashSet registeredModules;
public static String registeredModulesString;
static {
String str = Build.VERSION.RELEASE;
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 57);
sb.append("ExoPlayerLib/2.15.1 (Linux; Android ");
sb.append(str);
sb.append(") ");
sb.append("ExoPlayerLib/2.15.1");
DEFAULT_USER_AGENT = sb.toString();
registeredModules = new HashSet();
registeredModulesString = "goog.exo.core";
}
public static synchronized void registerModule(String str) {
synchronized (ExoPlayerLibraryInfo.class) {
if (registeredModules.add(str)) {
String str2 = registeredModulesString;
StringBuilder sb = new StringBuilder(String.valueOf(str2).length() + 2 + String.valueOf(str).length());
sb.append(str2);
sb.append(", ");
sb.append(str);
registeredModulesString = sb.toString();
}
}
}
}

View File

@@ -0,0 +1,324 @@
package com.google.android.exoplayer2;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.drm.DrmInitData;
import com.google.android.exoplayer2.drm.UnsupportedMediaCrypto;
import com.google.android.exoplayer2.metadata.Metadata;
import com.google.android.exoplayer2.util.Assertions;
import com.google.android.exoplayer2.util.Util;
import com.google.android.exoplayer2.video.ColorInfo;
import com.ironsource.mediationsdk.logger.IronSourceError;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
/* loaded from: classes2.dex */
public final class Format implements Parcelable {
public static final Parcelable.Creator<Format> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.Format.1
@Override // android.os.Parcelable.Creator
public Format createFromParcel(Parcel parcel) {
return new Format(parcel);
}
@Override // android.os.Parcelable.Creator
public Format[] newArray(int i) {
return new Format[i];
}
};
public final int accessibilityChannel;
public final int averageBitrate;
public final int bitrate;
public final int channelCount;
public final String codecs;
public final ColorInfo colorInfo;
public final String containerMimeType;
public final DrmInitData drmInitData;
public final int encoderDelay;
public final int encoderPadding;
public final Class exoMediaCryptoType;
public final float frameRate;
public int hashCode;
public final int height;
public final String id;
public final List initializationData;
public final String label;
public final String language;
public final int maxInputSize;
public final Metadata metadata;
public final int pcmEncoding;
public final int peakBitrate;
public final float pixelWidthHeightRatio;
public final byte[] projectionData;
public final int roleFlags;
public final int rotationDegrees;
public final String sampleMimeType;
public final int sampleRate;
public final int selectionFlags;
public final int stereoMode;
public final long subsampleOffsetUs;
public final int width;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public static final class Builder {
public String codecs;
public ColorInfo colorInfo;
public String containerMimeType;
public DrmInitData drmInitData;
public int encoderDelay;
public int encoderPadding;
public Class exoMediaCryptoType;
public String id;
public List initializationData;
public String label;
public String language;
public Metadata metadata;
public byte[] projectionData;
public int roleFlags;
public int rotationDegrees;
public String sampleMimeType;
public int selectionFlags;
public int averageBitrate = -1;
public int peakBitrate = -1;
public int maxInputSize = -1;
public long subsampleOffsetUs = Long.MAX_VALUE;
public int width = -1;
public int height = -1;
public float frameRate = -1.0f;
public float pixelWidthHeightRatio = 1.0f;
public int stereoMode = -1;
public int channelCount = -1;
public int sampleRate = -1;
public int pcmEncoding = -1;
public int accessibilityChannel = -1;
public Builder setSampleMimeType(String str) {
this.sampleMimeType = str;
return this;
}
public Format build() {
return new Format(this);
}
}
public Format(Builder builder) {
this.id = builder.id;
this.label = builder.label;
this.language = Util.normalizeLanguageCode(builder.language);
this.selectionFlags = builder.selectionFlags;
this.roleFlags = builder.roleFlags;
int i = builder.averageBitrate;
this.averageBitrate = i;
int i2 = builder.peakBitrate;
this.peakBitrate = i2;
this.bitrate = i2 != -1 ? i2 : i;
this.codecs = builder.codecs;
this.metadata = builder.metadata;
this.containerMimeType = builder.containerMimeType;
this.sampleMimeType = builder.sampleMimeType;
this.maxInputSize = builder.maxInputSize;
this.initializationData = builder.initializationData == null ? Collections.emptyList() : builder.initializationData;
DrmInitData drmInitData = builder.drmInitData;
this.drmInitData = drmInitData;
this.subsampleOffsetUs = builder.subsampleOffsetUs;
this.width = builder.width;
this.height = builder.height;
this.frameRate = builder.frameRate;
this.rotationDegrees = builder.rotationDegrees == -1 ? 0 : builder.rotationDegrees;
this.pixelWidthHeightRatio = builder.pixelWidthHeightRatio == -1.0f ? 1.0f : builder.pixelWidthHeightRatio;
this.projectionData = builder.projectionData;
this.stereoMode = builder.stereoMode;
this.colorInfo = builder.colorInfo;
this.channelCount = builder.channelCount;
this.sampleRate = builder.sampleRate;
this.pcmEncoding = builder.pcmEncoding;
this.encoderDelay = builder.encoderDelay == -1 ? 0 : builder.encoderDelay;
this.encoderPadding = builder.encoderPadding != -1 ? builder.encoderPadding : 0;
this.accessibilityChannel = builder.accessibilityChannel;
if (builder.exoMediaCryptoType != null || drmInitData == null) {
this.exoMediaCryptoType = builder.exoMediaCryptoType;
} else {
this.exoMediaCryptoType = UnsupportedMediaCrypto.class;
}
}
public Format(Parcel parcel) {
this.id = parcel.readString();
this.label = parcel.readString();
this.language = parcel.readString();
this.selectionFlags = parcel.readInt();
this.roleFlags = parcel.readInt();
int readInt = parcel.readInt();
this.averageBitrate = readInt;
int readInt2 = parcel.readInt();
this.peakBitrate = readInt2;
this.bitrate = readInt2 != -1 ? readInt2 : readInt;
this.codecs = parcel.readString();
this.metadata = (Metadata) parcel.readParcelable(Metadata.class.getClassLoader());
this.containerMimeType = parcel.readString();
this.sampleMimeType = parcel.readString();
this.maxInputSize = parcel.readInt();
int readInt3 = parcel.readInt();
this.initializationData = new ArrayList(readInt3);
for (int i = 0; i < readInt3; i++) {
this.initializationData.add((byte[]) Assertions.checkNotNull(parcel.createByteArray()));
}
DrmInitData drmInitData = (DrmInitData) parcel.readParcelable(DrmInitData.class.getClassLoader());
this.drmInitData = drmInitData;
this.subsampleOffsetUs = parcel.readLong();
this.width = parcel.readInt();
this.height = parcel.readInt();
this.frameRate = parcel.readFloat();
this.rotationDegrees = parcel.readInt();
this.pixelWidthHeightRatio = parcel.readFloat();
this.projectionData = Util.readBoolean(parcel) ? parcel.createByteArray() : null;
this.stereoMode = parcel.readInt();
this.colorInfo = (ColorInfo) parcel.readParcelable(ColorInfo.class.getClassLoader());
this.channelCount = parcel.readInt();
this.sampleRate = parcel.readInt();
this.pcmEncoding = parcel.readInt();
this.encoderDelay = parcel.readInt();
this.encoderPadding = parcel.readInt();
this.accessibilityChannel = parcel.readInt();
this.exoMediaCryptoType = drmInitData != null ? UnsupportedMediaCrypto.class : null;
}
public String toString() {
String str = this.id;
String str2 = this.label;
String str3 = this.containerMimeType;
String str4 = this.sampleMimeType;
String str5 = this.codecs;
int i = this.bitrate;
String str6 = this.language;
int i2 = this.width;
int i3 = this.height;
float f = this.frameRate;
int i4 = this.channelCount;
int i5 = this.sampleRate;
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 104 + String.valueOf(str2).length() + String.valueOf(str3).length() + String.valueOf(str4).length() + String.valueOf(str5).length() + String.valueOf(str6).length());
sb.append("Format(");
sb.append(str);
sb.append(", ");
sb.append(str2);
sb.append(", ");
sb.append(str3);
sb.append(", ");
sb.append(str4);
sb.append(", ");
sb.append(str5);
sb.append(", ");
sb.append(i);
sb.append(", ");
sb.append(str6);
sb.append(", [");
sb.append(i2);
sb.append(", ");
sb.append(i3);
sb.append(", ");
sb.append(f);
sb.append("], [");
sb.append(i4);
sb.append(", ");
sb.append(i5);
sb.append("])");
return sb.toString();
}
public int hashCode() {
if (this.hashCode == 0) {
String str = this.id;
int hashCode = (IronSourceError.ERROR_NON_EXISTENT_INSTANCE + (str == null ? 0 : str.hashCode())) * 31;
String str2 = this.label;
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
String str3 = this.language;
int hashCode3 = (((((((((hashCode2 + (str3 == null ? 0 : str3.hashCode())) * 31) + this.selectionFlags) * 31) + this.roleFlags) * 31) + this.averageBitrate) * 31) + this.peakBitrate) * 31;
String str4 = this.codecs;
int hashCode4 = (hashCode3 + (str4 == null ? 0 : str4.hashCode())) * 31;
Metadata metadata = this.metadata;
int hashCode5 = (hashCode4 + (metadata == null ? 0 : metadata.hashCode())) * 31;
String str5 = this.containerMimeType;
int hashCode6 = (hashCode5 + (str5 == null ? 0 : str5.hashCode())) * 31;
String str6 = this.sampleMimeType;
int hashCode7 = (((((((((((((((((((((((((((((hashCode6 + (str6 == null ? 0 : str6.hashCode())) * 31) + this.maxInputSize) * 31) + ((int) this.subsampleOffsetUs)) * 31) + this.width) * 31) + this.height) * 31) + Float.floatToIntBits(this.frameRate)) * 31) + this.rotationDegrees) * 31) + Float.floatToIntBits(this.pixelWidthHeightRatio)) * 31) + this.stereoMode) * 31) + this.channelCount) * 31) + this.sampleRate) * 31) + this.pcmEncoding) * 31) + this.encoderDelay) * 31) + this.encoderPadding) * 31) + this.accessibilityChannel) * 31;
Class cls = this.exoMediaCryptoType;
this.hashCode = hashCode7 + (cls != null ? cls.hashCode() : 0);
}
return this.hashCode;
}
public boolean equals(Object obj) {
int i;
if (this == obj) {
return true;
}
if (obj == null || Format.class != obj.getClass()) {
return false;
}
Format format = (Format) obj;
int i2 = this.hashCode;
if (i2 == 0 || (i = format.hashCode) == 0 || i2 == i) {
return this.selectionFlags == format.selectionFlags && this.roleFlags == format.roleFlags && this.averageBitrate == format.averageBitrate && this.peakBitrate == format.peakBitrate && this.maxInputSize == format.maxInputSize && this.subsampleOffsetUs == format.subsampleOffsetUs && this.width == format.width && this.height == format.height && this.rotationDegrees == format.rotationDegrees && this.stereoMode == format.stereoMode && this.channelCount == format.channelCount && this.sampleRate == format.sampleRate && this.pcmEncoding == format.pcmEncoding && this.encoderDelay == format.encoderDelay && this.encoderPadding == format.encoderPadding && this.accessibilityChannel == format.accessibilityChannel && Float.compare(this.frameRate, format.frameRate) == 0 && Float.compare(this.pixelWidthHeightRatio, format.pixelWidthHeightRatio) == 0 && Util.areEqual(this.exoMediaCryptoType, format.exoMediaCryptoType) && Util.areEqual(this.id, format.id) && Util.areEqual(this.label, format.label) && Util.areEqual(this.codecs, format.codecs) && Util.areEqual(this.containerMimeType, format.containerMimeType) && Util.areEqual(this.sampleMimeType, format.sampleMimeType) && Util.areEqual(this.language, format.language) && Arrays.equals(this.projectionData, format.projectionData) && Util.areEqual(this.metadata, format.metadata) && Util.areEqual(this.colorInfo, format.colorInfo) && Util.areEqual(this.drmInitData, format.drmInitData) && initializationDataEquals(format);
}
return false;
}
public boolean initializationDataEquals(Format format) {
if (this.initializationData.size() != format.initializationData.size()) {
return false;
}
for (int i = 0; i < this.initializationData.size(); i++) {
if (!Arrays.equals((byte[]) this.initializationData.get(i), (byte[]) format.initializationData.get(i))) {
return false;
}
}
return true;
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeString(this.id);
parcel.writeString(this.label);
parcel.writeString(this.language);
parcel.writeInt(this.selectionFlags);
parcel.writeInt(this.roleFlags);
parcel.writeInt(this.averageBitrate);
parcel.writeInt(this.peakBitrate);
parcel.writeString(this.codecs);
parcel.writeParcelable(this.metadata, 0);
parcel.writeString(this.containerMimeType);
parcel.writeString(this.sampleMimeType);
parcel.writeInt(this.maxInputSize);
int size = this.initializationData.size();
parcel.writeInt(size);
for (int i2 = 0; i2 < size; i2++) {
parcel.writeByteArray((byte[]) this.initializationData.get(i2));
}
parcel.writeParcelable(this.drmInitData, 0);
parcel.writeLong(this.subsampleOffsetUs);
parcel.writeInt(this.width);
parcel.writeInt(this.height);
parcel.writeFloat(this.frameRate);
parcel.writeInt(this.rotationDegrees);
parcel.writeFloat(this.pixelWidthHeightRatio);
Util.writeBoolean(parcel, this.projectionData != null);
byte[] bArr = this.projectionData;
if (bArr != null) {
parcel.writeByteArray(bArr);
}
parcel.writeInt(this.stereoMode);
parcel.writeParcelable(this.colorInfo, i);
parcel.writeInt(this.channelCount);
parcel.writeInt(this.sampleRate);
parcel.writeInt(this.pcmEncoding);
parcel.writeInt(this.encoderDelay);
parcel.writeInt(this.encoderPadding);
parcel.writeInt(this.accessibilityChannel);
}
}

View File

@@ -0,0 +1,5 @@
package com.google.android.exoplayer2;
/* loaded from: classes2.dex */
public final /* synthetic */ class MediaItem$$ExternalSyntheticLambda0 implements Bundleable$Creator {
}

View File

@@ -0,0 +1,304 @@
package com.google.android.exoplayer2;
import android.net.Uri;
import com.google.android.exoplayer2.util.Assertions;
import com.google.android.exoplayer2.util.Util;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.UUID;
/* loaded from: classes2.dex */
public final class MediaItem {
public final ClippingProperties clippingProperties;
public final LiveConfiguration liveConfiguration;
public final String mediaId;
public final MediaMetadata mediaMetadata;
public final PlaybackProperties playbackProperties;
public static final MediaItem EMPTY = new Builder().build();
public static final Bundleable$Creator CREATOR = new MediaItem$$ExternalSyntheticLambda0();
public static final class Builder {
public Uri adTagUri;
public Object adsId;
public boolean clipRelativeToDefaultPosition;
public boolean clipRelativeToLiveWindow;
public long clipStartPositionMs;
public boolean clipStartsAtKeyFrame;
public String customCacheKey;
public boolean drmForceDefaultLicenseUri;
public byte[] drmKeySetId;
public Uri drmLicenseUri;
public boolean drmMultiSession;
public boolean drmPlayClearContentWithoutKey;
public UUID drmUuid;
public String mediaId;
public MediaMetadata mediaMetadata;
public String mimeType;
public Object tag;
public Uri uri;
public long clipEndPositionMs = Long.MIN_VALUE;
public List drmSessionForClearTypes = Collections.emptyList();
public Map drmLicenseRequestHeaders = Collections.emptyMap();
public List streamKeys = Collections.emptyList();
public List subtitles = Collections.emptyList();
public long liveTargetOffsetMs = com.mbridge.msdk.playercommon.exoplayer2.C.TIME_UNSET;
public long liveMinOffsetMs = com.mbridge.msdk.playercommon.exoplayer2.C.TIME_UNSET;
public long liveMaxOffsetMs = com.mbridge.msdk.playercommon.exoplayer2.C.TIME_UNSET;
public float liveMinPlaybackSpeed = -3.4028235E38f;
public float liveMaxPlaybackSpeed = -3.4028235E38f;
public Builder setUri(Uri uri) {
this.uri = uri;
return this;
}
public Builder setMediaId(String str) {
this.mediaId = (String) Assertions.checkNotNull(str);
return this;
}
public MediaItem build() {
PlaybackProperties playbackProperties;
Assertions.checkState(this.drmLicenseUri == null || this.drmUuid != null);
Uri uri = this.uri;
if (uri != null) {
String str = this.mimeType;
UUID uuid = this.drmUuid;
DrmConfiguration drmConfiguration = uuid != null ? new DrmConfiguration(uuid, this.drmLicenseUri, this.drmLicenseRequestHeaders, this.drmMultiSession, this.drmForceDefaultLicenseUri, this.drmPlayClearContentWithoutKey, this.drmSessionForClearTypes, this.drmKeySetId) : null;
Uri uri2 = this.adTagUri;
playbackProperties = new PlaybackProperties(uri, str, drmConfiguration, uri2 != null ? new AdsConfiguration(uri2, this.adsId) : null, this.streamKeys, this.customCacheKey, this.subtitles, this.tag);
} else {
playbackProperties = null;
}
String str2 = this.mediaId;
if (str2 == null) {
str2 = "";
}
String str3 = str2;
ClippingProperties clippingProperties = new ClippingProperties(this.clipStartPositionMs, this.clipEndPositionMs, this.clipRelativeToLiveWindow, this.clipRelativeToDefaultPosition, this.clipStartsAtKeyFrame);
LiveConfiguration liveConfiguration = new LiveConfiguration(this.liveTargetOffsetMs, this.liveMinOffsetMs, this.liveMaxOffsetMs, this.liveMinPlaybackSpeed, this.liveMaxPlaybackSpeed);
MediaMetadata mediaMetadata = this.mediaMetadata;
if (mediaMetadata == null) {
mediaMetadata = MediaMetadata.EMPTY;
}
return new MediaItem(str3, clippingProperties, playbackProperties, liveConfiguration, mediaMetadata);
}
}
public static final class DrmConfiguration {
public final boolean forceDefaultLicenseUri;
public final byte[] keySetId;
public final Uri licenseUri;
public final boolean multiSession;
public final boolean playClearContentWithoutKey;
public final Map requestHeaders;
public final List sessionForClearTypes;
public final UUID uuid;
public DrmConfiguration(UUID uuid, Uri uri, Map map, boolean z, boolean z2, boolean z3, List list, byte[] bArr) {
Assertions.checkArgument((z2 && uri == null) ? false : true);
this.uuid = uuid;
this.licenseUri = uri;
this.requestHeaders = map;
this.multiSession = z;
this.forceDefaultLicenseUri = z2;
this.playClearContentWithoutKey = z3;
this.sessionForClearTypes = list;
this.keySetId = bArr != null ? Arrays.copyOf(bArr, bArr.length) : null;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof DrmConfiguration)) {
return false;
}
DrmConfiguration drmConfiguration = (DrmConfiguration) obj;
return this.uuid.equals(drmConfiguration.uuid) && Util.areEqual(this.licenseUri, drmConfiguration.licenseUri) && Util.areEqual(this.requestHeaders, drmConfiguration.requestHeaders) && this.multiSession == drmConfiguration.multiSession && this.forceDefaultLicenseUri == drmConfiguration.forceDefaultLicenseUri && this.playClearContentWithoutKey == drmConfiguration.playClearContentWithoutKey && this.sessionForClearTypes.equals(drmConfiguration.sessionForClearTypes) && Arrays.equals(this.keySetId, drmConfiguration.keySetId);
}
public int hashCode() {
int hashCode = this.uuid.hashCode() * 31;
Uri uri = this.licenseUri;
return ((((((((((((hashCode + (uri != null ? uri.hashCode() : 0)) * 31) + this.requestHeaders.hashCode()) * 31) + (this.multiSession ? 1 : 0)) * 31) + (this.forceDefaultLicenseUri ? 1 : 0)) * 31) + (this.playClearContentWithoutKey ? 1 : 0)) * 31) + this.sessionForClearTypes.hashCode()) * 31) + Arrays.hashCode(this.keySetId);
}
}
public static final class AdsConfiguration {
public final Uri adTagUri;
public final Object adsId;
public AdsConfiguration(Uri uri, Object obj) {
this.adTagUri = uri;
this.adsId = obj;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof AdsConfiguration)) {
return false;
}
AdsConfiguration adsConfiguration = (AdsConfiguration) obj;
return this.adTagUri.equals(adsConfiguration.adTagUri) && Util.areEqual(this.adsId, adsConfiguration.adsId);
}
public int hashCode() {
int hashCode = this.adTagUri.hashCode() * 31;
Object obj = this.adsId;
return hashCode + (obj != null ? obj.hashCode() : 0);
}
}
public static final class PlaybackProperties {
public final AdsConfiguration adsConfiguration;
public final String customCacheKey;
public final DrmConfiguration drmConfiguration;
public final String mimeType;
public final List streamKeys;
public final List subtitles;
public final Object tag;
public final Uri uri;
public PlaybackProperties(Uri uri, String str, DrmConfiguration drmConfiguration, AdsConfiguration adsConfiguration, List list, String str2, List list2, Object obj) {
this.uri = uri;
this.mimeType = str;
this.drmConfiguration = drmConfiguration;
this.adsConfiguration = adsConfiguration;
this.streamKeys = list;
this.customCacheKey = str2;
this.subtitles = list2;
this.tag = obj;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof PlaybackProperties)) {
return false;
}
PlaybackProperties playbackProperties = (PlaybackProperties) obj;
return this.uri.equals(playbackProperties.uri) && Util.areEqual(this.mimeType, playbackProperties.mimeType) && Util.areEqual(this.drmConfiguration, playbackProperties.drmConfiguration) && Util.areEqual(this.adsConfiguration, playbackProperties.adsConfiguration) && this.streamKeys.equals(playbackProperties.streamKeys) && Util.areEqual(this.customCacheKey, playbackProperties.customCacheKey) && this.subtitles.equals(playbackProperties.subtitles) && Util.areEqual(this.tag, playbackProperties.tag);
}
public int hashCode() {
int hashCode = this.uri.hashCode() * 31;
String str = this.mimeType;
int hashCode2 = (hashCode + (str == null ? 0 : str.hashCode())) * 31;
DrmConfiguration drmConfiguration = this.drmConfiguration;
int hashCode3 = (hashCode2 + (drmConfiguration == null ? 0 : drmConfiguration.hashCode())) * 31;
AdsConfiguration adsConfiguration = this.adsConfiguration;
int hashCode4 = (((hashCode3 + (adsConfiguration == null ? 0 : adsConfiguration.hashCode())) * 31) + this.streamKeys.hashCode()) * 31;
String str2 = this.customCacheKey;
int hashCode5 = (((hashCode4 + (str2 == null ? 0 : str2.hashCode())) * 31) + this.subtitles.hashCode()) * 31;
Object obj = this.tag;
return hashCode5 + (obj != null ? obj.hashCode() : 0);
}
}
public static final class LiveConfiguration {
public final long maxOffsetMs;
public final float maxPlaybackSpeed;
public final long minOffsetMs;
public final float minPlaybackSpeed;
public final long targetOffsetMs;
public static final LiveConfiguration UNSET = new LiveConfiguration(com.mbridge.msdk.playercommon.exoplayer2.C.TIME_UNSET, com.mbridge.msdk.playercommon.exoplayer2.C.TIME_UNSET, com.mbridge.msdk.playercommon.exoplayer2.C.TIME_UNSET, -3.4028235E38f, -3.4028235E38f);
public static final Bundleable$Creator CREATOR = new MediaItem$$ExternalSyntheticLambda0();
public LiveConfiguration(long j, long j2, long j3, float f, float f2) {
this.targetOffsetMs = j;
this.minOffsetMs = j2;
this.maxOffsetMs = j3;
this.minPlaybackSpeed = f;
this.maxPlaybackSpeed = f2;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof LiveConfiguration)) {
return false;
}
LiveConfiguration liveConfiguration = (LiveConfiguration) obj;
return this.targetOffsetMs == liveConfiguration.targetOffsetMs && this.minOffsetMs == liveConfiguration.minOffsetMs && this.maxOffsetMs == liveConfiguration.maxOffsetMs && this.minPlaybackSpeed == liveConfiguration.minPlaybackSpeed && this.maxPlaybackSpeed == liveConfiguration.maxPlaybackSpeed;
}
public int hashCode() {
long j = this.targetOffsetMs;
long j2 = this.minOffsetMs;
int i = ((((int) (j ^ (j >>> 32))) * 31) + ((int) (j2 ^ (j2 >>> 32)))) * 31;
long j3 = this.maxOffsetMs;
int i2 = (i + ((int) ((j3 >>> 32) ^ j3))) * 31;
float f = this.minPlaybackSpeed;
int floatToIntBits = (i2 + (f != 0.0f ? Float.floatToIntBits(f) : 0)) * 31;
float f2 = this.maxPlaybackSpeed;
return floatToIntBits + (f2 != 0.0f ? Float.floatToIntBits(f2) : 0);
}
}
public static final class ClippingProperties {
public static final Bundleable$Creator CREATOR = new MediaItem$$ExternalSyntheticLambda0();
public final long endPositionMs;
public final boolean relativeToDefaultPosition;
public final boolean relativeToLiveWindow;
public final long startPositionMs;
public final boolean startsAtKeyFrame;
public int hashCode() {
long j = this.startPositionMs;
int i = ((int) (j ^ (j >>> 32))) * 31;
long j2 = this.endPositionMs;
return ((((((i + ((int) ((j2 >>> 32) ^ j2))) * 31) + (this.relativeToLiveWindow ? 1 : 0)) * 31) + (this.relativeToDefaultPosition ? 1 : 0)) * 31) + (this.startsAtKeyFrame ? 1 : 0);
}
public ClippingProperties(long j, long j2, boolean z, boolean z2, boolean z3) {
this.startPositionMs = j;
this.endPositionMs = j2;
this.relativeToLiveWindow = z;
this.relativeToDefaultPosition = z2;
this.startsAtKeyFrame = z3;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof ClippingProperties)) {
return false;
}
ClippingProperties clippingProperties = (ClippingProperties) obj;
return this.startPositionMs == clippingProperties.startPositionMs && this.endPositionMs == clippingProperties.endPositionMs && this.relativeToLiveWindow == clippingProperties.relativeToLiveWindow && this.relativeToDefaultPosition == clippingProperties.relativeToDefaultPosition && this.startsAtKeyFrame == clippingProperties.startsAtKeyFrame;
}
}
public MediaItem(String str, ClippingProperties clippingProperties, PlaybackProperties playbackProperties, LiveConfiguration liveConfiguration, MediaMetadata mediaMetadata) {
this.mediaId = str;
this.playbackProperties = playbackProperties;
this.liveConfiguration = liveConfiguration;
this.mediaMetadata = mediaMetadata;
this.clippingProperties = clippingProperties;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof MediaItem)) {
return false;
}
MediaItem mediaItem = (MediaItem) obj;
return Util.areEqual(this.mediaId, mediaItem.mediaId) && this.clippingProperties.equals(mediaItem.clippingProperties) && Util.areEqual(this.playbackProperties, mediaItem.playbackProperties) && Util.areEqual(this.liveConfiguration, mediaItem.liveConfiguration) && Util.areEqual(this.mediaMetadata, mediaItem.mediaMetadata);
}
public int hashCode() {
int hashCode = this.mediaId.hashCode() * 31;
PlaybackProperties playbackProperties = this.playbackProperties;
return ((((((hashCode + (playbackProperties != null ? playbackProperties.hashCode() : 0)) * 31) + this.liveConfiguration.hashCode()) * 31) + this.clippingProperties.hashCode()) * 31) + this.mediaMetadata.hashCode();
}
}

View File

@@ -0,0 +1,139 @@
package com.google.android.exoplayer2;
import android.net.Uri;
import android.os.Bundle;
import com.google.android.exoplayer2.util.Util;
import com.google.common.base.Objects;
import java.util.Arrays;
/* loaded from: classes2.dex */
public final class MediaMetadata {
public final CharSequence albumArtist;
public final CharSequence albumTitle;
public final CharSequence artist;
public final byte[] artworkData;
public final Integer artworkDataType;
public final Uri artworkUri;
public final CharSequence compilation;
public final CharSequence composer;
public final CharSequence conductor;
public final CharSequence description;
public final Integer discNumber;
public final CharSequence displayTitle;
public final Bundle extras;
public final Integer folderType;
public final CharSequence genre;
public final Boolean isPlayable;
public final Uri mediaUri;
public final Integer recordingDay;
public final Integer recordingMonth;
public final Integer recordingYear;
public final Integer releaseDay;
public final Integer releaseMonth;
public final Integer releaseYear;
public final CharSequence subtitle;
public final CharSequence title;
public final Integer totalDiscCount;
public final Integer totalTrackCount;
public final Integer trackNumber;
public final CharSequence writer;
public final Integer year;
public static final MediaMetadata EMPTY = new Builder().build();
public static final Bundleable$Creator CREATOR = new MediaItem$$ExternalSyntheticLambda0();
public static final class Builder {
public CharSequence albumArtist;
public CharSequence albumTitle;
public CharSequence artist;
public byte[] artworkData;
public Integer artworkDataType;
public Uri artworkUri;
public CharSequence compilation;
public CharSequence composer;
public CharSequence conductor;
public CharSequence description;
public Integer discNumber;
public CharSequence displayTitle;
public Bundle extras;
public Integer folderType;
public CharSequence genre;
public Boolean isPlayable;
public Uri mediaUri;
public Integer recordingDay;
public Integer recordingMonth;
public Integer recordingYear;
public Integer releaseDay;
public Integer releaseMonth;
public Integer releaseYear;
public CharSequence subtitle;
public CharSequence title;
public Integer totalDiscCount;
public Integer totalTrackCount;
public Integer trackNumber;
public CharSequence writer;
public static /* synthetic */ Rating access$1000(Builder builder) {
builder.getClass();
return null;
}
public static /* synthetic */ Rating access$900(Builder builder) {
builder.getClass();
return null;
}
public MediaMetadata build() {
return new MediaMetadata(this);
}
}
public MediaMetadata(Builder builder) {
this.title = builder.title;
this.artist = builder.artist;
this.albumTitle = builder.albumTitle;
this.albumArtist = builder.albumArtist;
this.displayTitle = builder.displayTitle;
this.subtitle = builder.subtitle;
this.description = builder.description;
this.mediaUri = builder.mediaUri;
Builder.access$900(builder);
Builder.access$1000(builder);
this.artworkData = builder.artworkData;
this.artworkDataType = builder.artworkDataType;
this.artworkUri = builder.artworkUri;
this.trackNumber = builder.trackNumber;
this.totalTrackCount = builder.totalTrackCount;
this.folderType = builder.folderType;
this.isPlayable = builder.isPlayable;
this.year = builder.recordingYear;
this.recordingYear = builder.recordingYear;
this.recordingMonth = builder.recordingMonth;
this.recordingDay = builder.recordingDay;
this.releaseYear = builder.releaseYear;
this.releaseMonth = builder.releaseMonth;
this.releaseDay = builder.releaseDay;
this.writer = builder.writer;
this.composer = builder.composer;
this.conductor = builder.conductor;
this.discNumber = builder.discNumber;
this.totalDiscCount = builder.totalDiscCount;
this.genre = builder.genre;
this.compilation = builder.compilation;
this.extras = builder.extras;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || MediaMetadata.class != obj.getClass()) {
return false;
}
MediaMetadata mediaMetadata = (MediaMetadata) obj;
return Util.areEqual(this.title, mediaMetadata.title) && Util.areEqual(this.artist, mediaMetadata.artist) && Util.areEqual(this.albumTitle, mediaMetadata.albumTitle) && Util.areEqual(this.albumArtist, mediaMetadata.albumArtist) && Util.areEqual(this.displayTitle, mediaMetadata.displayTitle) && Util.areEqual(this.subtitle, mediaMetadata.subtitle) && Util.areEqual(this.description, mediaMetadata.description) && Util.areEqual(this.mediaUri, mediaMetadata.mediaUri) && Util.areEqual(null, null) && Util.areEqual(null, null) && Arrays.equals(this.artworkData, mediaMetadata.artworkData) && Util.areEqual(this.artworkDataType, mediaMetadata.artworkDataType) && Util.areEqual(this.artworkUri, mediaMetadata.artworkUri) && Util.areEqual(this.trackNumber, mediaMetadata.trackNumber) && Util.areEqual(this.totalTrackCount, mediaMetadata.totalTrackCount) && Util.areEqual(this.folderType, mediaMetadata.folderType) && Util.areEqual(this.isPlayable, mediaMetadata.isPlayable) && Util.areEqual(this.recordingYear, mediaMetadata.recordingYear) && Util.areEqual(this.recordingMonth, mediaMetadata.recordingMonth) && Util.areEqual(this.recordingDay, mediaMetadata.recordingDay) && Util.areEqual(this.releaseYear, mediaMetadata.releaseYear) && Util.areEqual(this.releaseMonth, mediaMetadata.releaseMonth) && Util.areEqual(this.releaseDay, mediaMetadata.releaseDay) && Util.areEqual(this.writer, mediaMetadata.writer) && Util.areEqual(this.composer, mediaMetadata.composer) && Util.areEqual(this.conductor, mediaMetadata.conductor) && Util.areEqual(this.discNumber, mediaMetadata.discNumber) && Util.areEqual(this.totalDiscCount, mediaMetadata.totalDiscCount) && Util.areEqual(this.genre, mediaMetadata.genre) && Util.areEqual(this.compilation, mediaMetadata.compilation);
}
public int hashCode() {
return Objects.hashCode(this.title, this.artist, this.albumTitle, this.albumArtist, this.displayTitle, this.subtitle, this.description, this.mediaUri, null, null, Integer.valueOf(Arrays.hashCode(this.artworkData)), this.artworkDataType, this.artworkUri, this.trackNumber, this.totalTrackCount, this.folderType, this.isPlayable, this.recordingYear, this.recordingMonth, this.recordingDay, this.releaseYear, this.releaseMonth, this.releaseDay, this.writer, this.composer, this.conductor, this.discNumber, this.totalDiscCount, this.genre, this.compilation);
}
}

View File

@@ -0,0 +1,25 @@
package com.google.android.exoplayer2;
import android.os.Looper;
import android.view.SurfaceView;
import android.view.TextureView;
import java.util.List;
/* loaded from: classes2.dex */
public interface Player {
public interface Listener {
}
void addListener(Listener listener);
Looper getApplicationLooper();
List getCurrentCues();
boolean isCommandAvailable(int i);
void setVideoSurfaceView(SurfaceView surfaceView);
void setVideoTextureView(TextureView textureView);
}

View File

@@ -0,0 +1,7 @@
package com.google.android.exoplayer2;
/* loaded from: classes2.dex */
public final class R$array {
public static int exo_playback_speeds = 2130903049;
public static int exo_speed_multiplied_by_100 = 2130903050;
}

View File

@@ -0,0 +1,66 @@
package com.google.android.exoplayer2;
/* loaded from: classes2.dex */
public final class R$attr {
public static int ad_marker_color = 2130968615;
public static int ad_marker_width = 2130968616;
public static int alpha = 2130968661;
public static int animation_enabled = 2130968663;
public static int auto_show = 2130968672;
public static int backgroundTint = 2130968676;
public static int bar_gravity = 2130968679;
public static int bar_height = 2130968680;
public static int buffered_color = 2130968682;
public static int controller_layout_id = 2130968754;
public static int default_artwork = 2130968759;
public static int fastScrollEnabled = 2130968786;
public static int fastScrollHorizontalThumbDrawable = 2130968787;
public static int fastScrollHorizontalTrackDrawable = 2130968788;
public static int fastScrollVerticalThumbDrawable = 2130968789;
public static int fastScrollVerticalTrackDrawable = 2130968790;
public static int font = 2130968792;
public static int fontProviderAuthority = 2130968794;
public static int fontProviderCerts = 2130968795;
public static int fontProviderFetchStrategy = 2130968797;
public static int fontProviderFetchTimeout = 2130968798;
public static int fontProviderPackage = 2130968799;
public static int fontProviderQuery = 2130968800;
public static int fontStyle = 2130968802;
public static int fontVariationSettings = 2130968803;
public static int fontWeight = 2130968804;
public static int hide_during_ads = 2130968809;
public static int hide_on_touch = 2130968810;
public static int keep_content_on_player_reset = 2130968824;
public static int layoutManager = 2130968829;
public static int played_ad_marker_color = 2130968877;
public static int played_color = 2130968878;
public static int player_layout_id = 2130968879;
public static int recyclerViewStyle = 2130968893;
public static int repeat_toggle_modes = 2130968894;
public static int resize_mode = 2130968895;
public static int reverseLayout = 2130968896;
public static int scrubber_color = 2130968898;
public static int scrubber_disabled_size = 2130968899;
public static int scrubber_dragged_size = 2130968900;
public static int scrubber_drawable = 2130968901;
public static int scrubber_enabled_size = 2130968902;
public static int show_buffering = 2130968914;
public static int show_fastforward_button = 2130968915;
public static int show_next_button = 2130968916;
public static int show_previous_button = 2130968917;
public static int show_rewind_button = 2130968918;
public static int show_shuffle_button = 2130968919;
public static int show_subtitle_button = 2130968920;
public static int show_timeout = 2130968921;
public static int show_vr_button = 2130968922;
public static int shutter_background_color = 2130968923;
public static int spanCount = 2130968925;
public static int stackFromEnd = 2130968931;
public static int surface_type = 2130968941;
public static int time_bar_min_update_interval = 2130968966;
public static int touch_target_height = 2130968984;
public static int ttcIndex = 2130968988;
public static int unplayed_color = 2130968989;
public static int use_artwork = 2130968990;
public static int use_controller = 2130968991;
}

View File

@@ -0,0 +1,22 @@
package com.google.android.exoplayer2;
/* loaded from: classes2.dex */
public final class R$color {
public static int androidx_core_ripple_material_light = 2131099685;
public static int androidx_core_secondary_text_default_material_light = 2131099686;
public static int exo_black_opacity_60 = 2131099769;
public static int exo_black_opacity_70 = 2131099770;
public static int exo_bottom_bar_background = 2131099771;
public static int exo_edit_mode_background_color = 2131099772;
public static int exo_error_message_background_color = 2131099773;
public static int exo_styled_error_message_background = 2131099774;
public static int exo_white = 2131099775;
public static int exo_white_opacity_70 = 2131099776;
public static int notification_action_color_filter = 2131099879;
public static int notification_icon_bg_color = 2131099880;
public static int notification_material_background_media_default_color = 2131099881;
public static int primary_text_default_material_dark = 2131099886;
public static int ripple_material_light = 2131099891;
public static int secondary_text_default_material_dark = 2131099892;
public static int secondary_text_default_material_light = 2131099893;
}

View File

@@ -0,0 +1,68 @@
package com.google.android.exoplayer2;
/* loaded from: classes2.dex */
public final class R$dimen {
public static int compat_button_inset_horizontal_material = 2131165333;
public static int compat_button_inset_vertical_material = 2131165334;
public static int compat_button_padding_horizontal_material = 2131165335;
public static int compat_button_padding_vertical_material = 2131165336;
public static int compat_control_corner_material = 2131165337;
public static int compat_notification_large_icon_max_height = 2131165338;
public static int compat_notification_large_icon_max_width = 2131165339;
public static int exo_error_message_height = 2131165343;
public static int exo_error_message_margin_bottom = 2131165344;
public static int exo_error_message_text_padding_horizontal = 2131165345;
public static int exo_error_message_text_padding_vertical = 2131165346;
public static int exo_error_message_text_size = 2131165347;
public static int exo_icon_horizontal_margin = 2131165348;
public static int exo_icon_padding = 2131165349;
public static int exo_icon_padding_bottom = 2131165350;
public static int exo_icon_size = 2131165351;
public static int exo_icon_text_size = 2131165352;
public static int exo_media_button_height = 2131165353;
public static int exo_media_button_width = 2131165354;
public static int exo_setting_width = 2131165355;
public static int exo_settings_height = 2131165356;
public static int exo_settings_icon_size = 2131165357;
public static int exo_settings_main_text_size = 2131165358;
public static int exo_settings_offset = 2131165359;
public static int exo_settings_sub_text_size = 2131165360;
public static int exo_settings_text_height = 2131165361;
public static int exo_small_icon_height = 2131165362;
public static int exo_small_icon_horizontal_margin = 2131165363;
public static int exo_small_icon_padding_horizontal = 2131165364;
public static int exo_small_icon_padding_vertical = 2131165365;
public static int exo_small_icon_width = 2131165366;
public static int exo_styled_bottom_bar_height = 2131165367;
public static int exo_styled_bottom_bar_margin_top = 2131165368;
public static int exo_styled_bottom_bar_time_padding = 2131165369;
public static int exo_styled_controls_padding = 2131165370;
public static int exo_styled_minimal_controls_margin_bottom = 2131165371;
public static int exo_styled_progress_bar_height = 2131165372;
public static int exo_styled_progress_dragged_thumb_size = 2131165373;
public static int exo_styled_progress_enabled_thumb_size = 2131165374;
public static int exo_styled_progress_layout_height = 2131165375;
public static int exo_styled_progress_margin_bottom = 2131165376;
public static int exo_styled_progress_touch_target_height = 2131165377;
public static int fastscroll_default_thickness = 2131165378;
public static int fastscroll_margin = 2131165379;
public static int fastscroll_minimum_range = 2131165380;
public static int item_touch_helper_max_drag_scroll_per_frame = 2131165431;
public static int item_touch_helper_swipe_escape_max_velocity = 2131165432;
public static int item_touch_helper_swipe_escape_velocity = 2131165433;
public static int notification_action_icon_size = 2131165445;
public static int notification_action_text_size = 2131165446;
public static int notification_big_circle_margin = 2131165447;
public static int notification_content_margin_start = 2131165448;
public static int notification_large_icon_height = 2131165449;
public static int notification_large_icon_width = 2131165450;
public static int notification_main_column_padding_top = 2131165451;
public static int notification_media_narrow_margin = 2131165452;
public static int notification_right_icon_size = 2131165453;
public static int notification_right_side_padding_top = 2131165454;
public static int notification_small_icon_background_padding = 2131165455;
public static int notification_small_icon_size_as_large = 2131165456;
public static int notification_subtext_size = 2131165457;
public static int notification_top_pad = 2131165458;
public static int notification_top_pad_large_text = 2131165459;
}

View File

@@ -0,0 +1,96 @@
package com.google.android.exoplayer2;
/* loaded from: classes2.dex */
public final class R$drawable {
public static int exo_controls_fastforward = 2131230994;
public static int exo_controls_fullscreen_enter = 2131230995;
public static int exo_controls_fullscreen_exit = 2131230996;
public static int exo_controls_next = 2131230997;
public static int exo_controls_pause = 2131230998;
public static int exo_controls_play = 2131230999;
public static int exo_controls_previous = 2131231000;
public static int exo_controls_repeat_all = 2131231001;
public static int exo_controls_repeat_off = 2131231002;
public static int exo_controls_repeat_one = 2131231003;
public static int exo_controls_rewind = 2131231004;
public static int exo_controls_shuffle_off = 2131231005;
public static int exo_controls_shuffle_on = 2131231006;
public static int exo_controls_vr = 2131231007;
public static int exo_edit_mode_logo = 2131231008;
public static int exo_ic_audiotrack = 2131231009;
public static int exo_ic_check = 2131231010;
public static int exo_ic_chevron_left = 2131231011;
public static int exo_ic_chevron_right = 2131231012;
public static int exo_ic_default_album_image = 2131231013;
public static int exo_ic_forward = 2131231014;
public static int exo_ic_fullscreen_enter = 2131231015;
public static int exo_ic_fullscreen_exit = 2131231016;
public static int exo_ic_pause_circle_filled = 2131231017;
public static int exo_ic_play_circle_filled = 2131231018;
public static int exo_ic_rewind = 2131231019;
public static int exo_ic_settings = 2131231020;
public static int exo_ic_skip_next = 2131231021;
public static int exo_ic_skip_previous = 2131231022;
public static int exo_ic_speed = 2131231023;
public static int exo_ic_subtitle_off = 2131231024;
public static int exo_ic_subtitle_on = 2131231025;
public static int exo_icon_circular_play = 2131231026;
public static int exo_icon_fastforward = 2131231027;
public static int exo_icon_fullscreen_enter = 2131231028;
public static int exo_icon_fullscreen_exit = 2131231029;
public static int exo_icon_next = 2131231030;
public static int exo_icon_pause = 2131231031;
public static int exo_icon_play = 2131231032;
public static int exo_icon_previous = 2131231033;
public static int exo_icon_repeat_all = 2131231034;
public static int exo_icon_repeat_off = 2131231035;
public static int exo_icon_repeat_one = 2131231036;
public static int exo_icon_rewind = 2131231037;
public static int exo_icon_shuffle_off = 2131231038;
public static int exo_icon_shuffle_on = 2131231039;
public static int exo_icon_stop = 2131231040;
public static int exo_icon_vr = 2131231041;
public static int exo_notification_fastforward = 2131231042;
public static int exo_notification_next = 2131231043;
public static int exo_notification_pause = 2131231044;
public static int exo_notification_play = 2131231045;
public static int exo_notification_previous = 2131231046;
public static int exo_notification_rewind = 2131231047;
public static int exo_notification_small_icon = 2131231048;
public static int exo_notification_stop = 2131231049;
public static int exo_rounded_rectangle = 2131231050;
public static int exo_styled_controls_audiotrack = 2131231051;
public static int exo_styled_controls_check = 2131231052;
public static int exo_styled_controls_fastforward = 2131231053;
public static int exo_styled_controls_fullscreen_enter = 2131231054;
public static int exo_styled_controls_fullscreen_exit = 2131231055;
public static int exo_styled_controls_next = 2131231056;
public static int exo_styled_controls_overflow_hide = 2131231057;
public static int exo_styled_controls_overflow_show = 2131231058;
public static int exo_styled_controls_pause = 2131231059;
public static int exo_styled_controls_play = 2131231060;
public static int exo_styled_controls_previous = 2131231061;
public static int exo_styled_controls_repeat_all = 2131231062;
public static int exo_styled_controls_repeat_off = 2131231063;
public static int exo_styled_controls_repeat_one = 2131231064;
public static int exo_styled_controls_rewind = 2131231065;
public static int exo_styled_controls_settings = 2131231066;
public static int exo_styled_controls_shuffle_off = 2131231067;
public static int exo_styled_controls_shuffle_on = 2131231068;
public static int exo_styled_controls_speed = 2131231069;
public static int exo_styled_controls_subtitle_off = 2131231070;
public static int exo_styled_controls_subtitle_on = 2131231071;
public static int exo_styled_controls_vr = 2131231072;
public static int notification_action_background = 2131231297;
public static int notification_bg = 2131231298;
public static int notification_bg_low = 2131231299;
public static int notification_bg_low_normal = 2131231300;
public static int notification_bg_low_pressed = 2131231301;
public static int notification_bg_normal = 2131231302;
public static int notification_bg_normal_pressed = 2131231303;
public static int notification_icon_background = 2131231304;
public static int notification_template_icon_bg = 2131231306;
public static int notification_template_icon_low_bg = 2131231307;
public static int notification_tile_bg = 2131231308;
public static int notify_panel_notification_icon_bg = 2131231309;
}

View File

@@ -0,0 +1,6 @@
package com.google.android.exoplayer2;
/* loaded from: classes2.dex */
public final class R$font {
public static int roboto_medium_numbers = 2131296256;
}

View File

@@ -0,0 +1,143 @@
package com.google.android.exoplayer2;
/* loaded from: classes2.dex */
public final class R$id {
public static int accessibility_action_clickable_span = 2131361801;
public static int accessibility_custom_action_0 = 2131361802;
public static int accessibility_custom_action_1 = 2131361803;
public static int accessibility_custom_action_10 = 2131361804;
public static int accessibility_custom_action_11 = 2131361805;
public static int accessibility_custom_action_12 = 2131361806;
public static int accessibility_custom_action_13 = 2131361807;
public static int accessibility_custom_action_14 = 2131361808;
public static int accessibility_custom_action_15 = 2131361809;
public static int accessibility_custom_action_16 = 2131361810;
public static int accessibility_custom_action_17 = 2131361811;
public static int accessibility_custom_action_18 = 2131361812;
public static int accessibility_custom_action_19 = 2131361813;
public static int accessibility_custom_action_2 = 2131361814;
public static int accessibility_custom_action_20 = 2131361815;
public static int accessibility_custom_action_21 = 2131361816;
public static int accessibility_custom_action_22 = 2131361817;
public static int accessibility_custom_action_23 = 2131361818;
public static int accessibility_custom_action_24 = 2131361819;
public static int accessibility_custom_action_25 = 2131361820;
public static int accessibility_custom_action_26 = 2131361821;
public static int accessibility_custom_action_27 = 2131361822;
public static int accessibility_custom_action_28 = 2131361823;
public static int accessibility_custom_action_29 = 2131361824;
public static int accessibility_custom_action_3 = 2131361825;
public static int accessibility_custom_action_30 = 2131361826;
public static int accessibility_custom_action_31 = 2131361827;
public static int accessibility_custom_action_4 = 2131361828;
public static int accessibility_custom_action_5 = 2131361829;
public static int accessibility_custom_action_6 = 2131361830;
public static int accessibility_custom_action_7 = 2131361831;
public static int accessibility_custom_action_8 = 2131361832;
public static int accessibility_custom_action_9 = 2131361833;
public static int action0 = 2131361834;
public static int action_container = 2131361842;
public static int action_divider = 2131361844;
public static int action_image = 2131361845;
public static int action_text = 2131361852;
public static int actions = 2131361853;
public static int always = 2131361906;
public static int async = 2131361928;
public static int blocking = 2131361937;
public static int bottom = 2131361938;
public static int cancel_action = 2131361951;
public static int center = 2131361953;
public static int chronometer = 2131361958;
public static int dialog_button = 2131361985;
public static int end_padder = 2131361993;
public static int exo_ad_overlay = 2131361994;
public static int exo_artwork = 2131361995;
public static int exo_audio_track = 2131361996;
public static int exo_basic_controls = 2131361997;
public static int exo_bottom_bar = 2131361998;
public static int exo_buffering = 2131361999;
public static int exo_center_controls = 2131362000;
public static int exo_check = 2131362001;
public static int exo_content_frame = 2131362002;
public static int exo_controller = 2131362003;
public static int exo_controller_placeholder = 2131362004;
public static int exo_controls_background = 2131362005;
public static int exo_duration = 2131362006;
public static int exo_error_message = 2131362007;
public static int exo_extra_controls = 2131362008;
public static int exo_extra_controls_scroll_view = 2131362009;
public static int exo_ffwd = 2131362010;
public static int exo_ffwd_with_amount = 2131362011;
public static int exo_fullscreen = 2131362012;
public static int exo_icon = 2131362013;
public static int exo_main_text = 2131362014;
public static int exo_minimal_controls = 2131362015;
public static int exo_minimal_fullscreen = 2131362016;
public static int exo_next = 2131362017;
public static int exo_overflow_hide = 2131362018;
public static int exo_overflow_show = 2131362019;
public static int exo_overlay = 2131362020;
public static int exo_pause = 2131362021;
public static int exo_play = 2131362022;
public static int exo_play_pause = 2131362023;
public static int exo_playback_speed = 2131362024;
public static int exo_position = 2131362025;
public static int exo_prev = 2131362026;
public static int exo_progress = 2131362027;
public static int exo_progress_placeholder = 2131362028;
public static int exo_repeat_toggle = 2131362029;
public static int exo_rew = 2131362030;
public static int exo_rew_with_amount = 2131362031;
public static int exo_settings = 2131362032;
public static int exo_settings_listview = 2131362033;
public static int exo_shuffle = 2131362034;
public static int exo_shutter = 2131362035;
public static int exo_sub_text = 2131362036;
public static int exo_subtitle = 2131362037;
public static int exo_subtitles = 2131362038;
public static int exo_text = 2131362039;
public static int exo_time = 2131362040;
public static int exo_track_selection_view = 2131362041;
public static int exo_vr = 2131362042;
public static int fill = 2131362045;
public static int fit = 2131362052;
public static int fixed_height = 2131362053;
public static int fixed_width = 2131362054;
public static int forever = 2131362055;
public static int icon = 2131362122;
public static int icon_group = 2131362123;
public static int info = 2131362129;
public static int italic = 2131362134;
public static int item_touch_helper_previous_elevation = 2131362136;
public static int line1 = 2131362141;
public static int line3 = 2131362142;
public static int media_actions = 2131362333;
public static int media_controller_compat_view_tag = 2131362334;
public static int never = 2131362348;
public static int none = 2131362350;
public static int normal = 2131362351;
public static int notification_background = 2131362352;
public static int notification_main_column = 2131362353;
public static int notification_main_column_container = 2131362354;
public static int right_icon = 2131362376;
public static int right_side = 2131362377;
public static int spherical_gl_surface_view = 2131362402;
public static int status_bar_latest_event_content = 2131362409;
public static int surface_view = 2131362413;
public static int tag_accessibility_actions = 2131362416;
public static int tag_accessibility_clickable_spans = 2131362417;
public static int tag_accessibility_heading = 2131362418;
public static int tag_accessibility_pane_title = 2131362419;
public static int tag_screen_reader_focusable = 2131362423;
public static int tag_transition_group = 2131362425;
public static int tag_unhandled_key_event_manager = 2131362426;
public static int tag_unhandled_key_listeners = 2131362427;
public static int text = 2131362429;
public static int text2 = 2131362430;
public static int texture_view = 2131362434;
public static int time = 2131362435;
public static int title = 2131362436;
public static int video_decoder_gl_surface_view = 2131362447;
public static int when_playing = 2131362453;
public static int zoom = 2131362457;
}

View File

@@ -0,0 +1,9 @@
package com.google.android.exoplayer2;
/* loaded from: classes2.dex */
public final class R$integer {
public static int cancel_button_image_alpha = 2131427333;
public static int exo_media_button_opacity_percentage_disabled = 2131427341;
public static int exo_media_button_opacity_percentage_enabled = 2131427342;
public static int status_bar_notification_info_maxnum = 2131427348;
}

View File

@@ -0,0 +1,32 @@
package com.google.android.exoplayer2;
/* loaded from: classes2.dex */
public final class R$layout {
public static int custom_dialog = 2131558451;
public static int exo_list_divider = 2131558452;
public static int exo_player_control_view = 2131558453;
public static int exo_player_view = 2131558454;
public static int exo_styled_player_control_ffwd_button = 2131558455;
public static int exo_styled_player_control_rewind_button = 2131558456;
public static int exo_styled_player_control_view = 2131558457;
public static int exo_styled_player_view = 2131558458;
public static int exo_styled_settings_list = 2131558459;
public static int exo_styled_settings_list_item = 2131558460;
public static int exo_styled_sub_settings_list_item = 2131558461;
public static int exo_track_selection_dialog = 2131558462;
public static int notification_action = 2131558559;
public static int notification_action_tombstone = 2131558560;
public static int notification_media_action = 2131558561;
public static int notification_media_cancel_action = 2131558562;
public static int notification_template_big_media = 2131558563;
public static int notification_template_big_media_custom = 2131558564;
public static int notification_template_big_media_narrow = 2131558565;
public static int notification_template_big_media_narrow_custom = 2131558566;
public static int notification_template_custom_big = 2131558567;
public static int notification_template_icon_group = 2131558568;
public static int notification_template_lines_media = 2131558569;
public static int notification_template_media = 2131558570;
public static int notification_template_media_custom = 2131558571;
public static int notification_template_part_chronometer = 2131558572;
public static int notification_template_part_time = 2131558573;
}

View File

@@ -0,0 +1,7 @@
package com.google.android.exoplayer2;
/* loaded from: classes2.dex */
public final class R$plurals {
public static int exo_controls_fastforward_by_amount_description = 2131755010;
public static int exo_controls_rewind_by_amount_description = 2131755011;
}

View File

@@ -0,0 +1,57 @@
package com.google.android.exoplayer2;
/* loaded from: classes2.dex */
public final class R$string {
public static int exo_controls_cc_disabled_description = 2131886282;
public static int exo_controls_cc_enabled_description = 2131886283;
public static int exo_controls_custom_playback_speed = 2131886284;
public static int exo_controls_fastforward_description = 2131886285;
public static int exo_controls_fullscreen_enter_description = 2131886286;
public static int exo_controls_fullscreen_exit_description = 2131886287;
public static int exo_controls_hide = 2131886288;
public static int exo_controls_next_description = 2131886289;
public static int exo_controls_overflow_hide_description = 2131886290;
public static int exo_controls_overflow_show_description = 2131886291;
public static int exo_controls_pause_description = 2131886292;
public static int exo_controls_play_description = 2131886293;
public static int exo_controls_playback_speed = 2131886294;
public static int exo_controls_playback_speed_normal = 2131886295;
public static int exo_controls_previous_description = 2131886296;
public static int exo_controls_repeat_all_description = 2131886297;
public static int exo_controls_repeat_off_description = 2131886298;
public static int exo_controls_repeat_one_description = 2131886299;
public static int exo_controls_rewind_description = 2131886300;
public static int exo_controls_seek_bar_description = 2131886301;
public static int exo_controls_settings_description = 2131886302;
public static int exo_controls_show = 2131886303;
public static int exo_controls_shuffle_off_description = 2131886304;
public static int exo_controls_shuffle_on_description = 2131886305;
public static int exo_controls_stop_description = 2131886306;
public static int exo_controls_time_placeholder = 2131886307;
public static int exo_controls_vr_description = 2131886308;
public static int exo_download_completed = 2131886309;
public static int exo_download_description = 2131886310;
public static int exo_download_downloading = 2131886311;
public static int exo_download_failed = 2131886312;
public static int exo_download_notification_channel_name = 2131886313;
public static int exo_download_removing = 2131886314;
public static int exo_item_list = 2131886315;
public static int exo_track_bitrate = 2131886316;
public static int exo_track_mono = 2131886317;
public static int exo_track_resolution = 2131886318;
public static int exo_track_role_alternate = 2131886319;
public static int exo_track_role_closed_captions = 2131886320;
public static int exo_track_role_commentary = 2131886321;
public static int exo_track_role_supplementary = 2131886322;
public static int exo_track_selection_auto = 2131886323;
public static int exo_track_selection_none = 2131886324;
public static int exo_track_selection_title_audio = 2131886325;
public static int exo_track_selection_title_text = 2131886326;
public static int exo_track_selection_title_video = 2131886327;
public static int exo_track_stereo = 2131886328;
public static int exo_track_surround = 2131886329;
public static int exo_track_surround_5_point_1 = 2131886330;
public static int exo_track_surround_7_point_1 = 2131886331;
public static int exo_track_unknown = 2131886332;
public static int status_bar_notification_info_overflow = 2131886471;
}

View File

@@ -0,0 +1,50 @@
package com.google.android.exoplayer2;
/* loaded from: classes2.dex */
public final class R$style {
public static int ExoMediaButton = 2131951817;
public static int ExoMediaButton_FastForward = 2131951818;
public static int ExoMediaButton_Next = 2131951819;
public static int ExoMediaButton_Pause = 2131951820;
public static int ExoMediaButton_Play = 2131951821;
public static int ExoMediaButton_Previous = 2131951822;
public static int ExoMediaButton_Rewind = 2131951823;
public static int ExoMediaButton_VR = 2131951824;
public static int ExoStyledControls = 2131951825;
public static int ExoStyledControls_Button = 2131951826;
public static int ExoStyledControls_ButtonText = 2131951844;
public static int ExoStyledControls_Button_Bottom = 2131951827;
public static int ExoStyledControls_Button_Bottom_AudioTrack = 2131951828;
public static int ExoStyledControls_Button_Bottom_CC = 2131951829;
public static int ExoStyledControls_Button_Bottom_FullScreen = 2131951830;
public static int ExoStyledControls_Button_Bottom_OverflowHide = 2131951831;
public static int ExoStyledControls_Button_Bottom_OverflowShow = 2131951832;
public static int ExoStyledControls_Button_Bottom_PlaybackSpeed = 2131951833;
public static int ExoStyledControls_Button_Bottom_RepeatToggle = 2131951834;
public static int ExoStyledControls_Button_Bottom_Settings = 2131951835;
public static int ExoStyledControls_Button_Bottom_Shuffle = 2131951836;
public static int ExoStyledControls_Button_Bottom_VR = 2131951837;
public static int ExoStyledControls_Button_Center = 2131951838;
public static int ExoStyledControls_Button_Center_FfwdWithAmount = 2131951839;
public static int ExoStyledControls_Button_Center_Next = 2131951840;
public static int ExoStyledControls_Button_Center_PlayPause = 2131951841;
public static int ExoStyledControls_Button_Center_Previous = 2131951842;
public static int ExoStyledControls_Button_Center_RewWithAmount = 2131951843;
public static int ExoStyledControls_TimeBar = 2131951845;
public static int ExoStyledControls_TimeText = 2131951846;
public static int ExoStyledControls_TimeText_Duration = 2131951847;
public static int ExoStyledControls_TimeText_Position = 2131951848;
public static int ExoStyledControls_TimeText_Separator = 2131951849;
public static int TextAppearance_Compat_Notification = 2131951943;
public static int TextAppearance_Compat_Notification_Info = 2131951944;
public static int TextAppearance_Compat_Notification_Info_Media = 2131951945;
public static int TextAppearance_Compat_Notification_Line2 = 2131951946;
public static int TextAppearance_Compat_Notification_Line2_Media = 2131951947;
public static int TextAppearance_Compat_Notification_Media = 2131951948;
public static int TextAppearance_Compat_Notification_Time = 2131951949;
public static int TextAppearance_Compat_Notification_Time_Media = 2131951950;
public static int TextAppearance_Compat_Notification_Title = 2131951951;
public static int TextAppearance_Compat_Notification_Title_Media = 2131951952;
public static int Widget_Compat_NotificationActionContainer = 2131952065;
public static int Widget_Compat_NotificationActionText = 2131952066;
}

View File

@@ -0,0 +1,196 @@
package com.google.android.exoplayer2;
import com.ea.games.r3_row.R;
/* loaded from: classes2.dex */
public final class R$styleable {
public static int AspectRatioFrameLayout_resize_mode = 0;
public static int ColorStateListItem_alpha = 3;
public static int ColorStateListItem_android_alpha = 1;
public static int ColorStateListItem_android_color = 0;
public static int ColorStateListItem_android_lStar = 2;
public static int ColorStateListItem_lStar = 4;
public static int DefaultTimeBar_ad_marker_color = 0;
public static int DefaultTimeBar_ad_marker_width = 1;
public static int DefaultTimeBar_bar_gravity = 2;
public static int DefaultTimeBar_bar_height = 3;
public static int DefaultTimeBar_buffered_color = 4;
public static int DefaultTimeBar_played_ad_marker_color = 5;
public static int DefaultTimeBar_played_color = 6;
public static int DefaultTimeBar_scrubber_color = 7;
public static int DefaultTimeBar_scrubber_disabled_size = 8;
public static int DefaultTimeBar_scrubber_dragged_size = 9;
public static int DefaultTimeBar_scrubber_drawable = 10;
public static int DefaultTimeBar_scrubber_enabled_size = 11;
public static int DefaultTimeBar_touch_target_height = 12;
public static int DefaultTimeBar_unplayed_color = 13;
public static int FontFamilyFont_android_font = 0;
public static int FontFamilyFont_android_fontStyle = 2;
public static int FontFamilyFont_android_fontVariationSettings = 4;
public static int FontFamilyFont_android_fontWeight = 1;
public static int FontFamilyFont_android_ttcIndex = 3;
public static int FontFamilyFont_font = 5;
public static int FontFamilyFont_fontStyle = 6;
public static int FontFamilyFont_fontVariationSettings = 7;
public static int FontFamilyFont_fontWeight = 8;
public static int FontFamilyFont_ttcIndex = 9;
public static int FontFamily_fontProviderAuthority = 0;
public static int FontFamily_fontProviderCerts = 1;
public static int FontFamily_fontProviderFallbackQuery = 2;
public static int FontFamily_fontProviderFetchStrategy = 3;
public static int FontFamily_fontProviderFetchTimeout = 4;
public static int FontFamily_fontProviderPackage = 5;
public static int FontFamily_fontProviderQuery = 6;
public static int FontFamily_fontProviderSystemFontFamily = 7;
public static int GradientColorItem_android_color = 0;
public static int GradientColorItem_android_offset = 1;
public static int GradientColor_android_centerColor = 7;
public static int GradientColor_android_centerX = 3;
public static int GradientColor_android_centerY = 4;
public static int GradientColor_android_endColor = 1;
public static int GradientColor_android_endX = 10;
public static int GradientColor_android_endY = 11;
public static int GradientColor_android_gradientRadius = 5;
public static int GradientColor_android_startColor = 0;
public static int GradientColor_android_startX = 8;
public static int GradientColor_android_startY = 9;
public static int GradientColor_android_tileMode = 6;
public static int GradientColor_android_type = 2;
public static int PlayerControlView_ad_marker_color = 0;
public static int PlayerControlView_ad_marker_width = 1;
public static int PlayerControlView_bar_gravity = 2;
public static int PlayerControlView_bar_height = 3;
public static int PlayerControlView_buffered_color = 4;
public static int PlayerControlView_controller_layout_id = 5;
public static int PlayerControlView_played_ad_marker_color = 6;
public static int PlayerControlView_played_color = 7;
public static int PlayerControlView_repeat_toggle_modes = 8;
public static int PlayerControlView_scrubber_color = 9;
public static int PlayerControlView_scrubber_disabled_size = 10;
public static int PlayerControlView_scrubber_dragged_size = 11;
public static int PlayerControlView_scrubber_drawable = 12;
public static int PlayerControlView_scrubber_enabled_size = 13;
public static int PlayerControlView_show_fastforward_button = 14;
public static int PlayerControlView_show_next_button = 15;
public static int PlayerControlView_show_previous_button = 16;
public static int PlayerControlView_show_rewind_button = 17;
public static int PlayerControlView_show_shuffle_button = 18;
public static int PlayerControlView_show_timeout = 19;
public static int PlayerControlView_time_bar_min_update_interval = 20;
public static int PlayerControlView_touch_target_height = 21;
public static int PlayerControlView_unplayed_color = 22;
public static int PlayerView_ad_marker_color = 0;
public static int PlayerView_ad_marker_width = 1;
public static int PlayerView_auto_show = 2;
public static int PlayerView_bar_height = 3;
public static int PlayerView_buffered_color = 4;
public static int PlayerView_controller_layout_id = 5;
public static int PlayerView_default_artwork = 6;
public static int PlayerView_hide_during_ads = 7;
public static int PlayerView_hide_on_touch = 8;
public static int PlayerView_keep_content_on_player_reset = 9;
public static int PlayerView_played_ad_marker_color = 10;
public static int PlayerView_played_color = 11;
public static int PlayerView_player_layout_id = 12;
public static int PlayerView_repeat_toggle_modes = 13;
public static int PlayerView_resize_mode = 14;
public static int PlayerView_scrubber_color = 15;
public static int PlayerView_scrubber_disabled_size = 16;
public static int PlayerView_scrubber_dragged_size = 17;
public static int PlayerView_scrubber_drawable = 18;
public static int PlayerView_scrubber_enabled_size = 19;
public static int PlayerView_show_buffering = 20;
public static int PlayerView_show_shuffle_button = 21;
public static int PlayerView_show_timeout = 22;
public static int PlayerView_shutter_background_color = 23;
public static int PlayerView_surface_type = 24;
public static int PlayerView_time_bar_min_update_interval = 25;
public static int PlayerView_touch_target_height = 26;
public static int PlayerView_unplayed_color = 27;
public static int PlayerView_use_artwork = 28;
public static int PlayerView_use_controller = 29;
public static int RecyclerView_android_clipToPadding = 1;
public static int RecyclerView_android_descendantFocusability = 2;
public static int RecyclerView_android_orientation = 0;
public static int RecyclerView_fastScrollEnabled = 3;
public static int RecyclerView_fastScrollHorizontalThumbDrawable = 4;
public static int RecyclerView_fastScrollHorizontalTrackDrawable = 5;
public static int RecyclerView_fastScrollVerticalThumbDrawable = 6;
public static int RecyclerView_fastScrollVerticalTrackDrawable = 7;
public static int RecyclerView_layoutManager = 8;
public static int RecyclerView_reverseLayout = 9;
public static int RecyclerView_spanCount = 10;
public static int RecyclerView_stackFromEnd = 11;
public static int StyledPlayerControlView_ad_marker_color = 0;
public static int StyledPlayerControlView_ad_marker_width = 1;
public static int StyledPlayerControlView_animation_enabled = 2;
public static int StyledPlayerControlView_bar_gravity = 3;
public static int StyledPlayerControlView_bar_height = 4;
public static int StyledPlayerControlView_buffered_color = 5;
public static int StyledPlayerControlView_controller_layout_id = 6;
public static int StyledPlayerControlView_played_ad_marker_color = 7;
public static int StyledPlayerControlView_played_color = 8;
public static int StyledPlayerControlView_repeat_toggle_modes = 9;
public static int StyledPlayerControlView_scrubber_color = 10;
public static int StyledPlayerControlView_scrubber_disabled_size = 11;
public static int StyledPlayerControlView_scrubber_dragged_size = 12;
public static int StyledPlayerControlView_scrubber_drawable = 13;
public static int StyledPlayerControlView_scrubber_enabled_size = 14;
public static int StyledPlayerControlView_show_fastforward_button = 15;
public static int StyledPlayerControlView_show_next_button = 16;
public static int StyledPlayerControlView_show_previous_button = 17;
public static int StyledPlayerControlView_show_rewind_button = 18;
public static int StyledPlayerControlView_show_shuffle_button = 19;
public static int StyledPlayerControlView_show_subtitle_button = 20;
public static int StyledPlayerControlView_show_timeout = 21;
public static int StyledPlayerControlView_show_vr_button = 22;
public static int StyledPlayerControlView_time_bar_min_update_interval = 23;
public static int StyledPlayerControlView_touch_target_height = 24;
public static int StyledPlayerControlView_unplayed_color = 25;
public static int StyledPlayerView_ad_marker_color = 0;
public static int StyledPlayerView_ad_marker_width = 1;
public static int StyledPlayerView_animation_enabled = 2;
public static int StyledPlayerView_auto_show = 3;
public static int StyledPlayerView_bar_gravity = 4;
public static int StyledPlayerView_bar_height = 5;
public static int StyledPlayerView_buffered_color = 6;
public static int StyledPlayerView_controller_layout_id = 7;
public static int StyledPlayerView_default_artwork = 8;
public static int StyledPlayerView_hide_during_ads = 9;
public static int StyledPlayerView_hide_on_touch = 10;
public static int StyledPlayerView_keep_content_on_player_reset = 11;
public static int StyledPlayerView_played_ad_marker_color = 12;
public static int StyledPlayerView_played_color = 13;
public static int StyledPlayerView_player_layout_id = 14;
public static int StyledPlayerView_repeat_toggle_modes = 15;
public static int StyledPlayerView_resize_mode = 16;
public static int StyledPlayerView_scrubber_color = 17;
public static int StyledPlayerView_scrubber_disabled_size = 18;
public static int StyledPlayerView_scrubber_dragged_size = 19;
public static int StyledPlayerView_scrubber_drawable = 20;
public static int StyledPlayerView_scrubber_enabled_size = 21;
public static int StyledPlayerView_show_buffering = 22;
public static int StyledPlayerView_show_shuffle_button = 23;
public static int StyledPlayerView_show_subtitle_button = 24;
public static int StyledPlayerView_show_timeout = 25;
public static int StyledPlayerView_show_vr_button = 26;
public static int StyledPlayerView_shutter_background_color = 27;
public static int StyledPlayerView_surface_type = 28;
public static int StyledPlayerView_time_bar_min_update_interval = 29;
public static int StyledPlayerView_touch_target_height = 30;
public static int StyledPlayerView_unplayed_color = 31;
public static int StyledPlayerView_use_artwork = 32;
public static int StyledPlayerView_use_controller = 33;
public static int[] AspectRatioFrameLayout = {R.attr.resize_mode};
public static int[] ColorStateListItem = {android.R.attr.color, android.R.attr.alpha, android.R.attr.lStar, R.attr.alpha, R.attr.lStar};
public static int[] DefaultTimeBar = {R.attr.ad_marker_color, R.attr.ad_marker_width, R.attr.bar_gravity, R.attr.bar_height, R.attr.buffered_color, R.attr.played_ad_marker_color, R.attr.played_color, R.attr.scrubber_color, R.attr.scrubber_disabled_size, R.attr.scrubber_dragged_size, R.attr.scrubber_drawable, R.attr.scrubber_enabled_size, R.attr.touch_target_height, R.attr.unplayed_color};
public static int[] FontFamily = {R.attr.fontProviderAuthority, R.attr.fontProviderCerts, R.attr.fontProviderFallbackQuery, R.attr.fontProviderFetchStrategy, R.attr.fontProviderFetchTimeout, R.attr.fontProviderPackage, R.attr.fontProviderQuery, R.attr.fontProviderSystemFontFamily};
public static int[] FontFamilyFont = {android.R.attr.font, android.R.attr.fontWeight, android.R.attr.fontStyle, android.R.attr.ttcIndex, android.R.attr.fontVariationSettings, R.attr.font, R.attr.fontStyle, R.attr.fontVariationSettings, R.attr.fontWeight, R.attr.ttcIndex};
public static int[] GradientColor = {android.R.attr.startColor, android.R.attr.endColor, android.R.attr.type, android.R.attr.centerX, android.R.attr.centerY, android.R.attr.gradientRadius, android.R.attr.tileMode, android.R.attr.centerColor, android.R.attr.startX, android.R.attr.startY, android.R.attr.endX, android.R.attr.endY};
public static int[] GradientColorItem = {android.R.attr.color, android.R.attr.offset};
public static int[] PlayerControlView = {R.attr.ad_marker_color, R.attr.ad_marker_width, R.attr.bar_gravity, R.attr.bar_height, R.attr.buffered_color, R.attr.controller_layout_id, R.attr.played_ad_marker_color, R.attr.played_color, R.attr.repeat_toggle_modes, R.attr.scrubber_color, R.attr.scrubber_disabled_size, R.attr.scrubber_dragged_size, R.attr.scrubber_drawable, R.attr.scrubber_enabled_size, R.attr.show_fastforward_button, R.attr.show_next_button, R.attr.show_previous_button, R.attr.show_rewind_button, R.attr.show_shuffle_button, R.attr.show_timeout, R.attr.time_bar_min_update_interval, R.attr.touch_target_height, R.attr.unplayed_color};
public static int[] PlayerView = {R.attr.ad_marker_color, R.attr.ad_marker_width, R.attr.auto_show, R.attr.bar_height, R.attr.buffered_color, R.attr.controller_layout_id, R.attr.default_artwork, R.attr.hide_during_ads, R.attr.hide_on_touch, R.attr.keep_content_on_player_reset, R.attr.played_ad_marker_color, R.attr.played_color, R.attr.player_layout_id, R.attr.repeat_toggle_modes, R.attr.resize_mode, R.attr.scrubber_color, R.attr.scrubber_disabled_size, R.attr.scrubber_dragged_size, R.attr.scrubber_drawable, R.attr.scrubber_enabled_size, R.attr.show_buffering, R.attr.show_shuffle_button, R.attr.show_timeout, R.attr.shutter_background_color, R.attr.surface_type, R.attr.time_bar_min_update_interval, R.attr.touch_target_height, R.attr.unplayed_color, R.attr.use_artwork, R.attr.use_controller};
public static int[] RecyclerView = {android.R.attr.orientation, android.R.attr.clipToPadding, android.R.attr.descendantFocusability, R.attr.fastScrollEnabled, R.attr.fastScrollHorizontalThumbDrawable, R.attr.fastScrollHorizontalTrackDrawable, R.attr.fastScrollVerticalThumbDrawable, R.attr.fastScrollVerticalTrackDrawable, R.attr.layoutManager, R.attr.reverseLayout, R.attr.spanCount, R.attr.stackFromEnd};
public static int[] StyledPlayerControlView = {R.attr.ad_marker_color, R.attr.ad_marker_width, R.attr.animation_enabled, R.attr.bar_gravity, R.attr.bar_height, R.attr.buffered_color, R.attr.controller_layout_id, R.attr.played_ad_marker_color, R.attr.played_color, R.attr.repeat_toggle_modes, R.attr.scrubber_color, R.attr.scrubber_disabled_size, R.attr.scrubber_dragged_size, R.attr.scrubber_drawable, R.attr.scrubber_enabled_size, R.attr.show_fastforward_button, R.attr.show_next_button, R.attr.show_previous_button, R.attr.show_rewind_button, R.attr.show_shuffle_button, R.attr.show_subtitle_button, R.attr.show_timeout, R.attr.show_vr_button, R.attr.time_bar_min_update_interval, R.attr.touch_target_height, R.attr.unplayed_color};
public static int[] StyledPlayerView = {R.attr.ad_marker_color, R.attr.ad_marker_width, R.attr.animation_enabled, R.attr.auto_show, R.attr.bar_gravity, R.attr.bar_height, R.attr.buffered_color, R.attr.controller_layout_id, R.attr.default_artwork, R.attr.hide_during_ads, R.attr.hide_on_touch, R.attr.keep_content_on_player_reset, R.attr.played_ad_marker_color, R.attr.played_color, R.attr.player_layout_id, R.attr.repeat_toggle_modes, R.attr.resize_mode, R.attr.scrubber_color, R.attr.scrubber_disabled_size, R.attr.scrubber_dragged_size, R.attr.scrubber_drawable, R.attr.scrubber_enabled_size, R.attr.show_buffering, R.attr.show_shuffle_button, R.attr.show_subtitle_button, R.attr.show_timeout, R.attr.show_vr_button, R.attr.shutter_background_color, R.attr.surface_type, R.attr.time_bar_min_update_interval, R.attr.touch_target_height, R.attr.unplayed_color, R.attr.use_artwork, R.attr.use_controller};
}

View File

@@ -0,0 +1,5 @@
package com.google.android.exoplayer2;
/* loaded from: classes2.dex */
public abstract class Rating {
}

View File

@@ -0,0 +1,38 @@
package com.google.android.exoplayer2;
import com.google.android.exoplayer2.source.ads.AdPlaybackState;
import com.google.android.exoplayer2.util.Util;
/* loaded from: classes2.dex */
public final class Timeline$Period {
public static final Bundleable$Creator CREATOR = new MediaItem$$ExternalSyntheticLambda0();
public AdPlaybackState adPlaybackState = AdPlaybackState.NONE;
public long durationUs;
public Object id;
public boolean isPlaceholder;
public long positionInWindowUs;
public Object uid;
public int windowIndex;
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || !Timeline$Period.class.equals(obj.getClass())) {
return false;
}
Timeline$Period timeline$Period = (Timeline$Period) obj;
return Util.areEqual(this.id, timeline$Period.id) && Util.areEqual(this.uid, timeline$Period.uid) && this.windowIndex == timeline$Period.windowIndex && this.durationUs == timeline$Period.durationUs && this.positionInWindowUs == timeline$Period.positionInWindowUs && this.isPlaceholder == timeline$Period.isPlaceholder && Util.areEqual(this.adPlaybackState, timeline$Period.adPlaybackState);
}
public int hashCode() {
Object obj = this.id;
int hashCode = (217 + (obj == null ? 0 : obj.hashCode())) * 31;
Object obj2 = this.uid;
int hashCode2 = (((hashCode + (obj2 != null ? obj2.hashCode() : 0)) * 31) + this.windowIndex) * 31;
long j = this.durationUs;
int i = (hashCode2 + ((int) (j ^ (j >>> 32)))) * 31;
long j2 = this.positionInWindowUs;
return ((((i + ((int) (j2 ^ (j2 >>> 32)))) * 31) + (this.isPlaceholder ? 1 : 0)) * 31) + this.adPlaybackState.hashCode();
}
}

View File

@@ -0,0 +1,59 @@
package com.google.android.exoplayer2;
import android.net.Uri;
import com.google.android.exoplayer2.MediaItem;
import com.google.android.exoplayer2.util.Util;
/* loaded from: classes2.dex */
public final class Timeline$Window {
public long defaultPositionUs;
public long durationUs;
public long elapsedRealtimeEpochOffsetMs;
public int firstPeriodIndex;
public boolean isDynamic;
public boolean isPlaceholder;
public boolean isSeekable;
public int lastPeriodIndex;
public MediaItem.LiveConfiguration liveConfiguration;
public Object manifest;
public long positionInFirstPeriodUs;
public long presentationStartTimeMs;
public long windowStartTimeMs;
public static final Object SINGLE_WINDOW_UID = new Object();
public static final Object FAKE_WINDOW_UID = new Object();
public static final MediaItem EMPTY_MEDIA_ITEM = new MediaItem.Builder().setMediaId("com.google.android.exoplayer2.Timeline").setUri(Uri.EMPTY).build();
public static final Bundleable$Creator CREATOR = new MediaItem$$ExternalSyntheticLambda0();
public Object uid = SINGLE_WINDOW_UID;
public MediaItem mediaItem = EMPTY_MEDIA_ITEM;
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || !Timeline$Window.class.equals(obj.getClass())) {
return false;
}
Timeline$Window timeline$Window = (Timeline$Window) obj;
return Util.areEqual(this.uid, timeline$Window.uid) && Util.areEqual(this.mediaItem, timeline$Window.mediaItem) && Util.areEqual(this.manifest, timeline$Window.manifest) && Util.areEqual(this.liveConfiguration, timeline$Window.liveConfiguration) && this.presentationStartTimeMs == timeline$Window.presentationStartTimeMs && this.windowStartTimeMs == timeline$Window.windowStartTimeMs && this.elapsedRealtimeEpochOffsetMs == timeline$Window.elapsedRealtimeEpochOffsetMs && this.isSeekable == timeline$Window.isSeekable && this.isDynamic == timeline$Window.isDynamic && this.isPlaceholder == timeline$Window.isPlaceholder && this.defaultPositionUs == timeline$Window.defaultPositionUs && this.durationUs == timeline$Window.durationUs && this.firstPeriodIndex == timeline$Window.firstPeriodIndex && this.lastPeriodIndex == timeline$Window.lastPeriodIndex && this.positionInFirstPeriodUs == timeline$Window.positionInFirstPeriodUs;
}
public int hashCode() {
int hashCode = (((217 + this.uid.hashCode()) * 31) + this.mediaItem.hashCode()) * 31;
Object obj = this.manifest;
int hashCode2 = (hashCode + (obj == null ? 0 : obj.hashCode())) * 31;
MediaItem.LiveConfiguration liveConfiguration = this.liveConfiguration;
int hashCode3 = (hashCode2 + (liveConfiguration != null ? liveConfiguration.hashCode() : 0)) * 31;
long j = this.presentationStartTimeMs;
int i = (hashCode3 + ((int) (j ^ (j >>> 32)))) * 31;
long j2 = this.windowStartTimeMs;
int i2 = (i + ((int) (j2 ^ (j2 >>> 32)))) * 31;
long j3 = this.elapsedRealtimeEpochOffsetMs;
int i3 = (((((((i2 + ((int) (j3 ^ (j3 >>> 32)))) * 31) + (this.isSeekable ? 1 : 0)) * 31) + (this.isDynamic ? 1 : 0)) * 31) + (this.isPlaceholder ? 1 : 0)) * 31;
long j4 = this.defaultPositionUs;
int i4 = (i3 + ((int) (j4 ^ (j4 >>> 32)))) * 31;
long j5 = this.durationUs;
int i5 = (((((i4 + ((int) (j5 ^ (j5 >>> 32)))) * 31) + this.firstPeriodIndex) * 31) + this.lastPeriodIndex) * 31;
long j6 = this.positionInFirstPeriodUs;
return i5 + ((int) (j6 ^ (j6 >>> 32)));
}
}

View File

@@ -0,0 +1,5 @@
package com.google.android.exoplayer2.decoder;
/* loaded from: classes2.dex */
public abstract class Buffer {
}

View File

@@ -0,0 +1,5 @@
package com.google.android.exoplayer2.decoder;
/* loaded from: classes2.dex */
public abstract class OutputBuffer extends Buffer {
}

View File

@@ -0,0 +1,6 @@
package com.google.android.exoplayer2.drm;
/* loaded from: classes2.dex */
public final class DefaultDrmSessionManagerProvider implements DrmSessionManagerProvider {
public final Object lock = new Object();
}

View File

@@ -0,0 +1,135 @@
package com.google.android.exoplayer2.drm;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.C;
import com.google.android.exoplayer2.util.Util;
import java.util.Arrays;
import java.util.Comparator;
import java.util.UUID;
/* loaded from: classes2.dex */
public final class DrmInitData implements Comparator<SchemeData>, Parcelable {
public static final Parcelable.Creator<DrmInitData> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.drm.DrmInitData.1
@Override // android.os.Parcelable.Creator
public DrmInitData createFromParcel(Parcel parcel) {
return new DrmInitData(parcel);
}
@Override // android.os.Parcelable.Creator
public DrmInitData[] newArray(int i) {
return new DrmInitData[i];
}
};
public int hashCode;
public final int schemeDataCount;
public final SchemeData[] schemeDatas;
public final String schemeType;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public DrmInitData(Parcel parcel) {
this.schemeType = parcel.readString();
SchemeData[] schemeDataArr = (SchemeData[]) Util.castNonNull((SchemeData[]) parcel.createTypedArray(SchemeData.CREATOR));
this.schemeDatas = schemeDataArr;
this.schemeDataCount = schemeDataArr.length;
}
public int hashCode() {
if (this.hashCode == 0) {
String str = this.schemeType;
this.hashCode = ((str == null ? 0 : str.hashCode()) * 31) + Arrays.hashCode(this.schemeDatas);
}
return this.hashCode;
}
@Override // java.util.Comparator
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || DrmInitData.class != obj.getClass()) {
return false;
}
DrmInitData drmInitData = (DrmInitData) obj;
return Util.areEqual(this.schemeType, drmInitData.schemeType) && Arrays.equals(this.schemeDatas, drmInitData.schemeDatas);
}
@Override // java.util.Comparator
public int compare(SchemeData schemeData, SchemeData schemeData2) {
UUID uuid = C.UUID_NIL;
if (uuid.equals(schemeData.uuid)) {
return uuid.equals(schemeData2.uuid) ? 0 : 1;
}
return schemeData.uuid.compareTo(schemeData2.uuid);
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeString(this.schemeType);
parcel.writeTypedArray(this.schemeDatas, 0);
}
public static final class SchemeData implements Parcelable {
public static final Parcelable.Creator<SchemeData> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.drm.DrmInitData.SchemeData.1
@Override // android.os.Parcelable.Creator
public SchemeData createFromParcel(Parcel parcel) {
return new SchemeData(parcel);
}
@Override // android.os.Parcelable.Creator
public SchemeData[] newArray(int i) {
return new SchemeData[i];
}
};
public final byte[] data;
public int hashCode;
public final String licenseServerUrl;
public final String mimeType;
public final UUID uuid;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public SchemeData(Parcel parcel) {
this.uuid = new UUID(parcel.readLong(), parcel.readLong());
this.licenseServerUrl = parcel.readString();
this.mimeType = (String) Util.castNonNull(parcel.readString());
this.data = parcel.createByteArray();
}
public boolean equals(Object obj) {
if (!(obj instanceof SchemeData)) {
return false;
}
if (obj == this) {
return true;
}
SchemeData schemeData = (SchemeData) obj;
return Util.areEqual(this.licenseServerUrl, schemeData.licenseServerUrl) && Util.areEqual(this.mimeType, schemeData.mimeType) && Util.areEqual(this.uuid, schemeData.uuid) && Arrays.equals(this.data, schemeData.data);
}
public int hashCode() {
if (this.hashCode == 0) {
int hashCode = this.uuid.hashCode() * 31;
String str = this.licenseServerUrl;
this.hashCode = ((((hashCode + (str == null ? 0 : str.hashCode())) * 31) + this.mimeType.hashCode()) * 31) + Arrays.hashCode(this.data);
}
return this.hashCode;
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeLong(this.uuid.getMostSignificantBits());
parcel.writeLong(this.uuid.getLeastSignificantBits());
parcel.writeString(this.licenseServerUrl);
parcel.writeString(this.mimeType);
parcel.writeByteArray(this.data);
}
}
}

View File

@@ -0,0 +1,5 @@
package com.google.android.exoplayer2.drm;
/* loaded from: classes2.dex */
public interface DrmSessionManagerProvider {
}

View File

@@ -0,0 +1,5 @@
package com.google.android.exoplayer2.drm;
/* loaded from: classes2.dex */
public abstract class UnsupportedMediaCrypto {
}

View File

@@ -0,0 +1,5 @@
package com.google.android.exoplayer2.extractor;
/* loaded from: classes2.dex */
public final class PositionHolder {
}

View File

@@ -0,0 +1,69 @@
package com.google.android.exoplayer2.metadata;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.Arrays;
/* loaded from: classes2.dex */
public final class Metadata implements Parcelable {
public static final Parcelable.Creator<Metadata> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.Metadata.1
@Override // android.os.Parcelable.Creator
public Metadata createFromParcel(Parcel parcel) {
return new Metadata(parcel);
}
@Override // android.os.Parcelable.Creator
public Metadata[] newArray(int i) {
return new Metadata[i];
}
};
public final Entry[] entries;
public interface Entry extends Parcelable {
}
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public Metadata(Parcel parcel) {
this.entries = new Entry[parcel.readInt()];
int i = 0;
while (true) {
Entry[] entryArr = this.entries;
if (i >= entryArr.length) {
return;
}
entryArr[i] = (Entry) parcel.readParcelable(Entry.class.getClassLoader());
i++;
}
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || Metadata.class != obj.getClass()) {
return false;
}
return Arrays.equals(this.entries, ((Metadata) obj).entries);
}
public int hashCode() {
return Arrays.hashCode(this.entries);
}
public String toString() {
String valueOf = String.valueOf(Arrays.toString(this.entries));
return valueOf.length() != 0 ? "entries=".concat(valueOf) : new String("entries=");
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeInt(this.entries.length);
for (Entry entry : this.entries) {
parcel.writeParcelable(entry, 0);
}
}
}

View File

@@ -0,0 +1,51 @@
package com.google.android.exoplayer2.metadata.dvbsi;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.metadata.Metadata;
import com.google.android.exoplayer2.util.Assertions;
/* loaded from: classes2.dex */
public final class AppInfoTable implements Metadata.Entry {
public static final Parcelable.Creator<AppInfoTable> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.dvbsi.AppInfoTable.1
@Override // android.os.Parcelable.Creator
public AppInfoTable createFromParcel(Parcel parcel) {
return new AppInfoTable(parcel.readInt(), (String) Assertions.checkNotNull(parcel.readString()));
}
@Override // android.os.Parcelable.Creator
public AppInfoTable[] newArray(int i) {
return new AppInfoTable[i];
}
};
public final int controlCode;
public final String url;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public AppInfoTable(int i, String str) {
this.controlCode = i;
this.url = str;
}
public String toString() {
int i = this.controlCode;
String str = this.url;
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 33);
sb.append("Ait(controlCode=");
sb.append(i);
sb.append(",url=");
sb.append(str);
sb.append(")");
return sb.toString();
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeString(this.url);
parcel.writeInt(this.controlCode);
}
}

View File

@@ -0,0 +1,97 @@
package com.google.android.exoplayer2.metadata.emsg;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.Format;
import com.google.android.exoplayer2.metadata.Metadata;
import com.google.android.exoplayer2.util.Util;
import com.ironsource.mediationsdk.logger.IronSourceError;
import com.mbridge.msdk.playercommon.exoplayer2.util.MimeTypes;
import java.util.Arrays;
/* loaded from: classes2.dex */
public final class EventMessage implements Metadata.Entry {
public final long durationMs;
public int hashCode;
public final long id;
public final byte[] messageData;
public final String schemeIdUri;
public final String value;
public static final Format ID3_FORMAT = new Format.Builder().setSampleMimeType(MimeTypes.APPLICATION_ID3).build();
public static final Format SCTE35_FORMAT = new Format.Builder().setSampleMimeType(MimeTypes.APPLICATION_SCTE35).build();
public static final Parcelable.Creator<EventMessage> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.emsg.EventMessage.1
@Override // android.os.Parcelable.Creator
public EventMessage createFromParcel(Parcel parcel) {
return new EventMessage(parcel);
}
@Override // android.os.Parcelable.Creator
public EventMessage[] newArray(int i) {
return new EventMessage[i];
}
};
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public EventMessage(Parcel parcel) {
this.schemeIdUri = (String) Util.castNonNull(parcel.readString());
this.value = (String) Util.castNonNull(parcel.readString());
this.durationMs = parcel.readLong();
this.id = parcel.readLong();
this.messageData = (byte[]) Util.castNonNull(parcel.createByteArray());
}
public int hashCode() {
if (this.hashCode == 0) {
String str = this.schemeIdUri;
int hashCode = (IronSourceError.ERROR_NON_EXISTENT_INSTANCE + (str != null ? str.hashCode() : 0)) * 31;
String str2 = this.value;
int hashCode2 = str2 != null ? str2.hashCode() : 0;
long j = this.durationMs;
int i = (((hashCode + hashCode2) * 31) + ((int) (j ^ (j >>> 32)))) * 31;
long j2 = this.id;
this.hashCode = ((i + ((int) (j2 ^ (j2 >>> 32)))) * 31) + Arrays.hashCode(this.messageData);
}
return this.hashCode;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || EventMessage.class != obj.getClass()) {
return false;
}
EventMessage eventMessage = (EventMessage) obj;
return this.durationMs == eventMessage.durationMs && this.id == eventMessage.id && Util.areEqual(this.schemeIdUri, eventMessage.schemeIdUri) && Util.areEqual(this.value, eventMessage.value) && Arrays.equals(this.messageData, eventMessage.messageData);
}
public String toString() {
String str = this.schemeIdUri;
long j = this.id;
long j2 = this.durationMs;
String str2 = this.value;
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 79 + String.valueOf(str2).length());
sb.append("EMSG: scheme=");
sb.append(str);
sb.append(", id=");
sb.append(j);
sb.append(", durationMs=");
sb.append(j2);
sb.append(", value=");
sb.append(str2);
return sb.toString();
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeString(this.schemeIdUri);
parcel.writeString(this.value);
parcel.writeLong(this.durationMs);
parcel.writeLong(this.id);
parcel.writeByteArray(this.messageData);
}
}

View File

@@ -0,0 +1,85 @@
package com.google.android.exoplayer2.metadata.flac;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.metadata.Metadata;
import com.google.android.exoplayer2.util.Util;
import com.ironsource.mediationsdk.logger.IronSourceError;
import java.util.Arrays;
/* loaded from: classes2.dex */
public final class PictureFrame implements Metadata.Entry {
public static final Parcelable.Creator<PictureFrame> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.flac.PictureFrame.1
@Override // android.os.Parcelable.Creator
public PictureFrame createFromParcel(Parcel parcel) {
return new PictureFrame(parcel);
}
@Override // android.os.Parcelable.Creator
public PictureFrame[] newArray(int i) {
return new PictureFrame[i];
}
};
public final int colors;
public final int depth;
public final String description;
public final int height;
public final String mimeType;
public final byte[] pictureData;
public final int pictureType;
public final int width;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public PictureFrame(Parcel parcel) {
this.pictureType = parcel.readInt();
this.mimeType = (String) Util.castNonNull(parcel.readString());
this.description = (String) Util.castNonNull(parcel.readString());
this.width = parcel.readInt();
this.height = parcel.readInt();
this.depth = parcel.readInt();
this.colors = parcel.readInt();
this.pictureData = (byte[]) Util.castNonNull(parcel.createByteArray());
}
public String toString() {
String str = this.mimeType;
String str2 = this.description;
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 32 + String.valueOf(str2).length());
sb.append("Picture: mimeType=");
sb.append(str);
sb.append(", description=");
sb.append(str2);
return sb.toString();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || PictureFrame.class != obj.getClass()) {
return false;
}
PictureFrame pictureFrame = (PictureFrame) obj;
return this.pictureType == pictureFrame.pictureType && this.mimeType.equals(pictureFrame.mimeType) && this.description.equals(pictureFrame.description) && this.width == pictureFrame.width && this.height == pictureFrame.height && this.depth == pictureFrame.depth && this.colors == pictureFrame.colors && Arrays.equals(this.pictureData, pictureFrame.pictureData);
}
public int hashCode() {
return ((((((((((((((IronSourceError.ERROR_NON_EXISTENT_INSTANCE + this.pictureType) * 31) + this.mimeType.hashCode()) * 31) + this.description.hashCode()) * 31) + this.width) * 31) + this.height) * 31) + this.depth) * 31) + this.colors) * 31) + Arrays.hashCode(this.pictureData);
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeInt(this.pictureType);
parcel.writeString(this.mimeType);
parcel.writeString(this.description);
parcel.writeInt(this.width);
parcel.writeInt(this.height);
parcel.writeInt(this.depth);
parcel.writeInt(this.colors);
parcel.writeByteArray(this.pictureData);
}
}

View File

@@ -0,0 +1,67 @@
package com.google.android.exoplayer2.metadata.flac;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.metadata.Metadata;
import com.google.android.exoplayer2.util.Util;
import com.ironsource.mediationsdk.logger.IronSourceError;
import com.ironsource.v8;
/* loaded from: classes2.dex */
public final class VorbisComment implements Metadata.Entry {
public static final Parcelable.Creator<VorbisComment> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.flac.VorbisComment.1
@Override // android.os.Parcelable.Creator
public VorbisComment createFromParcel(Parcel parcel) {
return new VorbisComment(parcel);
}
@Override // android.os.Parcelable.Creator
public VorbisComment[] newArray(int i) {
return new VorbisComment[i];
}
};
public final String key;
public final String value;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public VorbisComment(Parcel parcel) {
this.key = (String) Util.castNonNull(parcel.readString());
this.value = (String) Util.castNonNull(parcel.readString());
}
public String toString() {
String str = this.key;
String str2 = this.value;
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 5 + String.valueOf(str2).length());
sb.append("VC: ");
sb.append(str);
sb.append(v8.i.b);
sb.append(str2);
return sb.toString();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || VorbisComment.class != obj.getClass()) {
return false;
}
VorbisComment vorbisComment = (VorbisComment) obj;
return this.key.equals(vorbisComment.key) && this.value.equals(vorbisComment.value);
}
public int hashCode() {
return ((IronSourceError.ERROR_NON_EXISTENT_INSTANCE + this.key.hashCode()) * 31) + this.value.hashCode();
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeString(this.key);
parcel.writeString(this.value);
}
}

View File

@@ -0,0 +1,90 @@
package com.google.android.exoplayer2.metadata.icy;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.metadata.Metadata;
import com.google.android.exoplayer2.util.Util;
import com.ironsource.mediationsdk.logger.IronSourceError;
/* loaded from: classes2.dex */
public final class IcyHeaders implements Metadata.Entry {
public static final Parcelable.Creator<IcyHeaders> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.icy.IcyHeaders.1
@Override // android.os.Parcelable.Creator
public IcyHeaders createFromParcel(Parcel parcel) {
return new IcyHeaders(parcel);
}
@Override // android.os.Parcelable.Creator
public IcyHeaders[] newArray(int i) {
return new IcyHeaders[i];
}
};
public final int bitrate;
public final String genre;
public final boolean isPublic;
public final int metadataInterval;
public final String name;
public final String url;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public IcyHeaders(Parcel parcel) {
this.bitrate = parcel.readInt();
this.genre = parcel.readString();
this.name = parcel.readString();
this.url = parcel.readString();
this.isPublic = Util.readBoolean(parcel);
this.metadataInterval = parcel.readInt();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || IcyHeaders.class != obj.getClass()) {
return false;
}
IcyHeaders icyHeaders = (IcyHeaders) obj;
return this.bitrate == icyHeaders.bitrate && Util.areEqual(this.genre, icyHeaders.genre) && Util.areEqual(this.name, icyHeaders.name) && Util.areEqual(this.url, icyHeaders.url) && this.isPublic == icyHeaders.isPublic && this.metadataInterval == icyHeaders.metadataInterval;
}
public int hashCode() {
int i = (IronSourceError.ERROR_NON_EXISTENT_INSTANCE + this.bitrate) * 31;
String str = this.genre;
int hashCode = (i + (str != null ? str.hashCode() : 0)) * 31;
String str2 = this.name;
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
String str3 = this.url;
return ((((hashCode2 + (str3 != null ? str3.hashCode() : 0)) * 31) + (this.isPublic ? 1 : 0)) * 31) + this.metadataInterval;
}
public String toString() {
String str = this.name;
String str2 = this.genre;
int i = this.bitrate;
int i2 = this.metadataInterval;
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 80 + String.valueOf(str2).length());
sb.append("IcyHeaders: name=\"");
sb.append(str);
sb.append("\", genre=\"");
sb.append(str2);
sb.append("\", bitrate=");
sb.append(i);
sb.append(", metadataInterval=");
sb.append(i2);
return sb.toString();
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeInt(this.bitrate);
parcel.writeString(this.genre);
parcel.writeString(this.name);
parcel.writeString(this.url);
Util.writeBoolean(parcel, this.isPublic);
parcel.writeInt(this.metadataInterval);
}
}

View File

@@ -0,0 +1,61 @@
package com.google.android.exoplayer2.metadata.icy;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.metadata.Metadata;
import com.google.android.exoplayer2.util.Assertions;
import java.util.Arrays;
/* loaded from: classes2.dex */
public final class IcyInfo implements Metadata.Entry {
public static final Parcelable.Creator<IcyInfo> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.icy.IcyInfo.1
@Override // android.os.Parcelable.Creator
public IcyInfo createFromParcel(Parcel parcel) {
return new IcyInfo(parcel);
}
@Override // android.os.Parcelable.Creator
public IcyInfo[] newArray(int i) {
return new IcyInfo[i];
}
};
public final byte[] rawMetadata;
public final String title;
public final String url;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public IcyInfo(Parcel parcel) {
this.rawMetadata = (byte[]) Assertions.checkNotNull(parcel.createByteArray());
this.title = parcel.readString();
this.url = parcel.readString();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || IcyInfo.class != obj.getClass()) {
return false;
}
return Arrays.equals(this.rawMetadata, ((IcyInfo) obj).rawMetadata);
}
public int hashCode() {
return Arrays.hashCode(this.rawMetadata);
}
public String toString() {
return String.format("ICY: title=\"%s\", url=\"%s\", rawMetadata.length=\"%s\"", this.title, this.url, Integer.valueOf(this.rawMetadata.length));
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeByteArray(this.rawMetadata);
parcel.writeString(this.title);
parcel.writeString(this.url);
}
}

View File

@@ -0,0 +1,75 @@
package com.google.android.exoplayer2.metadata.id3;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.util.Util;
import com.ironsource.mediationsdk.logger.IronSourceError;
import java.util.Arrays;
/* loaded from: classes2.dex */
public final class ApicFrame extends Id3Frame {
public static final Parcelable.Creator<ApicFrame> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.id3.ApicFrame.1
@Override // android.os.Parcelable.Creator
public ApicFrame createFromParcel(Parcel parcel) {
return new ApicFrame(parcel);
}
@Override // android.os.Parcelable.Creator
public ApicFrame[] newArray(int i) {
return new ApicFrame[i];
}
};
public final String description;
public final String mimeType;
public final byte[] pictureData;
public final int pictureType;
public ApicFrame(Parcel parcel) {
super(com.mbridge.msdk.playercommon.exoplayer2.metadata.id3.ApicFrame.ID);
this.mimeType = (String) Util.castNonNull(parcel.readString());
this.description = parcel.readString();
this.pictureType = parcel.readInt();
this.pictureData = (byte[]) Util.castNonNull(parcel.createByteArray());
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || ApicFrame.class != obj.getClass()) {
return false;
}
ApicFrame apicFrame = (ApicFrame) obj;
return this.pictureType == apicFrame.pictureType && Util.areEqual(this.mimeType, apicFrame.mimeType) && Util.areEqual(this.description, apicFrame.description) && Arrays.equals(this.pictureData, apicFrame.pictureData);
}
public int hashCode() {
int i = (IronSourceError.ERROR_NON_EXISTENT_INSTANCE + this.pictureType) * 31;
String str = this.mimeType;
int hashCode = (i + (str != null ? str.hashCode() : 0)) * 31;
String str2 = this.description;
return ((hashCode + (str2 != null ? str2.hashCode() : 0)) * 31) + Arrays.hashCode(this.pictureData);
}
@Override // com.google.android.exoplayer2.metadata.id3.Id3Frame
public String toString() {
String str = this.id;
String str2 = this.mimeType;
String str3 = this.description;
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 25 + String.valueOf(str2).length() + String.valueOf(str3).length());
sb.append(str);
sb.append(": mimeType=");
sb.append(str2);
sb.append(", description=");
sb.append(str3);
return sb.toString();
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeString(this.mimeType);
parcel.writeString(this.description);
parcel.writeInt(this.pictureType);
parcel.writeByteArray(this.pictureData);
}
}

View File

@@ -0,0 +1,49 @@
package com.google.android.exoplayer2.metadata.id3;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.util.Util;
import com.ironsource.mediationsdk.logger.IronSourceError;
import java.util.Arrays;
/* loaded from: classes2.dex */
public final class BinaryFrame extends Id3Frame {
public static final Parcelable.Creator<BinaryFrame> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.id3.BinaryFrame.1
@Override // android.os.Parcelable.Creator
public BinaryFrame createFromParcel(Parcel parcel) {
return new BinaryFrame(parcel);
}
@Override // android.os.Parcelable.Creator
public BinaryFrame[] newArray(int i) {
return new BinaryFrame[i];
}
};
public final byte[] data;
public BinaryFrame(Parcel parcel) {
super((String) Util.castNonNull(parcel.readString()));
this.data = (byte[]) Util.castNonNull(parcel.createByteArray());
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || BinaryFrame.class != obj.getClass()) {
return false;
}
BinaryFrame binaryFrame = (BinaryFrame) obj;
return this.id.equals(binaryFrame.id) && Arrays.equals(this.data, binaryFrame.data);
}
public int hashCode() {
return ((IronSourceError.ERROR_NON_EXISTENT_INSTANCE + this.id.hashCode()) * 31) + Arrays.hashCode(this.data);
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeString(this.id);
parcel.writeByteArray(this.data);
}
}

View File

@@ -0,0 +1,77 @@
package com.google.android.exoplayer2.metadata.id3;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.util.Util;
import com.ironsource.mediationsdk.logger.IronSourceError;
import java.util.Arrays;
/* loaded from: classes2.dex */
public final class ChapterFrame extends Id3Frame {
public static final Parcelable.Creator<ChapterFrame> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.id3.ChapterFrame.1
@Override // android.os.Parcelable.Creator
public ChapterFrame createFromParcel(Parcel parcel) {
return new ChapterFrame(parcel);
}
@Override // android.os.Parcelable.Creator
public ChapterFrame[] newArray(int i) {
return new ChapterFrame[i];
}
};
public final String chapterId;
public final long endOffset;
public final int endTimeMs;
public final long startOffset;
public final int startTimeMs;
public final Id3Frame[] subFrames;
@Override // com.google.android.exoplayer2.metadata.id3.Id3Frame, android.os.Parcelable
public int describeContents() {
return 0;
}
public ChapterFrame(Parcel parcel) {
super(com.mbridge.msdk.playercommon.exoplayer2.metadata.id3.ChapterFrame.ID);
this.chapterId = (String) Util.castNonNull(parcel.readString());
this.startTimeMs = parcel.readInt();
this.endTimeMs = parcel.readInt();
this.startOffset = parcel.readLong();
this.endOffset = parcel.readLong();
int readInt = parcel.readInt();
this.subFrames = new Id3Frame[readInt];
for (int i = 0; i < readInt; i++) {
this.subFrames[i] = (Id3Frame) parcel.readParcelable(Id3Frame.class.getClassLoader());
}
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || ChapterFrame.class != obj.getClass()) {
return false;
}
ChapterFrame chapterFrame = (ChapterFrame) obj;
return this.startTimeMs == chapterFrame.startTimeMs && this.endTimeMs == chapterFrame.endTimeMs && this.startOffset == chapterFrame.startOffset && this.endOffset == chapterFrame.endOffset && Util.areEqual(this.chapterId, chapterFrame.chapterId) && Arrays.equals(this.subFrames, chapterFrame.subFrames);
}
public int hashCode() {
int i = (((((((IronSourceError.ERROR_NON_EXISTENT_INSTANCE + this.startTimeMs) * 31) + this.endTimeMs) * 31) + ((int) this.startOffset)) * 31) + ((int) this.endOffset)) * 31;
String str = this.chapterId;
return i + (str != null ? str.hashCode() : 0);
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeString(this.chapterId);
parcel.writeInt(this.startTimeMs);
parcel.writeInt(this.endTimeMs);
parcel.writeLong(this.startOffset);
parcel.writeLong(this.endOffset);
parcel.writeInt(this.subFrames.length);
for (Id3Frame id3Frame : this.subFrames) {
parcel.writeParcelable(id3Frame, 0);
}
}
}

View File

@@ -0,0 +1,69 @@
package com.google.android.exoplayer2.metadata.id3;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.util.Util;
import com.ironsource.mediationsdk.logger.IronSourceError;
import java.util.Arrays;
/* loaded from: classes2.dex */
public final class ChapterTocFrame extends Id3Frame {
public static final Parcelable.Creator<ChapterTocFrame> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.id3.ChapterTocFrame.1
@Override // android.os.Parcelable.Creator
public ChapterTocFrame createFromParcel(Parcel parcel) {
return new ChapterTocFrame(parcel);
}
@Override // android.os.Parcelable.Creator
public ChapterTocFrame[] newArray(int i) {
return new ChapterTocFrame[i];
}
};
public final String[] children;
public final String elementId;
public final boolean isOrdered;
public final boolean isRoot;
public final Id3Frame[] subFrames;
public ChapterTocFrame(Parcel parcel) {
super(com.mbridge.msdk.playercommon.exoplayer2.metadata.id3.ChapterTocFrame.ID);
this.elementId = (String) Util.castNonNull(parcel.readString());
this.isRoot = parcel.readByte() != 0;
this.isOrdered = parcel.readByte() != 0;
this.children = (String[]) Util.castNonNull(parcel.createStringArray());
int readInt = parcel.readInt();
this.subFrames = new Id3Frame[readInt];
for (int i = 0; i < readInt; i++) {
this.subFrames[i] = (Id3Frame) parcel.readParcelable(Id3Frame.class.getClassLoader());
}
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || ChapterTocFrame.class != obj.getClass()) {
return false;
}
ChapterTocFrame chapterTocFrame = (ChapterTocFrame) obj;
return this.isRoot == chapterTocFrame.isRoot && this.isOrdered == chapterTocFrame.isOrdered && Util.areEqual(this.elementId, chapterTocFrame.elementId) && Arrays.equals(this.children, chapterTocFrame.children) && Arrays.equals(this.subFrames, chapterTocFrame.subFrames);
}
public int hashCode() {
int i = (((IronSourceError.ERROR_NON_EXISTENT_INSTANCE + (this.isRoot ? 1 : 0)) * 31) + (this.isOrdered ? 1 : 0)) * 31;
String str = this.elementId;
return i + (str != null ? str.hashCode() : 0);
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeString(this.elementId);
parcel.writeByte(this.isRoot ? (byte) 1 : (byte) 0);
parcel.writeByte(this.isOrdered ? (byte) 1 : (byte) 0);
parcel.writeStringArray(this.children);
parcel.writeInt(this.subFrames.length);
for (Id3Frame id3Frame : this.subFrames) {
parcel.writeParcelable(id3Frame, 0);
}
}
}

View File

@@ -0,0 +1,72 @@
package com.google.android.exoplayer2.metadata.id3;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.util.Util;
import com.ironsource.mediationsdk.logger.IronSourceError;
/* loaded from: classes2.dex */
public final class CommentFrame extends Id3Frame {
public static final Parcelable.Creator<CommentFrame> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.id3.CommentFrame.1
@Override // android.os.Parcelable.Creator
public CommentFrame createFromParcel(Parcel parcel) {
return new CommentFrame(parcel);
}
@Override // android.os.Parcelable.Creator
public CommentFrame[] newArray(int i) {
return new CommentFrame[i];
}
};
public final String description;
public final String language;
public final String text;
public CommentFrame(Parcel parcel) {
super(com.mbridge.msdk.playercommon.exoplayer2.metadata.id3.CommentFrame.ID);
this.language = (String) Util.castNonNull(parcel.readString());
this.description = (String) Util.castNonNull(parcel.readString());
this.text = (String) Util.castNonNull(parcel.readString());
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || CommentFrame.class != obj.getClass()) {
return false;
}
CommentFrame commentFrame = (CommentFrame) obj;
return Util.areEqual(this.description, commentFrame.description) && Util.areEqual(this.language, commentFrame.language) && Util.areEqual(this.text, commentFrame.text);
}
public int hashCode() {
String str = this.language;
int hashCode = (IronSourceError.ERROR_NON_EXISTENT_INSTANCE + (str != null ? str.hashCode() : 0)) * 31;
String str2 = this.description;
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
String str3 = this.text;
return hashCode2 + (str3 != null ? str3.hashCode() : 0);
}
@Override // com.google.android.exoplayer2.metadata.id3.Id3Frame
public String toString() {
String str = this.id;
String str2 = this.language;
String str3 = this.description;
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 25 + String.valueOf(str2).length() + String.valueOf(str3).length());
sb.append(str);
sb.append(": language=");
sb.append(str2);
sb.append(", description=");
sb.append(str3);
return sb.toString();
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeString(this.id);
parcel.writeString(this.language);
parcel.writeString(this.text);
}
}

View File

@@ -0,0 +1,79 @@
package com.google.android.exoplayer2.metadata.id3;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.util.Util;
import com.ironsource.mediationsdk.logger.IronSourceError;
import java.util.Arrays;
/* loaded from: classes2.dex */
public final class GeobFrame extends Id3Frame {
public static final Parcelable.Creator<GeobFrame> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.id3.GeobFrame.1
@Override // android.os.Parcelable.Creator
public GeobFrame createFromParcel(Parcel parcel) {
return new GeobFrame(parcel);
}
@Override // android.os.Parcelable.Creator
public GeobFrame[] newArray(int i) {
return new GeobFrame[i];
}
};
public final byte[] data;
public final String description;
public final String filename;
public final String mimeType;
public GeobFrame(Parcel parcel) {
super(com.mbridge.msdk.playercommon.exoplayer2.metadata.id3.GeobFrame.ID);
this.mimeType = (String) Util.castNonNull(parcel.readString());
this.filename = (String) Util.castNonNull(parcel.readString());
this.description = (String) Util.castNonNull(parcel.readString());
this.data = (byte[]) Util.castNonNull(parcel.createByteArray());
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || GeobFrame.class != obj.getClass()) {
return false;
}
GeobFrame geobFrame = (GeobFrame) obj;
return Util.areEqual(this.mimeType, geobFrame.mimeType) && Util.areEqual(this.filename, geobFrame.filename) && Util.areEqual(this.description, geobFrame.description) && Arrays.equals(this.data, geobFrame.data);
}
public int hashCode() {
String str = this.mimeType;
int hashCode = (IronSourceError.ERROR_NON_EXISTENT_INSTANCE + (str != null ? str.hashCode() : 0)) * 31;
String str2 = this.filename;
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
String str3 = this.description;
return ((hashCode2 + (str3 != null ? str3.hashCode() : 0)) * 31) + Arrays.hashCode(this.data);
}
@Override // com.google.android.exoplayer2.metadata.id3.Id3Frame
public String toString() {
String str = this.id;
String str2 = this.mimeType;
String str3 = this.filename;
String str4 = this.description;
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 36 + String.valueOf(str2).length() + String.valueOf(str3).length() + String.valueOf(str4).length());
sb.append(str);
sb.append(": mimeType=");
sb.append(str2);
sb.append(", filename=");
sb.append(str3);
sb.append(", description=");
sb.append(str4);
return sb.toString();
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeString(this.mimeType);
parcel.writeString(this.filename);
parcel.writeString(this.description);
parcel.writeByteArray(this.data);
}
}

View File

@@ -0,0 +1,21 @@
package com.google.android.exoplayer2.metadata.id3;
import com.google.android.exoplayer2.metadata.Metadata;
/* loaded from: classes2.dex */
public abstract class Id3Frame implements Metadata.Entry {
public final String id;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public String toString() {
return this.id;
}
public Id3Frame(String str) {
this.id = str;
}
}

View File

@@ -0,0 +1,72 @@
package com.google.android.exoplayer2.metadata.id3;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.util.Util;
import com.ironsource.mediationsdk.logger.IronSourceError;
/* loaded from: classes2.dex */
public final class InternalFrame extends Id3Frame {
public static final Parcelable.Creator<InternalFrame> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.id3.InternalFrame.1
@Override // android.os.Parcelable.Creator
public InternalFrame createFromParcel(Parcel parcel) {
return new InternalFrame(parcel);
}
@Override // android.os.Parcelable.Creator
public InternalFrame[] newArray(int i) {
return new InternalFrame[i];
}
};
public final String description;
public final String domain;
public final String text;
public InternalFrame(Parcel parcel) {
super(com.mbridge.msdk.playercommon.exoplayer2.metadata.id3.InternalFrame.ID);
this.domain = (String) Util.castNonNull(parcel.readString());
this.description = (String) Util.castNonNull(parcel.readString());
this.text = (String) Util.castNonNull(parcel.readString());
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || InternalFrame.class != obj.getClass()) {
return false;
}
InternalFrame internalFrame = (InternalFrame) obj;
return Util.areEqual(this.description, internalFrame.description) && Util.areEqual(this.domain, internalFrame.domain) && Util.areEqual(this.text, internalFrame.text);
}
public int hashCode() {
String str = this.domain;
int hashCode = (IronSourceError.ERROR_NON_EXISTENT_INSTANCE + (str != null ? str.hashCode() : 0)) * 31;
String str2 = this.description;
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
String str3 = this.text;
return hashCode2 + (str3 != null ? str3.hashCode() : 0);
}
@Override // com.google.android.exoplayer2.metadata.id3.Id3Frame
public String toString() {
String str = this.id;
String str2 = this.domain;
String str3 = this.description;
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 23 + String.valueOf(str2).length() + String.valueOf(str3).length());
sb.append(str);
sb.append(": domain=");
sb.append(str2);
sb.append(", description=");
sb.append(str3);
return sb.toString();
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeString(this.id);
parcel.writeString(this.domain);
parcel.writeString(this.text);
}
}

View File

@@ -0,0 +1,65 @@
package com.google.android.exoplayer2.metadata.id3;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.util.Util;
import com.ironsource.mediationsdk.logger.IronSourceError;
import java.util.Arrays;
/* loaded from: classes2.dex */
public final class MlltFrame extends Id3Frame {
public static final Parcelable.Creator<MlltFrame> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.id3.MlltFrame.1
@Override // android.os.Parcelable.Creator
public MlltFrame createFromParcel(Parcel parcel) {
return new MlltFrame(parcel);
}
@Override // android.os.Parcelable.Creator
public MlltFrame[] newArray(int i) {
return new MlltFrame[i];
}
};
public final int bytesBetweenReference;
public final int[] bytesDeviations;
public final int millisecondsBetweenReference;
public final int[] millisecondsDeviations;
public final int mpegFramesBetweenReference;
@Override // com.google.android.exoplayer2.metadata.id3.Id3Frame, android.os.Parcelable
public int describeContents() {
return 0;
}
public MlltFrame(Parcel parcel) {
super("MLLT");
this.mpegFramesBetweenReference = parcel.readInt();
this.bytesBetweenReference = parcel.readInt();
this.millisecondsBetweenReference = parcel.readInt();
this.bytesDeviations = (int[]) Util.castNonNull(parcel.createIntArray());
this.millisecondsDeviations = (int[]) Util.castNonNull(parcel.createIntArray());
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || MlltFrame.class != obj.getClass()) {
return false;
}
MlltFrame mlltFrame = (MlltFrame) obj;
return this.mpegFramesBetweenReference == mlltFrame.mpegFramesBetweenReference && this.bytesBetweenReference == mlltFrame.bytesBetweenReference && this.millisecondsBetweenReference == mlltFrame.millisecondsBetweenReference && Arrays.equals(this.bytesDeviations, mlltFrame.bytesDeviations) && Arrays.equals(this.millisecondsDeviations, mlltFrame.millisecondsDeviations);
}
public int hashCode() {
return ((((((((IronSourceError.ERROR_NON_EXISTENT_INSTANCE + this.mpegFramesBetweenReference) * 31) + this.bytesBetweenReference) * 31) + this.millisecondsBetweenReference) * 31) + Arrays.hashCode(this.bytesDeviations)) * 31) + Arrays.hashCode(this.millisecondsDeviations);
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeInt(this.mpegFramesBetweenReference);
parcel.writeInt(this.bytesBetweenReference);
parcel.writeInt(this.millisecondsBetweenReference);
parcel.writeIntArray(this.bytesDeviations);
parcel.writeIntArray(this.millisecondsDeviations);
}
}

View File

@@ -0,0 +1,63 @@
package com.google.android.exoplayer2.metadata.id3;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.util.Util;
import com.ironsource.mediationsdk.logger.IronSourceError;
import java.util.Arrays;
/* loaded from: classes2.dex */
public final class PrivFrame extends Id3Frame {
public static final Parcelable.Creator<PrivFrame> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.id3.PrivFrame.1
@Override // android.os.Parcelable.Creator
public PrivFrame createFromParcel(Parcel parcel) {
return new PrivFrame(parcel);
}
@Override // android.os.Parcelable.Creator
public PrivFrame[] newArray(int i) {
return new PrivFrame[i];
}
};
public final String owner;
public final byte[] privateData;
public PrivFrame(Parcel parcel) {
super(com.mbridge.msdk.playercommon.exoplayer2.metadata.id3.PrivFrame.ID);
this.owner = (String) Util.castNonNull(parcel.readString());
this.privateData = (byte[]) Util.castNonNull(parcel.createByteArray());
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || PrivFrame.class != obj.getClass()) {
return false;
}
PrivFrame privFrame = (PrivFrame) obj;
return Util.areEqual(this.owner, privFrame.owner) && Arrays.equals(this.privateData, privFrame.privateData);
}
public int hashCode() {
String str = this.owner;
return ((IronSourceError.ERROR_NON_EXISTENT_INSTANCE + (str != null ? str.hashCode() : 0)) * 31) + Arrays.hashCode(this.privateData);
}
@Override // com.google.android.exoplayer2.metadata.id3.Id3Frame
public String toString() {
String str = this.id;
String str2 = this.owner;
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 8 + String.valueOf(str2).length());
sb.append(str);
sb.append(": owner=");
sb.append(str2);
return sb.toString();
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeString(this.owner);
parcel.writeByteArray(this.privateData);
}
}

View File

@@ -0,0 +1,69 @@
package com.google.android.exoplayer2.metadata.id3;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.util.Util;
import com.ironsource.mediationsdk.logger.IronSourceError;
/* loaded from: classes2.dex */
public final class TextInformationFrame extends Id3Frame {
public static final Parcelable.Creator<TextInformationFrame> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.id3.TextInformationFrame.1
@Override // android.os.Parcelable.Creator
public TextInformationFrame createFromParcel(Parcel parcel) {
return new TextInformationFrame(parcel);
}
@Override // android.os.Parcelable.Creator
public TextInformationFrame[] newArray(int i) {
return new TextInformationFrame[i];
}
};
public final String description;
public final String value;
public TextInformationFrame(Parcel parcel) {
super((String) Util.castNonNull(parcel.readString()));
this.description = parcel.readString();
this.value = (String) Util.castNonNull(parcel.readString());
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || TextInformationFrame.class != obj.getClass()) {
return false;
}
TextInformationFrame textInformationFrame = (TextInformationFrame) obj;
return Util.areEqual(this.id, textInformationFrame.id) && Util.areEqual(this.description, textInformationFrame.description) && Util.areEqual(this.value, textInformationFrame.value);
}
public int hashCode() {
int hashCode = (IronSourceError.ERROR_NON_EXISTENT_INSTANCE + this.id.hashCode()) * 31;
String str = this.description;
int hashCode2 = (hashCode + (str != null ? str.hashCode() : 0)) * 31;
String str2 = this.value;
return hashCode2 + (str2 != null ? str2.hashCode() : 0);
}
@Override // com.google.android.exoplayer2.metadata.id3.Id3Frame
public String toString() {
String str = this.id;
String str2 = this.description;
String str3 = this.value;
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 22 + String.valueOf(str2).length() + String.valueOf(str3).length());
sb.append(str);
sb.append(": description=");
sb.append(str2);
sb.append(": value=");
sb.append(str3);
return sb.toString();
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeString(this.id);
parcel.writeString(this.description);
parcel.writeString(this.value);
}
}

View File

@@ -0,0 +1,66 @@
package com.google.android.exoplayer2.metadata.id3;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.util.Util;
import com.ironsource.mediationsdk.logger.IronSourceError;
/* loaded from: classes2.dex */
public final class UrlLinkFrame extends Id3Frame {
public static final Parcelable.Creator<UrlLinkFrame> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.id3.UrlLinkFrame.1
@Override // android.os.Parcelable.Creator
public UrlLinkFrame createFromParcel(Parcel parcel) {
return new UrlLinkFrame(parcel);
}
@Override // android.os.Parcelable.Creator
public UrlLinkFrame[] newArray(int i) {
return new UrlLinkFrame[i];
}
};
public final String description;
public final String url;
public UrlLinkFrame(Parcel parcel) {
super((String) Util.castNonNull(parcel.readString()));
this.description = parcel.readString();
this.url = (String) Util.castNonNull(parcel.readString());
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || UrlLinkFrame.class != obj.getClass()) {
return false;
}
UrlLinkFrame urlLinkFrame = (UrlLinkFrame) obj;
return this.id.equals(urlLinkFrame.id) && Util.areEqual(this.description, urlLinkFrame.description) && Util.areEqual(this.url, urlLinkFrame.url);
}
public int hashCode() {
int hashCode = (IronSourceError.ERROR_NON_EXISTENT_INSTANCE + this.id.hashCode()) * 31;
String str = this.description;
int hashCode2 = (hashCode + (str != null ? str.hashCode() : 0)) * 31;
String str2 = this.url;
return hashCode2 + (str2 != null ? str2.hashCode() : 0);
}
@Override // com.google.android.exoplayer2.metadata.id3.Id3Frame
public String toString() {
String str = this.id;
String str2 = this.url;
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 6 + String.valueOf(str2).length());
sb.append(str);
sb.append(": url=");
sb.append(str2);
return sb.toString();
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeString(this.id);
parcel.writeString(this.description);
parcel.writeString(this.url);
}
}

View File

@@ -0,0 +1,67 @@
package com.google.android.exoplayer2.metadata.mp4;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.metadata.Metadata;
import com.google.android.exoplayer2.util.Util;
import com.ironsource.mediationsdk.logger.IronSourceError;
import java.util.Arrays;
/* loaded from: classes2.dex */
public final class MdtaMetadataEntry implements Metadata.Entry {
public static final Parcelable.Creator<MdtaMetadataEntry> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.mp4.MdtaMetadataEntry.1
@Override // android.os.Parcelable.Creator
public MdtaMetadataEntry createFromParcel(Parcel parcel) {
return new MdtaMetadataEntry(parcel);
}
@Override // android.os.Parcelable.Creator
public MdtaMetadataEntry[] newArray(int i) {
return new MdtaMetadataEntry[i];
}
};
public final String key;
public final int localeIndicator;
public final int typeIndicator;
public final byte[] value;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public MdtaMetadataEntry(Parcel parcel) {
this.key = (String) Util.castNonNull(parcel.readString());
this.value = (byte[]) Util.castNonNull(parcel.createByteArray());
this.localeIndicator = parcel.readInt();
this.typeIndicator = parcel.readInt();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || MdtaMetadataEntry.class != obj.getClass()) {
return false;
}
MdtaMetadataEntry mdtaMetadataEntry = (MdtaMetadataEntry) obj;
return this.key.equals(mdtaMetadataEntry.key) && Arrays.equals(this.value, mdtaMetadataEntry.value) && this.localeIndicator == mdtaMetadataEntry.localeIndicator && this.typeIndicator == mdtaMetadataEntry.typeIndicator;
}
public int hashCode() {
return ((((((IronSourceError.ERROR_NON_EXISTENT_INSTANCE + this.key.hashCode()) * 31) + Arrays.hashCode(this.value)) * 31) + this.localeIndicator) * 31) + this.typeIndicator;
}
public String toString() {
String valueOf = String.valueOf(this.key);
return valueOf.length() != 0 ? "mdta: key=".concat(valueOf) : new String("mdta: key=");
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeString(this.key);
parcel.writeByteArray(this.value);
parcel.writeInt(this.localeIndicator);
parcel.writeInt(this.typeIndicator);
}
}

View File

@@ -0,0 +1,84 @@
package com.google.android.exoplayer2.metadata.mp4;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.metadata.Metadata;
import com.google.common.primitives.Longs;
import com.ironsource.mediationsdk.logger.IronSourceError;
/* loaded from: classes2.dex */
public final class MotionPhotoMetadata implements Metadata.Entry {
public static final Parcelable.Creator<MotionPhotoMetadata> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.mp4.MotionPhotoMetadata.1
@Override // android.os.Parcelable.Creator
public MotionPhotoMetadata createFromParcel(Parcel parcel) {
return new MotionPhotoMetadata(parcel);
}
@Override // android.os.Parcelable.Creator
public MotionPhotoMetadata[] newArray(int i) {
return new MotionPhotoMetadata[i];
}
};
public final long photoPresentationTimestampUs;
public final long photoSize;
public final long photoStartPosition;
public final long videoSize;
public final long videoStartPosition;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public MotionPhotoMetadata(Parcel parcel) {
this.photoStartPosition = parcel.readLong();
this.photoSize = parcel.readLong();
this.photoPresentationTimestampUs = parcel.readLong();
this.videoStartPosition = parcel.readLong();
this.videoSize = parcel.readLong();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || MotionPhotoMetadata.class != obj.getClass()) {
return false;
}
MotionPhotoMetadata motionPhotoMetadata = (MotionPhotoMetadata) obj;
return this.photoStartPosition == motionPhotoMetadata.photoStartPosition && this.photoSize == motionPhotoMetadata.photoSize && this.photoPresentationTimestampUs == motionPhotoMetadata.photoPresentationTimestampUs && this.videoStartPosition == motionPhotoMetadata.videoStartPosition && this.videoSize == motionPhotoMetadata.videoSize;
}
public int hashCode() {
return ((((((((IronSourceError.ERROR_NON_EXISTENT_INSTANCE + Longs.hashCode(this.photoStartPosition)) * 31) + Longs.hashCode(this.photoSize)) * 31) + Longs.hashCode(this.photoPresentationTimestampUs)) * 31) + Longs.hashCode(this.videoStartPosition)) * 31) + Longs.hashCode(this.videoSize);
}
public String toString() {
long j = this.photoStartPosition;
long j2 = this.photoSize;
long j3 = this.photoPresentationTimestampUs;
long j4 = this.videoStartPosition;
long j5 = this.videoSize;
StringBuilder sb = new StringBuilder(218);
sb.append("Motion photo metadata: photoStartPosition=");
sb.append(j);
sb.append(", photoSize=");
sb.append(j2);
sb.append(", photoPresentationTimestampUs=");
sb.append(j3);
sb.append(", videoStartPosition=");
sb.append(j4);
sb.append(", videoSize=");
sb.append(j5);
return sb.toString();
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeLong(this.photoStartPosition);
parcel.writeLong(this.photoSize);
parcel.writeLong(this.photoPresentationTimestampUs);
parcel.writeLong(this.videoStartPosition);
parcel.writeLong(this.videoSize);
}
}

View File

@@ -0,0 +1,149 @@
package com.google.android.exoplayer2.metadata.mp4;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.metadata.Metadata;
import com.google.android.exoplayer2.metadata.mp4.SlowMotionData;
import com.google.android.exoplayer2.util.Assertions;
import com.google.android.exoplayer2.util.Util;
import com.google.common.base.Objects;
import com.google.common.collect.ComparisonChain;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
/* loaded from: classes2.dex */
public final class SlowMotionData implements Metadata.Entry {
public static final Parcelable.Creator<SlowMotionData> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.mp4.SlowMotionData.1
@Override // android.os.Parcelable.Creator
public SlowMotionData createFromParcel(Parcel parcel) {
ArrayList arrayList = new ArrayList();
parcel.readList(arrayList, Segment.class.getClassLoader());
return new SlowMotionData(arrayList);
}
@Override // android.os.Parcelable.Creator
public SlowMotionData[] newArray(int i) {
return new SlowMotionData[i];
}
};
public final List segments;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public static final class Segment implements Parcelable {
public static final Comparator BY_START_THEN_END_THEN_DIVISOR = new Comparator() { // from class: com.google.android.exoplayer2.metadata.mp4.SlowMotionData$Segment$$ExternalSyntheticLambda0
@Override // java.util.Comparator
public final int compare(Object obj, Object obj2) {
int lambda$static$0;
lambda$static$0 = SlowMotionData.Segment.lambda$static$0((SlowMotionData.Segment) obj, (SlowMotionData.Segment) obj2);
return lambda$static$0;
}
};
public static final Parcelable.Creator<Segment> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.mp4.SlowMotionData.Segment.1
@Override // android.os.Parcelable.Creator
public Segment createFromParcel(Parcel parcel) {
return new Segment(parcel.readLong(), parcel.readLong(), parcel.readInt());
}
@Override // android.os.Parcelable.Creator
public Segment[] newArray(int i) {
return new Segment[i];
}
};
public final long endTimeMs;
public final int speedDivisor;
public final long startTimeMs;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public static /* synthetic */ int lambda$static$0(Segment segment, Segment segment2) {
return ComparisonChain.start().compare(segment.startTimeMs, segment2.startTimeMs).compare(segment.endTimeMs, segment2.endTimeMs).compare(segment.speedDivisor, segment2.speedDivisor).result();
}
public Segment(long j, long j2, int i) {
Assertions.checkArgument(j < j2);
this.startTimeMs = j;
this.endTimeMs = j2;
this.speedDivisor = i;
}
public String toString() {
return Util.formatInvariant("Segment: startTimeMs=%d, endTimeMs=%d, speedDivisor=%d", Long.valueOf(this.startTimeMs), Long.valueOf(this.endTimeMs), Integer.valueOf(this.speedDivisor));
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || Segment.class != obj.getClass()) {
return false;
}
Segment segment = (Segment) obj;
return this.startTimeMs == segment.startTimeMs && this.endTimeMs == segment.endTimeMs && this.speedDivisor == segment.speedDivisor;
}
public int hashCode() {
return Objects.hashCode(Long.valueOf(this.startTimeMs), Long.valueOf(this.endTimeMs), Integer.valueOf(this.speedDivisor));
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeLong(this.startTimeMs);
parcel.writeLong(this.endTimeMs);
parcel.writeInt(this.speedDivisor);
}
}
public SlowMotionData(List list) {
this.segments = list;
Assertions.checkArgument(!doSegmentsOverlap(list));
}
public String toString() {
String valueOf = String.valueOf(this.segments);
StringBuilder sb = new StringBuilder(valueOf.length() + 21);
sb.append("SlowMotion: segments=");
sb.append(valueOf);
return sb.toString();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || SlowMotionData.class != obj.getClass()) {
return false;
}
return this.segments.equals(((SlowMotionData) obj).segments);
}
public int hashCode() {
return this.segments.hashCode();
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeList(this.segments);
}
public static boolean doSegmentsOverlap(List list) {
if (list.isEmpty()) {
return false;
}
long j = ((Segment) list.get(0)).endTimeMs;
for (int i = 1; i < list.size(); i++) {
if (((Segment) list.get(i)).startTimeMs < j) {
return true;
}
j = ((Segment) list.get(i)).endTimeMs;
}
return false;
}
}

View File

@@ -0,0 +1,66 @@
package com.google.android.exoplayer2.metadata.mp4;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.metadata.Metadata;
import com.google.common.primitives.Floats;
import com.ironsource.mediationsdk.logger.IronSourceError;
/* loaded from: classes2.dex */
public final class SmtaMetadataEntry implements Metadata.Entry {
public static final Parcelable.Creator<SmtaMetadataEntry> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.mp4.SmtaMetadataEntry.1
@Override // android.os.Parcelable.Creator
public SmtaMetadataEntry createFromParcel(Parcel parcel) {
return new SmtaMetadataEntry(parcel);
}
@Override // android.os.Parcelable.Creator
public SmtaMetadataEntry[] newArray(int i) {
return new SmtaMetadataEntry[i];
}
};
public final float captureFrameRate;
public final int svcTemporalLayerCount;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public SmtaMetadataEntry(Parcel parcel) {
this.captureFrameRate = parcel.readFloat();
this.svcTemporalLayerCount = parcel.readInt();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || SmtaMetadataEntry.class != obj.getClass()) {
return false;
}
SmtaMetadataEntry smtaMetadataEntry = (SmtaMetadataEntry) obj;
return this.captureFrameRate == smtaMetadataEntry.captureFrameRate && this.svcTemporalLayerCount == smtaMetadataEntry.svcTemporalLayerCount;
}
public int hashCode() {
return ((IronSourceError.ERROR_NON_EXISTENT_INSTANCE + Floats.hashCode(this.captureFrameRate)) * 31) + this.svcTemporalLayerCount;
}
public String toString() {
float f = this.captureFrameRate;
int i = this.svcTemporalLayerCount;
StringBuilder sb = new StringBuilder(73);
sb.append("smta: captureFrameRate=");
sb.append(f);
sb.append(", svcTemporalLayerCount=");
sb.append(i);
return sb.toString();
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeFloat(this.captureFrameRate);
parcel.writeInt(this.svcTemporalLayerCount);
}
}

View File

@@ -0,0 +1,36 @@
package com.google.android.exoplayer2.metadata.scte35;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.util.Util;
/* loaded from: classes2.dex */
public final class PrivateCommand extends SpliceCommand {
public static final Parcelable.Creator<PrivateCommand> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.scte35.PrivateCommand.1
@Override // android.os.Parcelable.Creator
public PrivateCommand createFromParcel(Parcel parcel) {
return new PrivateCommand(parcel);
}
@Override // android.os.Parcelable.Creator
public PrivateCommand[] newArray(int i) {
return new PrivateCommand[i];
}
};
public final byte[] commandBytes;
public final long identifier;
public final long ptsAdjustment;
public PrivateCommand(Parcel parcel) {
this.ptsAdjustment = parcel.readLong();
this.identifier = parcel.readLong();
this.commandBytes = (byte[]) Util.castNonNull(parcel.createByteArray());
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeLong(this.ptsAdjustment);
parcel.writeLong(this.identifier);
parcel.writeByteArray(this.commandBytes);
}
}

View File

@@ -0,0 +1,16 @@
package com.google.android.exoplayer2.metadata.scte35;
import com.google.android.exoplayer2.metadata.Metadata;
/* loaded from: classes2.dex */
public abstract class SpliceCommand implements Metadata.Entry {
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public String toString() {
String simpleName = getClass().getSimpleName();
return simpleName.length() != 0 ? "SCTE-35 splice command: type=".concat(simpleName) : new String("SCTE-35 splice command: type=");
}
}

View File

@@ -0,0 +1,99 @@
package com.google.android.exoplayer2.metadata.scte35;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/* loaded from: classes2.dex */
public final class SpliceInsertCommand extends SpliceCommand {
public static final Parcelable.Creator<SpliceInsertCommand> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.1
@Override // android.os.Parcelable.Creator
public SpliceInsertCommand createFromParcel(Parcel parcel) {
return new SpliceInsertCommand(parcel);
}
@Override // android.os.Parcelable.Creator
public SpliceInsertCommand[] newArray(int i) {
return new SpliceInsertCommand[i];
}
};
public final boolean autoReturn;
public final int availNum;
public final int availsExpected;
public final long breakDurationUs;
public final List componentSpliceList;
public final boolean outOfNetworkIndicator;
public final boolean programSpliceFlag;
public final long programSplicePlaybackPositionUs;
public final long programSplicePts;
public final boolean spliceEventCancelIndicator;
public final long spliceEventId;
public final boolean spliceImmediateFlag;
public final int uniqueProgramId;
public SpliceInsertCommand(Parcel parcel) {
this.spliceEventId = parcel.readLong();
this.spliceEventCancelIndicator = parcel.readByte() == 1;
this.outOfNetworkIndicator = parcel.readByte() == 1;
this.programSpliceFlag = parcel.readByte() == 1;
this.spliceImmediateFlag = parcel.readByte() == 1;
this.programSplicePts = parcel.readLong();
this.programSplicePlaybackPositionUs = parcel.readLong();
int readInt = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt);
for (int i = 0; i < readInt; i++) {
arrayList.add(ComponentSplice.createFromParcel(parcel));
}
this.componentSpliceList = Collections.unmodifiableList(arrayList);
this.autoReturn = parcel.readByte() == 1;
this.breakDurationUs = parcel.readLong();
this.uniqueProgramId = parcel.readInt();
this.availNum = parcel.readInt();
this.availsExpected = parcel.readInt();
}
public static final class ComponentSplice {
public final long componentSplicePlaybackPositionUs;
public final long componentSplicePts;
public final int componentTag;
public ComponentSplice(int i, long j, long j2) {
this.componentTag = i;
this.componentSplicePts = j;
this.componentSplicePlaybackPositionUs = j2;
}
public void writeToParcel(Parcel parcel) {
parcel.writeInt(this.componentTag);
parcel.writeLong(this.componentSplicePts);
parcel.writeLong(this.componentSplicePlaybackPositionUs);
}
public static ComponentSplice createFromParcel(Parcel parcel) {
return new ComponentSplice(parcel.readInt(), parcel.readLong(), parcel.readLong());
}
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeLong(this.spliceEventId);
parcel.writeByte(this.spliceEventCancelIndicator ? (byte) 1 : (byte) 0);
parcel.writeByte(this.outOfNetworkIndicator ? (byte) 1 : (byte) 0);
parcel.writeByte(this.programSpliceFlag ? (byte) 1 : (byte) 0);
parcel.writeByte(this.spliceImmediateFlag ? (byte) 1 : (byte) 0);
parcel.writeLong(this.programSplicePts);
parcel.writeLong(this.programSplicePlaybackPositionUs);
int size = this.componentSpliceList.size();
parcel.writeInt(size);
for (int i2 = 0; i2 < size; i2++) {
((ComponentSplice) this.componentSpliceList.get(i2)).writeToParcel(parcel);
}
parcel.writeByte(this.autoReturn ? (byte) 1 : (byte) 0);
parcel.writeLong(this.breakDurationUs);
parcel.writeInt(this.uniqueProgramId);
parcel.writeInt(this.availNum);
parcel.writeInt(this.availsExpected);
}
}

View File

@@ -0,0 +1,23 @@
package com.google.android.exoplayer2.metadata.scte35;
import android.os.Parcel;
import android.os.Parcelable;
/* loaded from: classes2.dex */
public final class SpliceNullCommand extends SpliceCommand {
public static final Parcelable.Creator<SpliceNullCommand> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.scte35.SpliceNullCommand.1
@Override // android.os.Parcelable.Creator
public SpliceNullCommand createFromParcel(Parcel parcel) {
return new SpliceNullCommand();
}
@Override // android.os.Parcelable.Creator
public SpliceNullCommand[] newArray(int i) {
return new SpliceNullCommand[i];
}
};
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
}
}

View File

@@ -0,0 +1,115 @@
package com.google.android.exoplayer2.metadata.scte35;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/* loaded from: classes2.dex */
public final class SpliceScheduleCommand extends SpliceCommand {
public static final Parcelable.Creator<SpliceScheduleCommand> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.1
@Override // android.os.Parcelable.Creator
public SpliceScheduleCommand createFromParcel(Parcel parcel) {
return new SpliceScheduleCommand(parcel);
}
@Override // android.os.Parcelable.Creator
public SpliceScheduleCommand[] newArray(int i) {
return new SpliceScheduleCommand[i];
}
};
public final List events;
public static final class Event {
public final boolean autoReturn;
public final int availNum;
public final int availsExpected;
public final long breakDurationUs;
public final List componentSpliceList;
public final boolean outOfNetworkIndicator;
public final boolean programSpliceFlag;
public final boolean spliceEventCancelIndicator;
public final long spliceEventId;
public final int uniqueProgramId;
public final long utcSpliceTime;
public Event(Parcel parcel) {
this.spliceEventId = parcel.readLong();
this.spliceEventCancelIndicator = parcel.readByte() == 1;
this.outOfNetworkIndicator = parcel.readByte() == 1;
this.programSpliceFlag = parcel.readByte() == 1;
int readInt = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt);
for (int i = 0; i < readInt; i++) {
arrayList.add(ComponentSplice.createFromParcel(parcel));
}
this.componentSpliceList = Collections.unmodifiableList(arrayList);
this.utcSpliceTime = parcel.readLong();
this.autoReturn = parcel.readByte() == 1;
this.breakDurationUs = parcel.readLong();
this.uniqueProgramId = parcel.readInt();
this.availNum = parcel.readInt();
this.availsExpected = parcel.readInt();
}
public final void writeToParcel(Parcel parcel) {
parcel.writeLong(this.spliceEventId);
parcel.writeByte(this.spliceEventCancelIndicator ? (byte) 1 : (byte) 0);
parcel.writeByte(this.outOfNetworkIndicator ? (byte) 1 : (byte) 0);
parcel.writeByte(this.programSpliceFlag ? (byte) 1 : (byte) 0);
int size = this.componentSpliceList.size();
parcel.writeInt(size);
for (int i = 0; i < size; i++) {
((ComponentSplice) this.componentSpliceList.get(i)).writeToParcel(parcel);
}
parcel.writeLong(this.utcSpliceTime);
parcel.writeByte(this.autoReturn ? (byte) 1 : (byte) 0);
parcel.writeLong(this.breakDurationUs);
parcel.writeInt(this.uniqueProgramId);
parcel.writeInt(this.availNum);
parcel.writeInt(this.availsExpected);
}
public static Event createFromParcel(Parcel parcel) {
return new Event(parcel);
}
}
public static final class ComponentSplice {
public final int componentTag;
public final long utcSpliceTime;
public ComponentSplice(int i, long j) {
this.componentTag = i;
this.utcSpliceTime = j;
}
public static ComponentSplice createFromParcel(Parcel parcel) {
return new ComponentSplice(parcel.readInt(), parcel.readLong());
}
public final void writeToParcel(Parcel parcel) {
parcel.writeInt(this.componentTag);
parcel.writeLong(this.utcSpliceTime);
}
}
public SpliceScheduleCommand(Parcel parcel) {
int readInt = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt);
for (int i = 0; i < readInt; i++) {
arrayList.add(Event.createFromParcel(parcel));
}
this.events = Collections.unmodifiableList(arrayList);
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
int size = this.events.size();
parcel.writeInt(size);
for (int i2 = 0; i2 < size; i2++) {
((Event) this.events.get(i2)).writeToParcel(parcel);
}
}
}

View File

@@ -0,0 +1,32 @@
package com.google.android.exoplayer2.metadata.scte35;
import android.os.Parcel;
import android.os.Parcelable;
/* loaded from: classes2.dex */
public final class TimeSignalCommand extends SpliceCommand {
public static final Parcelable.Creator<TimeSignalCommand> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.metadata.scte35.TimeSignalCommand.1
@Override // android.os.Parcelable.Creator
public TimeSignalCommand createFromParcel(Parcel parcel) {
return new TimeSignalCommand(parcel.readLong(), parcel.readLong());
}
@Override // android.os.Parcelable.Creator
public TimeSignalCommand[] newArray(int i) {
return new TimeSignalCommand[i];
}
};
public final long playbackPositionUs;
public final long ptsTime;
public TimeSignalCommand(long j, long j2) {
this.ptsTime = j;
this.playbackPositionUs = j2;
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeLong(this.ptsTime);
parcel.writeLong(this.playbackPositionUs);
}
}

View File

@@ -0,0 +1,5 @@
package com.google.android.exoplayer2.offline;
/* loaded from: classes2.dex */
public abstract class DownloadManager {
}

View File

@@ -0,0 +1,93 @@
package com.google.android.exoplayer2.offline;
import android.net.Uri;
import android.os.Parcel;
import android.os.Parcelable;
import com.facebook.internal.security.CertificateUtil;
import com.google.android.exoplayer2.util.Util;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
/* loaded from: classes2.dex */
public final class DownloadRequest implements Parcelable {
public static final Parcelable.Creator<DownloadRequest> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.offline.DownloadRequest.1
@Override // android.os.Parcelable.Creator
public DownloadRequest createFromParcel(Parcel parcel) {
return new DownloadRequest(parcel);
}
@Override // android.os.Parcelable.Creator
public DownloadRequest[] newArray(int i) {
return new DownloadRequest[i];
}
};
public final String customCacheKey;
public final byte[] data;
public final String id;
public final byte[] keySetId;
public final String mimeType;
public final List streamKeys;
public final Uri uri;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public DownloadRequest(Parcel parcel) {
this.id = (String) Util.castNonNull(parcel.readString());
this.uri = Uri.parse((String) Util.castNonNull(parcel.readString()));
this.mimeType = parcel.readString();
int readInt = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt);
for (int i = 0; i < readInt; i++) {
arrayList.add((StreamKey) parcel.readParcelable(StreamKey.class.getClassLoader()));
}
this.streamKeys = Collections.unmodifiableList(arrayList);
this.keySetId = parcel.createByteArray();
this.customCacheKey = parcel.readString();
this.data = (byte[]) Util.castNonNull(parcel.createByteArray());
}
public String toString() {
String str = this.mimeType;
String str2 = this.id;
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 1 + String.valueOf(str2).length());
sb.append(str);
sb.append(CertificateUtil.DELIMITER);
sb.append(str2);
return sb.toString();
}
public boolean equals(Object obj) {
if (!(obj instanceof DownloadRequest)) {
return false;
}
DownloadRequest downloadRequest = (DownloadRequest) obj;
return this.id.equals(downloadRequest.id) && this.uri.equals(downloadRequest.uri) && Util.areEqual(this.mimeType, downloadRequest.mimeType) && this.streamKeys.equals(downloadRequest.streamKeys) && Arrays.equals(this.keySetId, downloadRequest.keySetId) && Util.areEqual(this.customCacheKey, downloadRequest.customCacheKey) && Arrays.equals(this.data, downloadRequest.data);
}
public final int hashCode() {
int hashCode = ((this.id.hashCode() * 961) + this.uri.hashCode()) * 31;
String str = this.mimeType;
int hashCode2 = (((((hashCode + (str != null ? str.hashCode() : 0)) * 31) + this.streamKeys.hashCode()) * 31) + Arrays.hashCode(this.keySetId)) * 31;
String str2 = this.customCacheKey;
return ((hashCode2 + (str2 != null ? str2.hashCode() : 0)) * 31) + Arrays.hashCode(this.data);
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeString(this.id);
parcel.writeString(this.uri.toString());
parcel.writeString(this.mimeType);
parcel.writeInt(this.streamKeys.size());
for (int i2 = 0; i2 < this.streamKeys.size(); i2++) {
parcel.writeParcelable((Parcelable) this.streamKeys.get(i2), 0);
}
parcel.writeByteArray(this.keySetId);
parcel.writeString(this.customCacheKey);
parcel.writeByteArray(this.data);
}
}

View File

@@ -0,0 +1,81 @@
package com.google.android.exoplayer2.offline;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import com.google.android.exoplayer2.scheduler.Scheduler;
import com.google.android.exoplayer2.util.Assertions;
import com.google.android.exoplayer2.util.NotificationUtil;
import java.util.HashMap;
/* loaded from: classes2.dex */
public abstract class DownloadService extends Service {
public static final HashMap downloadManagerHelpers = new HashMap();
public final int channelDescriptionResourceId;
public final String channelId;
public final int channelNameResourceId;
public boolean isDestroyed;
public boolean isStopped;
public int lastStartId;
public boolean startedInForeground;
public boolean taskRemoved;
public abstract DownloadManager getDownloadManager();
public abstract Scheduler getScheduler();
@Override // android.app.Service
public void onTaskRemoved(Intent intent) {
this.taskRemoved = true;
}
@Override // android.app.Service
public void onCreate() {
String str = this.channelId;
if (str != null) {
NotificationUtil.createNotificationChannel(this, str, this.channelNameResourceId, this.channelDescriptionResourceId, 2);
}
getDownloadManager();
throw null;
}
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
/* JADX WARN: Code restructure failed: missing block: B:68:0x0096, code lost:
if (r2.equals("com.google.android.exoplayer.downloadService.action.RESUME_DOWNLOADS") == false) goto L18;
*/
@Override // android.app.Service
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public int onStartCommand(android.content.Intent r8, int r9, int r10) {
/*
Method dump skipped, instructions count: 346
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.exoplayer2.offline.DownloadService.onStartCommand(android.content.Intent, int, int):int");
}
@Override // android.app.Service
public void onDestroy() {
this.isDestroyed = true;
((DownloadManagerHelper) Assertions.checkNotNull((DownloadManagerHelper) downloadManagerHelpers.get(getClass()))).detachService(this);
}
@Override // android.app.Service
public final IBinder onBind(Intent intent) {
throw new UnsupportedOperationException();
}
public static final class DownloadManagerHelper {
public abstract void attachService(DownloadService downloadService);
public abstract void detachService(DownloadService downloadService);
public static /* synthetic */ DownloadManager access$100(DownloadManagerHelper downloadManagerHelper) {
downloadManagerHelper.getClass();
return null;
}
}
}

View File

@@ -0,0 +1,82 @@
package com.google.android.exoplayer2.offline;
import android.os.Parcel;
import android.os.Parcelable;
import csdk.gluads.Consts;
/* loaded from: classes2.dex */
public final class StreamKey implements Comparable<StreamKey>, Parcelable {
public static final Parcelable.Creator<StreamKey> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.offline.StreamKey.1
@Override // android.os.Parcelable.Creator
public StreamKey createFromParcel(Parcel parcel) {
return new StreamKey(parcel);
}
@Override // android.os.Parcelable.Creator
public StreamKey[] newArray(int i) {
return new StreamKey[i];
}
};
public final int groupIndex;
public final int periodIndex;
public final int streamIndex;
public final int trackIndex;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public int hashCode() {
return (((this.periodIndex * 31) + this.groupIndex) * 31) + this.streamIndex;
}
public StreamKey(Parcel parcel) {
this.periodIndex = parcel.readInt();
this.groupIndex = parcel.readInt();
int readInt = parcel.readInt();
this.streamIndex = readInt;
this.trackIndex = readInt;
}
public String toString() {
int i = this.periodIndex;
int i2 = this.groupIndex;
int i3 = this.streamIndex;
StringBuilder sb = new StringBuilder(35);
sb.append(i);
sb.append(Consts.STRING_PERIOD);
sb.append(i2);
sb.append(Consts.STRING_PERIOD);
sb.append(i3);
return sb.toString();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || StreamKey.class != obj.getClass()) {
return false;
}
StreamKey streamKey = (StreamKey) obj;
return this.periodIndex == streamKey.periodIndex && this.groupIndex == streamKey.groupIndex && this.streamIndex == streamKey.streamIndex;
}
@Override // java.lang.Comparable
public int compareTo(StreamKey streamKey) {
int i = this.periodIndex - streamKey.periodIndex;
if (i != 0) {
return i;
}
int i2 = this.groupIndex - streamKey.groupIndex;
return i2 == 0 ? this.streamIndex - streamKey.streamIndex : i2;
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeInt(this.periodIndex);
parcel.writeInt(this.groupIndex);
parcel.writeInt(this.streamIndex);
}
}

View File

@@ -0,0 +1,34 @@
package com.google.android.exoplayer2.scheduler;
import android.app.job.JobParameters;
import android.app.job.JobService;
import android.content.Intent;
import android.os.PersistableBundle;
import com.google.android.exoplayer2.util.Assertions;
import com.google.android.exoplayer2.util.Log;
import com.google.android.exoplayer2.util.Util;
/* loaded from: classes2.dex */
public final class PlatformScheduler$PlatformSchedulerService extends JobService {
@Override // android.app.job.JobService
public boolean onStopJob(JobParameters jobParameters) {
return false;
}
@Override // android.app.job.JobService
public boolean onStartJob(JobParameters jobParameters) {
PersistableBundle extras = jobParameters.getExtras();
int notMetRequirements = new Requirements(extras.getInt("requirements")).getNotMetRequirements(this);
if (notMetRequirements == 0) {
String str = (String) Assertions.checkNotNull(extras.getString("service_action"));
Util.startForegroundService(this, new Intent(str).setPackage((String) Assertions.checkNotNull(extras.getString("service_package"))));
return false;
}
StringBuilder sb = new StringBuilder(33);
sb.append("Requirements not met: ");
sb.append(notMetRequirements);
Log.w("PlatformScheduler", sb.toString());
jobFinished(jobParameters, true);
return false;
}
}

View File

@@ -0,0 +1,138 @@
package com.google.android.exoplayer2.scheduler;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.ConnectivityManager;
import android.net.Network;
import android.net.NetworkCapabilities;
import android.net.NetworkInfo;
import android.os.Parcel;
import android.os.Parcelable;
import android.os.PowerManager;
import com.google.android.exoplayer2.util.Assertions;
import com.google.android.exoplayer2.util.Util;
/* loaded from: classes2.dex */
public final class Requirements implements Parcelable {
public static final Parcelable.Creator<Requirements> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.scheduler.Requirements.1
@Override // android.os.Parcelable.Creator
public Requirements createFromParcel(Parcel parcel) {
return new Requirements(parcel.readInt());
}
@Override // android.os.Parcelable.Creator
public Requirements[] newArray(int i) {
return new Requirements[i];
}
};
public final int requirements;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public int hashCode() {
return this.requirements;
}
public boolean isChargingRequired() {
return (this.requirements & 8) != 0;
}
public boolean isIdleRequired() {
return (this.requirements & 4) != 0;
}
public boolean isNetworkRequired() {
return (this.requirements & 1) != 0;
}
public boolean isStorageNotLowRequired() {
return (this.requirements & 16) != 0;
}
public boolean isUnmeteredNetworkRequired() {
return (this.requirements & 2) != 0;
}
public Requirements(int i) {
this.requirements = (i & 2) != 0 ? i | 1 : i;
}
public int getNotMetRequirements(Context context) {
int notMetNetworkRequirements = getNotMetNetworkRequirements(context);
if (isChargingRequired() && !isDeviceCharging(context)) {
notMetNetworkRequirements |= 8;
}
if (isIdleRequired() && !isDeviceIdle(context)) {
notMetNetworkRequirements |= 4;
}
return (!isStorageNotLowRequired() || isStorageNotLow(context)) ? notMetNetworkRequirements : notMetNetworkRequirements | 16;
}
public final int getNotMetNetworkRequirements(Context context) {
if (!isNetworkRequired()) {
return 0;
}
ConnectivityManager connectivityManager = (ConnectivityManager) Assertions.checkNotNull(context.getSystemService("connectivity"));
NetworkInfo activeNetworkInfo = connectivityManager.getActiveNetworkInfo();
return (activeNetworkInfo != null && activeNetworkInfo.isConnected() && isInternetConnectivityValidated(connectivityManager)) ? (isUnmeteredNetworkRequired() && connectivityManager.isActiveNetworkMetered()) ? 2 : 0 : this.requirements & 3;
}
public final boolean isDeviceCharging(Context context) {
Intent registerReceiver = context.registerReceiver(null, new IntentFilter("android.intent.action.BATTERY_CHANGED"));
if (registerReceiver == null) {
return false;
}
int intExtra = registerReceiver.getIntExtra("status", -1);
return intExtra == 2 || intExtra == 5;
}
public final boolean isDeviceIdle(Context context) {
PowerManager powerManager = (PowerManager) Assertions.checkNotNull(context.getSystemService("power"));
int i = Util.SDK_INT;
if (i >= 23) {
return powerManager.isDeviceIdleMode();
}
return i < 20 ? !powerManager.isScreenOn() : !powerManager.isInteractive();
}
public final boolean isStorageNotLow(Context context) {
return context.registerReceiver(null, new IntentFilter("android.intent.action.DEVICE_STORAGE_LOW")) == null;
}
public static boolean isInternetConnectivityValidated(ConnectivityManager connectivityManager) {
if (Util.SDK_INT < 24) {
return true;
}
Network activeNetwork = connectivityManager.getActiveNetwork();
if (activeNetwork == null) {
return false;
}
try {
NetworkCapabilities networkCapabilities = connectivityManager.getNetworkCapabilities(activeNetwork);
if (networkCapabilities != null) {
if (networkCapabilities.hasCapability(16)) {
return true;
}
}
return false;
} catch (SecurityException unused) {
return true;
}
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
return obj != null && Requirements.class == obj.getClass() && this.requirements == ((Requirements) obj).requirements;
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeInt(this.requirements);
}
}

View File

@@ -0,0 +1,5 @@
package com.google.android.exoplayer2.scheduler;
/* loaded from: classes2.dex */
public interface Scheduler {
}

View File

@@ -0,0 +1,5 @@
package com.google.android.exoplayer2.source;
/* loaded from: classes2.dex */
public interface CompositeSequenceableLoaderFactory {
}

View File

@@ -0,0 +1,5 @@
package com.google.android.exoplayer2.source;
/* loaded from: classes2.dex */
public final class DefaultCompositeSequenceableLoaderFactory implements CompositeSequenceableLoaderFactory {
}

View File

@@ -0,0 +1,65 @@
package com.google.android.exoplayer2.source;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.Format;
import com.ironsource.mediationsdk.logger.IronSourceError;
import java.util.Arrays;
/* loaded from: classes2.dex */
public final class TrackGroup implements Parcelable {
public static final Parcelable.Creator<TrackGroup> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.source.TrackGroup.1
@Override // android.os.Parcelable.Creator
public TrackGroup createFromParcel(Parcel parcel) {
return new TrackGroup(parcel);
}
@Override // android.os.Parcelable.Creator
public TrackGroup[] newArray(int i) {
return new TrackGroup[i];
}
};
public final Format[] formats;
public int hashCode;
public final int length;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public TrackGroup(Parcel parcel) {
int readInt = parcel.readInt();
this.length = readInt;
this.formats = new Format[readInt];
for (int i = 0; i < this.length; i++) {
this.formats[i] = (Format) parcel.readParcelable(Format.class.getClassLoader());
}
}
public int hashCode() {
if (this.hashCode == 0) {
this.hashCode = IronSourceError.ERROR_NON_EXISTENT_INSTANCE + Arrays.hashCode(this.formats);
}
return this.hashCode;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || TrackGroup.class != obj.getClass()) {
return false;
}
TrackGroup trackGroup = (TrackGroup) obj;
return this.length == trackGroup.length && Arrays.equals(this.formats, trackGroup.formats);
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeInt(this.length);
for (int i2 = 0; i2 < this.length; i2++) {
parcel.writeParcelable(this.formats[i2], 0);
}
}
}

View File

@@ -0,0 +1,73 @@
package com.google.android.exoplayer2.source;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.Arrays;
/* loaded from: classes2.dex */
public final class TrackGroupArray implements Parcelable {
public int hashCode;
public final int length;
public final TrackGroup[] trackGroups;
public static final TrackGroupArray EMPTY = new TrackGroupArray(new TrackGroup[0]);
public static final Parcelable.Creator<TrackGroupArray> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.source.TrackGroupArray.1
@Override // android.os.Parcelable.Creator
public TrackGroupArray createFromParcel(Parcel parcel) {
return new TrackGroupArray(parcel);
}
@Override // android.os.Parcelable.Creator
public TrackGroupArray[] newArray(int i) {
return new TrackGroupArray[i];
}
};
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public TrackGroupArray(TrackGroup... trackGroupArr) {
this.trackGroups = trackGroupArr;
this.length = trackGroupArr.length;
}
public TrackGroupArray(Parcel parcel) {
int readInt = parcel.readInt();
this.length = readInt;
this.trackGroups = new TrackGroup[readInt];
for (int i = 0; i < this.length; i++) {
this.trackGroups[i] = (TrackGroup) parcel.readParcelable(TrackGroup.class.getClassLoader());
}
}
public TrackGroup get(int i) {
return this.trackGroups[i];
}
public int hashCode() {
if (this.hashCode == 0) {
this.hashCode = Arrays.hashCode(this.trackGroups);
}
return this.hashCode;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || TrackGroupArray.class != obj.getClass()) {
return false;
}
TrackGroupArray trackGroupArray = (TrackGroupArray) obj;
return this.length == trackGroupArray.length && Arrays.equals(this.trackGroups, trackGroupArray.trackGroups);
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeInt(this.length);
for (int i2 = 0; i2 < this.length; i2++) {
parcel.writeParcelable(this.trackGroups[i2], 0);
}
}
}

View File

@@ -0,0 +1,158 @@
package com.google.android.exoplayer2.source.ads;
import android.net.Uri;
import com.google.android.exoplayer2.Bundleable$Creator;
import com.google.android.exoplayer2.MediaItem$$ExternalSyntheticLambda0;
import com.google.android.exoplayer2.util.Assertions;
import com.google.android.exoplayer2.util.Util;
import com.mbridge.msdk.playercommon.exoplayer2.C;
import java.util.Arrays;
/* loaded from: classes2.dex */
public final class AdPlaybackState {
public final int adGroupCount;
public final AdGroup[] adGroups;
public final long adResumePositionUs;
public final Object adsId;
public final long contentDurationUs;
public final int removedAdGroupCount;
public static final AdPlaybackState NONE = new AdPlaybackState(null, new AdGroup[0], 0, C.TIME_UNSET, 0);
public static final AdGroup REMOVED_AD_GROUP = new AdGroup(0).withAdCount(0);
public static final Bundleable$Creator CREATOR = new MediaItem$$ExternalSyntheticLambda0();
public static final class AdGroup {
public static final Bundleable$Creator CREATOR = new MediaItem$$ExternalSyntheticLambda0();
public final long contentResumeOffsetUs;
public final int count;
public final long[] durationsUs;
public final boolean isServerSideInserted;
public final int[] states;
public final long timeUs;
public final Uri[] uris;
public AdGroup(long j) {
this(j, -1, new int[0], new Uri[0], new long[0], 0L, false);
}
public AdGroup(long j, int i, int[] iArr, Uri[] uriArr, long[] jArr, long j2, boolean z) {
Assertions.checkArgument(iArr.length == uriArr.length);
this.timeUs = j;
this.count = i;
this.states = iArr;
this.uris = uriArr;
this.durationsUs = jArr;
this.contentResumeOffsetUs = j2;
this.isServerSideInserted = z;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || AdGroup.class != obj.getClass()) {
return false;
}
AdGroup adGroup = (AdGroup) obj;
return this.timeUs == adGroup.timeUs && this.count == adGroup.count && Arrays.equals(this.uris, adGroup.uris) && Arrays.equals(this.states, adGroup.states) && Arrays.equals(this.durationsUs, adGroup.durationsUs) && this.contentResumeOffsetUs == adGroup.contentResumeOffsetUs && this.isServerSideInserted == adGroup.isServerSideInserted;
}
public int hashCode() {
int i = this.count * 31;
long j = this.timeUs;
int hashCode = (((((((i + ((int) (j ^ (j >>> 32)))) * 31) + Arrays.hashCode(this.uris)) * 31) + Arrays.hashCode(this.states)) * 31) + Arrays.hashCode(this.durationsUs)) * 31;
long j2 = this.contentResumeOffsetUs;
return ((hashCode + ((int) (j2 ^ (j2 >>> 32)))) * 31) + (this.isServerSideInserted ? 1 : 0);
}
public AdGroup withAdCount(int i) {
int[] copyStatesWithSpaceForAdCount = copyStatesWithSpaceForAdCount(this.states, i);
long[] copyDurationsUsWithSpaceForAdCount = copyDurationsUsWithSpaceForAdCount(this.durationsUs, i);
return new AdGroup(this.timeUs, i, copyStatesWithSpaceForAdCount, (Uri[]) Arrays.copyOf(this.uris, i), copyDurationsUsWithSpaceForAdCount, this.contentResumeOffsetUs, this.isServerSideInserted);
}
public static int[] copyStatesWithSpaceForAdCount(int[] iArr, int i) {
int length = iArr.length;
int max = Math.max(i, length);
int[] copyOf = Arrays.copyOf(iArr, max);
Arrays.fill(copyOf, length, max, 0);
return copyOf;
}
public static long[] copyDurationsUsWithSpaceForAdCount(long[] jArr, int i) {
int length = jArr.length;
int max = Math.max(i, length);
long[] copyOf = Arrays.copyOf(jArr, max);
Arrays.fill(copyOf, length, max, C.TIME_UNSET);
return copyOf;
}
}
public AdPlaybackState(Object obj, AdGroup[] adGroupArr, long j, long j2, int i) {
this.adsId = obj;
this.adResumePositionUs = j;
this.contentDurationUs = j2;
this.adGroupCount = adGroupArr.length + i;
this.adGroups = adGroupArr;
this.removedAdGroupCount = i;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || AdPlaybackState.class != obj.getClass()) {
return false;
}
AdPlaybackState adPlaybackState = (AdPlaybackState) obj;
return Util.areEqual(this.adsId, adPlaybackState.adsId) && this.adGroupCount == adPlaybackState.adGroupCount && this.adResumePositionUs == adPlaybackState.adResumePositionUs && this.contentDurationUs == adPlaybackState.contentDurationUs && this.removedAdGroupCount == adPlaybackState.removedAdGroupCount && Arrays.equals(this.adGroups, adPlaybackState.adGroups);
}
public int hashCode() {
int i = this.adGroupCount * 31;
Object obj = this.adsId;
return ((((((((i + (obj == null ? 0 : obj.hashCode())) * 31) + ((int) this.adResumePositionUs)) * 31) + ((int) this.contentDurationUs)) * 31) + this.removedAdGroupCount) * 31) + Arrays.hashCode(this.adGroups);
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("AdPlaybackState(adsId=");
sb.append(this.adsId);
sb.append(", adResumePositionUs=");
sb.append(this.adResumePositionUs);
sb.append(", adGroups=[");
for (int i = 0; i < this.adGroups.length; i++) {
sb.append("adGroup(timeUs=");
sb.append(this.adGroups[i].timeUs);
sb.append(", ads=[");
for (int i2 = 0; i2 < this.adGroups[i].states.length; i2++) {
sb.append("ad(state=");
int i3 = this.adGroups[i].states[i2];
if (i3 == 0) {
sb.append('_');
} else if (i3 == 1) {
sb.append('R');
} else if (i3 == 2) {
sb.append('S');
} else if (i3 == 3) {
sb.append('P');
} else if (i3 == 4) {
sb.append('!');
} else {
sb.append('?');
}
sb.append(", durationUs=");
sb.append(this.adGroups[i].durationsUs[i2]);
sb.append(')');
if (i2 < this.adGroups[i].states.length - 1) {
sb.append(", ");
}
}
sb.append("])");
if (i < this.adGroups.length - 1) {
sb.append(", ");
}
}
sb.append("])");
return sb.toString();
}
}

View File

@@ -0,0 +1,10 @@
package com.google.android.exoplayer2.source.chunk;
import com.google.android.exoplayer2.extractor.PositionHolder;
/* loaded from: classes2.dex */
public abstract class BundledChunkExtractor {
public static final ChunkExtractor$Factory FACTORY = new ChunkExtractor$Factory() { // from class: com.google.android.exoplayer2.source.chunk.BundledChunkExtractor$$ExternalSyntheticLambda0
};
public static final PositionHolder POSITION_HOLDER = new PositionHolder();
}

View File

@@ -0,0 +1,5 @@
package com.google.android.exoplayer2.source.chunk;
/* loaded from: classes2.dex */
public interface ChunkExtractor$Factory {
}

View File

@@ -0,0 +1,5 @@
package com.google.android.exoplayer2.source.dash;
/* loaded from: classes2.dex */
public interface DashChunkSource$Factory {
}

View File

@@ -0,0 +1,39 @@
package com.google.android.exoplayer2.source.dash;
import androidx.work.WorkRequest;
import com.google.android.exoplayer2.drm.DefaultDrmSessionManagerProvider;
import com.google.android.exoplayer2.drm.DrmSessionManagerProvider;
import com.google.android.exoplayer2.source.CompositeSequenceableLoaderFactory;
import com.google.android.exoplayer2.source.DefaultCompositeSequenceableLoaderFactory;
import com.google.android.exoplayer2.upstream.DataSource$Factory;
import com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy;
import com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy;
import com.google.android.exoplayer2.util.Assertions;
import com.mbridge.msdk.playercommon.exoplayer2.C;
import java.util.Collections;
import java.util.List;
/* loaded from: classes2.dex */
public final class DashMediaSource$Factory {
public final DashChunkSource$Factory chunkSourceFactory;
public CompositeSequenceableLoaderFactory compositeSequenceableLoaderFactory;
public DrmSessionManagerProvider drmSessionManagerProvider;
public long fallbackTargetLiveOffsetMs;
public LoadErrorHandlingPolicy loadErrorHandlingPolicy;
public List streamKeys;
public long targetLiveOffsetOverrideMs;
public DashMediaSource$Factory(DataSource$Factory dataSource$Factory) {
this(new DefaultDashChunkSource$Factory(dataSource$Factory), dataSource$Factory);
}
public DashMediaSource$Factory(DashChunkSource$Factory dashChunkSource$Factory, DataSource$Factory dataSource$Factory) {
this.chunkSourceFactory = (DashChunkSource$Factory) Assertions.checkNotNull(dashChunkSource$Factory);
this.drmSessionManagerProvider = new DefaultDrmSessionManagerProvider();
this.loadErrorHandlingPolicy = new DefaultLoadErrorHandlingPolicy();
this.targetLiveOffsetOverrideMs = C.TIME_UNSET;
this.fallbackTargetLiveOffsetMs = WorkRequest.DEFAULT_BACKOFF_DELAY_MILLIS;
this.compositeSequenceableLoaderFactory = new DefaultCompositeSequenceableLoaderFactory();
this.streamKeys = Collections.emptyList();
}
}

View File

@@ -0,0 +1,24 @@
package com.google.android.exoplayer2.source.dash;
import com.google.android.exoplayer2.source.chunk.BundledChunkExtractor;
import com.google.android.exoplayer2.source.chunk.ChunkExtractor$Factory;
import com.google.android.exoplayer2.upstream.DataSource$Factory;
/* loaded from: classes2.dex */
public final class DefaultDashChunkSource$Factory implements DashChunkSource$Factory {
public final ChunkExtractor$Factory chunkExtractorFactory;
public final int maxSegmentsPerLoad;
public DefaultDashChunkSource$Factory(DataSource$Factory dataSource$Factory) {
this(dataSource$Factory, 1);
}
public DefaultDashChunkSource$Factory(DataSource$Factory dataSource$Factory, int i) {
this(BundledChunkExtractor.FACTORY, dataSource$Factory, i);
}
public DefaultDashChunkSource$Factory(ChunkExtractor$Factory chunkExtractor$Factory, DataSource$Factory dataSource$Factory, int i) {
this.chunkExtractorFactory = chunkExtractor$Factory;
this.maxSegmentsPerLoad = i;
}
}

View File

@@ -0,0 +1,9 @@
package com.google.android.exoplayer2.source.hls;
import com.google.android.exoplayer2.upstream.DataSource$Factory;
/* loaded from: classes2.dex */
public final class DefaultHlsDataSourceFactory implements HlsDataSourceFactory {
public DefaultHlsDataSourceFactory(DataSource$Factory dataSource$Factory) {
}
}

View File

@@ -0,0 +1,17 @@
package com.google.android.exoplayer2.source.hls;
/* loaded from: classes2.dex */
public final class DefaultHlsExtractorFactory implements HlsExtractorFactory {
public static final int[] DEFAULT_EXTRACTOR_ORDER = {8, 13, 11, 2, 0, 1, 7};
public final boolean exposeCea608WhenMissingDeclarations;
public final int payloadReaderFactoryFlags;
public DefaultHlsExtractorFactory() {
this(0, true);
}
public DefaultHlsExtractorFactory(int i, boolean z) {
this.payloadReaderFactoryFlags = i;
this.exposeCea608WhenMissingDeclarations = z;
}
}

View File

@@ -0,0 +1,5 @@
package com.google.android.exoplayer2.source.hls;
/* loaded from: classes2.dex */
public interface HlsDataSourceFactory {
}

View File

@@ -0,0 +1,6 @@
package com.google.android.exoplayer2.source.hls;
/* loaded from: classes2.dex */
public interface HlsExtractorFactory {
public static final HlsExtractorFactory DEFAULT = new DefaultHlsExtractorFactory();
}

View File

@@ -0,0 +1,48 @@
package com.google.android.exoplayer2.source.hls;
import com.google.android.exoplayer2.drm.DefaultDrmSessionManagerProvider;
import com.google.android.exoplayer2.drm.DrmSessionManagerProvider;
import com.google.android.exoplayer2.source.CompositeSequenceableLoaderFactory;
import com.google.android.exoplayer2.source.DefaultCompositeSequenceableLoaderFactory;
import com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistParserFactory;
import com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker;
import com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistParserFactory;
import com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker$Factory;
import com.google.android.exoplayer2.upstream.DataSource$Factory;
import com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy;
import com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy;
import com.google.android.exoplayer2.util.Assertions;
import com.mbridge.msdk.playercommon.exoplayer2.C;
import java.util.Collections;
import java.util.List;
/* loaded from: classes2.dex */
public final class HlsMediaSource$Factory {
public CompositeSequenceableLoaderFactory compositeSequenceableLoaderFactory;
public DrmSessionManagerProvider drmSessionManagerProvider;
public long elapsedRealTimeOffsetMs;
public HlsExtractorFactory extractorFactory;
public final HlsDataSourceFactory hlsDataSourceFactory;
public LoadErrorHandlingPolicy loadErrorHandlingPolicy;
public int metadataType;
public HlsPlaylistParserFactory playlistParserFactory;
public HlsPlaylistTracker$Factory playlistTrackerFactory;
public List streamKeys;
public HlsMediaSource$Factory(DataSource$Factory dataSource$Factory) {
this(new DefaultHlsDataSourceFactory(dataSource$Factory));
}
public HlsMediaSource$Factory(HlsDataSourceFactory hlsDataSourceFactory) {
this.hlsDataSourceFactory = (HlsDataSourceFactory) Assertions.checkNotNull(hlsDataSourceFactory);
this.drmSessionManagerProvider = new DefaultDrmSessionManagerProvider();
this.playlistParserFactory = new DefaultHlsPlaylistParserFactory();
this.playlistTrackerFactory = DefaultHlsPlaylistTracker.FACTORY;
this.extractorFactory = HlsExtractorFactory.DEFAULT;
this.loadErrorHandlingPolicy = new DefaultLoadErrorHandlingPolicy();
this.compositeSequenceableLoaderFactory = new DefaultCompositeSequenceableLoaderFactory();
this.metadataType = 1;
this.streamKeys = Collections.emptyList();
this.elapsedRealTimeOffsetMs = C.TIME_UNSET;
}
}

View File

@@ -0,0 +1,159 @@
package com.google.android.exoplayer2.source.hls;
import android.os.Parcel;
import android.os.Parcelable;
import android.text.TextUtils;
import com.google.android.exoplayer2.metadata.Metadata;
import com.ironsource.v8;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/* loaded from: classes2.dex */
public final class HlsTrackMetadataEntry implements Metadata.Entry {
public static final Parcelable.Creator<HlsTrackMetadataEntry> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.1
@Override // android.os.Parcelable.Creator
public HlsTrackMetadataEntry createFromParcel(Parcel parcel) {
return new HlsTrackMetadataEntry(parcel);
}
@Override // android.os.Parcelable.Creator
public HlsTrackMetadataEntry[] newArray(int i) {
return new HlsTrackMetadataEntry[i];
}
};
public final String groupId;
public final String name;
public final List variantInfos;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public static final class VariantInfo implements Parcelable {
public static final Parcelable.Creator<VariantInfo> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo.1
@Override // android.os.Parcelable.Creator
public VariantInfo createFromParcel(Parcel parcel) {
return new VariantInfo(parcel);
}
@Override // android.os.Parcelable.Creator
public VariantInfo[] newArray(int i) {
return new VariantInfo[i];
}
};
public final String audioGroupId;
public final int averageBitrate;
public final String captionGroupId;
public final int peakBitrate;
public final String subtitleGroupId;
public final String videoGroupId;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public VariantInfo(Parcel parcel) {
this.averageBitrate = parcel.readInt();
this.peakBitrate = parcel.readInt();
this.videoGroupId = parcel.readString();
this.audioGroupId = parcel.readString();
this.subtitleGroupId = parcel.readString();
this.captionGroupId = parcel.readString();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || VariantInfo.class != obj.getClass()) {
return false;
}
VariantInfo variantInfo = (VariantInfo) obj;
return this.averageBitrate == variantInfo.averageBitrate && this.peakBitrate == variantInfo.peakBitrate && TextUtils.equals(this.videoGroupId, variantInfo.videoGroupId) && TextUtils.equals(this.audioGroupId, variantInfo.audioGroupId) && TextUtils.equals(this.subtitleGroupId, variantInfo.subtitleGroupId) && TextUtils.equals(this.captionGroupId, variantInfo.captionGroupId);
}
public int hashCode() {
int i = ((this.averageBitrate * 31) + this.peakBitrate) * 31;
String str = this.videoGroupId;
int hashCode = (i + (str != null ? str.hashCode() : 0)) * 31;
String str2 = this.audioGroupId;
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
String str3 = this.subtitleGroupId;
int hashCode3 = (hashCode2 + (str3 != null ? str3.hashCode() : 0)) * 31;
String str4 = this.captionGroupId;
return hashCode3 + (str4 != null ? str4.hashCode() : 0);
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeInt(this.averageBitrate);
parcel.writeInt(this.peakBitrate);
parcel.writeString(this.videoGroupId);
parcel.writeString(this.audioGroupId);
parcel.writeString(this.subtitleGroupId);
parcel.writeString(this.captionGroupId);
}
}
public HlsTrackMetadataEntry(Parcel parcel) {
this.groupId = parcel.readString();
this.name = parcel.readString();
int readInt = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt);
for (int i = 0; i < readInt; i++) {
arrayList.add((VariantInfo) parcel.readParcelable(VariantInfo.class.getClassLoader()));
}
this.variantInfos = Collections.unmodifiableList(arrayList);
}
public String toString() {
String str;
String str2 = this.groupId;
if (str2 != null) {
String str3 = this.name;
StringBuilder sb = new StringBuilder(String.valueOf(str2).length() + 5 + String.valueOf(str3).length());
sb.append(" [");
sb.append(str2);
sb.append(", ");
sb.append(str3);
sb.append(v8.i.e);
str = sb.toString();
} else {
str = "";
}
String valueOf = String.valueOf(str);
return valueOf.length() != 0 ? "HlsTrackMetadataEntry".concat(valueOf) : new String("HlsTrackMetadataEntry");
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || HlsTrackMetadataEntry.class != obj.getClass()) {
return false;
}
HlsTrackMetadataEntry hlsTrackMetadataEntry = (HlsTrackMetadataEntry) obj;
return TextUtils.equals(this.groupId, hlsTrackMetadataEntry.groupId) && TextUtils.equals(this.name, hlsTrackMetadataEntry.name) && this.variantInfos.equals(hlsTrackMetadataEntry.variantInfos);
}
public int hashCode() {
String str = this.groupId;
int hashCode = (str != null ? str.hashCode() : 0) * 31;
String str2 = this.name;
return ((hashCode + (str2 != null ? str2.hashCode() : 0)) * 31) + this.variantInfos.hashCode();
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeString(this.groupId);
parcel.writeString(this.name);
int size = this.variantInfos.size();
parcel.writeInt(size);
for (int i2 = 0; i2 < size; i2++) {
parcel.writeParcelable((Parcelable) this.variantInfos.get(i2), 0);
}
}
}

View File

@@ -0,0 +1,5 @@
package com.google.android.exoplayer2.source.hls.playlist;
/* loaded from: classes2.dex */
public final class DefaultHlsPlaylistParserFactory implements HlsPlaylistParserFactory {
}

View File

@@ -0,0 +1,7 @@
package com.google.android.exoplayer2.source.hls.playlist;
/* loaded from: classes2.dex */
public abstract class DefaultHlsPlaylistTracker {
public static final HlsPlaylistTracker$Factory FACTORY = new HlsPlaylistTracker$Factory() { // from class: com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker$$ExternalSyntheticLambda0
};
}

View File

@@ -0,0 +1,5 @@
package com.google.android.exoplayer2.source.hls.playlist;
/* loaded from: classes2.dex */
public interface HlsPlaylistParserFactory {
}

View File

@@ -0,0 +1,5 @@
package com.google.android.exoplayer2.source.hls.playlist;
/* loaded from: classes2.dex */
public interface HlsPlaylistTracker$Factory {
}

View File

@@ -0,0 +1,7 @@
package com.google.android.exoplayer2.source.rtsp;
/* loaded from: classes2.dex */
public final class RtspMediaSource$Factory {
public long timeoutMs = 8000;
public String userAgent = "ExoPlayerLib/2.15.1";
}

View File

@@ -0,0 +1,5 @@
package com.google.android.exoplayer2.source.smoothstreaming;
/* loaded from: classes2.dex */
public interface SsChunkSource$Factory {
}

View File

@@ -0,0 +1,37 @@
package com.google.android.exoplayer2.source.smoothstreaming;
import androidx.work.WorkRequest;
import com.google.android.exoplayer2.drm.DefaultDrmSessionManagerProvider;
import com.google.android.exoplayer2.drm.DrmSessionManagerProvider;
import com.google.android.exoplayer2.source.CompositeSequenceableLoaderFactory;
import com.google.android.exoplayer2.source.DefaultCompositeSequenceableLoaderFactory;
import com.google.android.exoplayer2.upstream.DataSource$Factory;
import com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy;
import com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy;
import com.google.android.exoplayer2.util.Assertions;
import java.util.Collections;
import java.util.List;
/* loaded from: classes2.dex */
public final class SsMediaSource$Factory {
public final SsChunkSource$Factory chunkSourceFactory;
public CompositeSequenceableLoaderFactory compositeSequenceableLoaderFactory;
public DrmSessionManagerProvider drmSessionManagerProvider;
public long livePresentationDelayMs;
public LoadErrorHandlingPolicy loadErrorHandlingPolicy;
public List streamKeys;
public SsMediaSource$Factory(final DataSource$Factory dataSource$Factory) {
this(new SsChunkSource$Factory(dataSource$Factory) { // from class: com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource$Factory
}, dataSource$Factory);
}
public SsMediaSource$Factory(SsChunkSource$Factory ssChunkSource$Factory, DataSource$Factory dataSource$Factory) {
this.chunkSourceFactory = (SsChunkSource$Factory) Assertions.checkNotNull(ssChunkSource$Factory);
this.drmSessionManagerProvider = new DefaultDrmSessionManagerProvider();
this.loadErrorHandlingPolicy = new DefaultLoadErrorHandlingPolicy();
this.livePresentationDelayMs = WorkRequest.DEFAULT_BACKOFF_DELAY_MILLIS;
this.compositeSequenceableLoaderFactory = new DefaultCompositeSequenceableLoaderFactory();
this.streamKeys = Collections.emptyList();
}
}

View File

@@ -0,0 +1,5 @@
package com.google.android.exoplayer2.text;
/* loaded from: classes2.dex */
public abstract class Cue {
}

View File

@@ -0,0 +1,315 @@
package com.google.android.exoplayer2.trackselection;
import android.os.Parcel;
import android.os.Parcelable;
import android.util.SparseArray;
import android.util.SparseBooleanArray;
import com.google.android.exoplayer2.source.TrackGroupArray;
import com.google.android.exoplayer2.trackselection.TrackSelectionParameters;
import com.google.android.exoplayer2.util.Assertions;
import com.google.android.exoplayer2.util.Util;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
/* loaded from: classes2.dex */
public abstract class DefaultTrackSelector extends MappingTrackSelector {
public static final class ParametersBuilder extends TrackSelectionParameters.Builder {
public boolean allowAudioMixedChannelCountAdaptiveness;
public boolean allowAudioMixedMimeTypeAdaptiveness;
public boolean allowAudioMixedSampleRateAdaptiveness;
public boolean allowMultipleAdaptiveSelections;
public boolean allowVideoMixedMimeTypeAdaptiveness;
public boolean allowVideoNonSeamlessAdaptiveness;
public int disabledTextTrackSelectionFlags;
public boolean exceedAudioConstraintsIfNecessary;
public boolean exceedRendererCapabilitiesIfNecessary;
public boolean exceedVideoConstraintsIfNecessary;
public boolean tunnelingEnabled;
public final SparseArray selectionOverrides = new SparseArray();
public final SparseBooleanArray rendererDisabledFlags = new SparseBooleanArray();
public final void init() {
this.exceedVideoConstraintsIfNecessary = true;
this.allowVideoMixedMimeTypeAdaptiveness = false;
this.allowVideoNonSeamlessAdaptiveness = true;
this.exceedAudioConstraintsIfNecessary = true;
this.allowAudioMixedMimeTypeAdaptiveness = false;
this.allowAudioMixedSampleRateAdaptiveness = false;
this.allowAudioMixedChannelCountAdaptiveness = false;
this.disabledTextTrackSelectionFlags = 0;
this.exceedRendererCapabilitiesIfNecessary = true;
this.tunnelingEnabled = false;
this.allowMultipleAdaptiveSelections = true;
}
public ParametersBuilder() {
init();
}
@Override // com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
public Parameters build() {
return new Parameters(this);
}
}
public static final class Parameters extends TrackSelectionParameters implements Parcelable {
public static final Parcelable.Creator<Parameters> CREATOR;
public static final Parameters DEFAULT;
public static final Parameters DEFAULT_WITHOUT_CONTEXT;
public final boolean allowAudioMixedChannelCountAdaptiveness;
public final boolean allowAudioMixedMimeTypeAdaptiveness;
public final boolean allowAudioMixedSampleRateAdaptiveness;
public final boolean allowMultipleAdaptiveSelections;
public final boolean allowVideoMixedMimeTypeAdaptiveness;
public final boolean allowVideoNonSeamlessAdaptiveness;
public final int disabledTextTrackSelectionFlags;
public final boolean exceedAudioConstraintsIfNecessary;
public final boolean exceedRendererCapabilitiesIfNecessary;
public final boolean exceedVideoConstraintsIfNecessary;
public final SparseBooleanArray rendererDisabledFlags;
public final SparseArray selectionOverrides;
public final boolean tunnelingEnabled;
@Override // com.google.android.exoplayer2.trackselection.TrackSelectionParameters, android.os.Parcelable
public int describeContents() {
return 0;
}
static {
Parameters build = new ParametersBuilder().build();
DEFAULT_WITHOUT_CONTEXT = build;
DEFAULT = build;
CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters.1
@Override // android.os.Parcelable.Creator
public Parameters createFromParcel(Parcel parcel) {
return new Parameters(parcel);
}
@Override // android.os.Parcelable.Creator
public Parameters[] newArray(int i) {
return new Parameters[i];
}
};
}
public Parameters(ParametersBuilder parametersBuilder) {
super(parametersBuilder);
this.exceedVideoConstraintsIfNecessary = parametersBuilder.exceedVideoConstraintsIfNecessary;
this.allowVideoMixedMimeTypeAdaptiveness = parametersBuilder.allowVideoMixedMimeTypeAdaptiveness;
this.allowVideoNonSeamlessAdaptiveness = parametersBuilder.allowVideoNonSeamlessAdaptiveness;
this.exceedAudioConstraintsIfNecessary = parametersBuilder.exceedAudioConstraintsIfNecessary;
this.allowAudioMixedMimeTypeAdaptiveness = parametersBuilder.allowAudioMixedMimeTypeAdaptiveness;
this.allowAudioMixedSampleRateAdaptiveness = parametersBuilder.allowAudioMixedSampleRateAdaptiveness;
this.allowAudioMixedChannelCountAdaptiveness = parametersBuilder.allowAudioMixedChannelCountAdaptiveness;
this.disabledTextTrackSelectionFlags = parametersBuilder.disabledTextTrackSelectionFlags;
this.exceedRendererCapabilitiesIfNecessary = parametersBuilder.exceedRendererCapabilitiesIfNecessary;
this.tunnelingEnabled = parametersBuilder.tunnelingEnabled;
this.allowMultipleAdaptiveSelections = parametersBuilder.allowMultipleAdaptiveSelections;
this.selectionOverrides = parametersBuilder.selectionOverrides;
this.rendererDisabledFlags = parametersBuilder.rendererDisabledFlags;
}
public Parameters(Parcel parcel) {
super(parcel);
this.exceedVideoConstraintsIfNecessary = Util.readBoolean(parcel);
this.allowVideoMixedMimeTypeAdaptiveness = Util.readBoolean(parcel);
this.allowVideoNonSeamlessAdaptiveness = Util.readBoolean(parcel);
this.exceedAudioConstraintsIfNecessary = Util.readBoolean(parcel);
this.allowAudioMixedMimeTypeAdaptiveness = Util.readBoolean(parcel);
this.allowAudioMixedSampleRateAdaptiveness = Util.readBoolean(parcel);
this.allowAudioMixedChannelCountAdaptiveness = Util.readBoolean(parcel);
this.disabledTextTrackSelectionFlags = parcel.readInt();
this.exceedRendererCapabilitiesIfNecessary = Util.readBoolean(parcel);
this.tunnelingEnabled = Util.readBoolean(parcel);
this.allowMultipleAdaptiveSelections = Util.readBoolean(parcel);
this.selectionOverrides = readSelectionOverrides(parcel);
this.rendererDisabledFlags = (SparseBooleanArray) Util.castNonNull(parcel.readSparseBooleanArray());
}
@Override // com.google.android.exoplayer2.trackselection.TrackSelectionParameters
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || Parameters.class != obj.getClass()) {
return false;
}
Parameters parameters = (Parameters) obj;
return super.equals(parameters) && this.exceedVideoConstraintsIfNecessary == parameters.exceedVideoConstraintsIfNecessary && this.allowVideoMixedMimeTypeAdaptiveness == parameters.allowVideoMixedMimeTypeAdaptiveness && this.allowVideoNonSeamlessAdaptiveness == parameters.allowVideoNonSeamlessAdaptiveness && this.exceedAudioConstraintsIfNecessary == parameters.exceedAudioConstraintsIfNecessary && this.allowAudioMixedMimeTypeAdaptiveness == parameters.allowAudioMixedMimeTypeAdaptiveness && this.allowAudioMixedSampleRateAdaptiveness == parameters.allowAudioMixedSampleRateAdaptiveness && this.allowAudioMixedChannelCountAdaptiveness == parameters.allowAudioMixedChannelCountAdaptiveness && this.disabledTextTrackSelectionFlags == parameters.disabledTextTrackSelectionFlags && this.exceedRendererCapabilitiesIfNecessary == parameters.exceedRendererCapabilitiesIfNecessary && this.tunnelingEnabled == parameters.tunnelingEnabled && this.allowMultipleAdaptiveSelections == parameters.allowMultipleAdaptiveSelections && areRendererDisabledFlagsEqual(this.rendererDisabledFlags, parameters.rendererDisabledFlags) && areSelectionOverridesEqual(this.selectionOverrides, parameters.selectionOverrides);
}
@Override // com.google.android.exoplayer2.trackselection.TrackSelectionParameters
public int hashCode() {
return ((((((((((((((((((((((super.hashCode() + 31) * 31) + (this.exceedVideoConstraintsIfNecessary ? 1 : 0)) * 31) + (this.allowVideoMixedMimeTypeAdaptiveness ? 1 : 0)) * 31) + (this.allowVideoNonSeamlessAdaptiveness ? 1 : 0)) * 31) + (this.exceedAudioConstraintsIfNecessary ? 1 : 0)) * 31) + (this.allowAudioMixedMimeTypeAdaptiveness ? 1 : 0)) * 31) + (this.allowAudioMixedSampleRateAdaptiveness ? 1 : 0)) * 31) + (this.allowAudioMixedChannelCountAdaptiveness ? 1 : 0)) * 31) + this.disabledTextTrackSelectionFlags) * 31) + (this.exceedRendererCapabilitiesIfNecessary ? 1 : 0)) * 31) + (this.tunnelingEnabled ? 1 : 0)) * 31) + (this.allowMultipleAdaptiveSelections ? 1 : 0);
}
@Override // com.google.android.exoplayer2.trackselection.TrackSelectionParameters, android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
super.writeToParcel(parcel, i);
Util.writeBoolean(parcel, this.exceedVideoConstraintsIfNecessary);
Util.writeBoolean(parcel, this.allowVideoMixedMimeTypeAdaptiveness);
Util.writeBoolean(parcel, this.allowVideoNonSeamlessAdaptiveness);
Util.writeBoolean(parcel, this.exceedAudioConstraintsIfNecessary);
Util.writeBoolean(parcel, this.allowAudioMixedMimeTypeAdaptiveness);
Util.writeBoolean(parcel, this.allowAudioMixedSampleRateAdaptiveness);
Util.writeBoolean(parcel, this.allowAudioMixedChannelCountAdaptiveness);
parcel.writeInt(this.disabledTextTrackSelectionFlags);
Util.writeBoolean(parcel, this.exceedRendererCapabilitiesIfNecessary);
Util.writeBoolean(parcel, this.tunnelingEnabled);
Util.writeBoolean(parcel, this.allowMultipleAdaptiveSelections);
writeSelectionOverridesToParcel(parcel, this.selectionOverrides);
parcel.writeSparseBooleanArray(this.rendererDisabledFlags);
}
public static SparseArray readSelectionOverrides(Parcel parcel) {
int readInt = parcel.readInt();
SparseArray sparseArray = new SparseArray(readInt);
for (int i = 0; i < readInt; i++) {
int readInt2 = parcel.readInt();
int readInt3 = parcel.readInt();
HashMap hashMap = new HashMap(readInt3);
for (int i2 = 0; i2 < readInt3; i2++) {
hashMap.put((TrackGroupArray) Assertions.checkNotNull((TrackGroupArray) parcel.readParcelable(TrackGroupArray.class.getClassLoader())), (SelectionOverride) parcel.readParcelable(SelectionOverride.class.getClassLoader()));
}
sparseArray.put(readInt2, hashMap);
}
return sparseArray;
}
public static void writeSelectionOverridesToParcel(Parcel parcel, SparseArray sparseArray) {
int size = sparseArray.size();
parcel.writeInt(size);
for (int i = 0; i < size; i++) {
int keyAt = sparseArray.keyAt(i);
Map map = (Map) sparseArray.valueAt(i);
int size2 = map.size();
parcel.writeInt(keyAt);
parcel.writeInt(size2);
for (Map.Entry entry : map.entrySet()) {
parcel.writeParcelable((Parcelable) entry.getKey(), 0);
parcel.writeParcelable((Parcelable) entry.getValue(), 0);
}
}
}
public static boolean areRendererDisabledFlagsEqual(SparseBooleanArray sparseBooleanArray, SparseBooleanArray sparseBooleanArray2) {
int size = sparseBooleanArray.size();
if (sparseBooleanArray2.size() != size) {
return false;
}
for (int i = 0; i < size; i++) {
if (sparseBooleanArray2.indexOfKey(sparseBooleanArray.keyAt(i)) < 0) {
return false;
}
}
return true;
}
public static boolean areSelectionOverridesEqual(SparseArray sparseArray, SparseArray sparseArray2) {
int size = sparseArray.size();
if (sparseArray2.size() != size) {
return false;
}
for (int i = 0; i < size; i++) {
int indexOfKey = sparseArray2.indexOfKey(sparseArray.keyAt(i));
if (indexOfKey < 0 || !areSelectionOverridesEqual((Map) sparseArray.valueAt(i), (Map) sparseArray2.valueAt(indexOfKey))) {
return false;
}
}
return true;
}
public static boolean areSelectionOverridesEqual(Map map, Map map2) {
if (map2.size() != map.size()) {
return false;
}
for (Map.Entry entry : map.entrySet()) {
TrackGroupArray trackGroupArray = (TrackGroupArray) entry.getKey();
if (!map2.containsKey(trackGroupArray) || !Util.areEqual(entry.getValue(), map2.get(trackGroupArray))) {
return false;
}
}
return true;
}
}
public static final class SelectionOverride implements Parcelable {
public static final Parcelable.Creator<SelectionOverride> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride.1
@Override // android.os.Parcelable.Creator
public SelectionOverride createFromParcel(Parcel parcel) {
return new SelectionOverride(parcel);
}
@Override // android.os.Parcelable.Creator
public SelectionOverride[] newArray(int i) {
return new SelectionOverride[i];
}
};
public final int groupIndex;
public final int length;
public final int[] tracks;
public final int type;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public SelectionOverride(int i, int... iArr) {
this(i, iArr, 0);
}
public SelectionOverride(int i, int[] iArr, int i2) {
this.groupIndex = i;
int[] copyOf = Arrays.copyOf(iArr, iArr.length);
this.tracks = copyOf;
this.length = iArr.length;
this.type = i2;
Arrays.sort(copyOf);
}
public SelectionOverride(Parcel parcel) {
this.groupIndex = parcel.readInt();
int readByte = parcel.readByte();
this.length = readByte;
int[] iArr = new int[readByte];
this.tracks = iArr;
parcel.readIntArray(iArr);
this.type = parcel.readInt();
}
public boolean containsTrack(int i) {
for (int i2 : this.tracks) {
if (i2 == i) {
return true;
}
}
return false;
}
public int hashCode() {
return (((this.groupIndex * 31) + Arrays.hashCode(this.tracks)) * 31) + this.type;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || SelectionOverride.class != obj.getClass()) {
return false;
}
SelectionOverride selectionOverride = (SelectionOverride) obj;
return this.groupIndex == selectionOverride.groupIndex && Arrays.equals(this.tracks, selectionOverride.tracks) && this.type == selectionOverride.type;
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeInt(this.groupIndex);
parcel.writeInt(this.tracks.length);
parcel.writeIntArray(this.tracks);
parcel.writeInt(this.type);
}
}
}

View File

@@ -0,0 +1,5 @@
package com.google.android.exoplayer2.trackselection;
/* loaded from: classes2.dex */
public abstract class MappingTrackSelector extends TrackSelector {
}

View File

@@ -0,0 +1,187 @@
package com.google.android.exoplayer2.trackselection;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.exoplayer2.util.Util;
import com.google.common.collect.ImmutableList;
import java.util.ArrayList;
import java.util.Collection;
/* loaded from: classes2.dex */
public class TrackSelectionParameters implements Parcelable {
public static final Parcelable.Creator<TrackSelectionParameters> CREATOR;
public static final TrackSelectionParameters DEFAULT;
public static final TrackSelectionParameters DEFAULT_WITHOUT_CONTEXT;
public final boolean forceHighestSupportedBitrate;
public final boolean forceLowestBitrate;
public final int maxAudioBitrate;
public final int maxAudioChannelCount;
public final int maxVideoBitrate;
public final int maxVideoFrameRate;
public final int maxVideoHeight;
public final int maxVideoWidth;
public final int minVideoBitrate;
public final int minVideoFrameRate;
public final int minVideoHeight;
public final int minVideoWidth;
public final ImmutableList preferredAudioLanguages;
public final ImmutableList preferredAudioMimeTypes;
public final int preferredAudioRoleFlags;
public final ImmutableList preferredTextLanguages;
public final int preferredTextRoleFlags;
public final ImmutableList preferredVideoMimeTypes;
public final boolean selectUndeterminedTextLanguage;
public final int viewportHeight;
public final boolean viewportOrientationMayChange;
public final int viewportWidth;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public static class Builder {
public int minVideoBitrate;
public int minVideoFrameRate;
public int minVideoHeight;
public int minVideoWidth;
public int maxVideoWidth = Integer.MAX_VALUE;
public int maxVideoHeight = Integer.MAX_VALUE;
public int maxVideoFrameRate = Integer.MAX_VALUE;
public int maxVideoBitrate = Integer.MAX_VALUE;
public int viewportWidth = Integer.MAX_VALUE;
public int viewportHeight = Integer.MAX_VALUE;
public boolean viewportOrientationMayChange = true;
public ImmutableList preferredVideoMimeTypes = ImmutableList.of();
public ImmutableList preferredAudioLanguages = ImmutableList.of();
public int preferredAudioRoleFlags = 0;
public int maxAudioChannelCount = Integer.MAX_VALUE;
public int maxAudioBitrate = Integer.MAX_VALUE;
public ImmutableList preferredAudioMimeTypes = ImmutableList.of();
public ImmutableList preferredTextLanguages = ImmutableList.of();
public int preferredTextRoleFlags = 0;
public boolean selectUndeterminedTextLanguage = false;
public boolean forceLowestBitrate = false;
public boolean forceHighestSupportedBitrate = false;
public TrackSelectionParameters build() {
return new TrackSelectionParameters(this);
}
}
static {
TrackSelectionParameters build = new Builder().build();
DEFAULT_WITHOUT_CONTEXT = build;
DEFAULT = build;
CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.trackselection.TrackSelectionParameters.1
@Override // android.os.Parcelable.Creator
public TrackSelectionParameters createFromParcel(Parcel parcel) {
return new TrackSelectionParameters(parcel);
}
@Override // android.os.Parcelable.Creator
public TrackSelectionParameters[] newArray(int i) {
return new TrackSelectionParameters[i];
}
};
}
public TrackSelectionParameters(Builder builder) {
this.maxVideoWidth = builder.maxVideoWidth;
this.maxVideoHeight = builder.maxVideoHeight;
this.maxVideoFrameRate = builder.maxVideoFrameRate;
this.maxVideoBitrate = builder.maxVideoBitrate;
this.minVideoWidth = builder.minVideoWidth;
this.minVideoHeight = builder.minVideoHeight;
this.minVideoFrameRate = builder.minVideoFrameRate;
this.minVideoBitrate = builder.minVideoBitrate;
this.viewportWidth = builder.viewportWidth;
this.viewportHeight = builder.viewportHeight;
this.viewportOrientationMayChange = builder.viewportOrientationMayChange;
this.preferredVideoMimeTypes = builder.preferredVideoMimeTypes;
this.preferredAudioLanguages = builder.preferredAudioLanguages;
this.preferredAudioRoleFlags = builder.preferredAudioRoleFlags;
this.maxAudioChannelCount = builder.maxAudioChannelCount;
this.maxAudioBitrate = builder.maxAudioBitrate;
this.preferredAudioMimeTypes = builder.preferredAudioMimeTypes;
this.preferredTextLanguages = builder.preferredTextLanguages;
this.preferredTextRoleFlags = builder.preferredTextRoleFlags;
this.selectUndeterminedTextLanguage = builder.selectUndeterminedTextLanguage;
this.forceLowestBitrate = builder.forceLowestBitrate;
this.forceHighestSupportedBitrate = builder.forceHighestSupportedBitrate;
}
public TrackSelectionParameters(Parcel parcel) {
ArrayList arrayList = new ArrayList();
parcel.readList(arrayList, null);
this.preferredAudioLanguages = ImmutableList.copyOf((Collection) arrayList);
this.preferredAudioRoleFlags = parcel.readInt();
ArrayList arrayList2 = new ArrayList();
parcel.readList(arrayList2, null);
this.preferredTextLanguages = ImmutableList.copyOf((Collection) arrayList2);
this.preferredTextRoleFlags = parcel.readInt();
this.selectUndeterminedTextLanguage = Util.readBoolean(parcel);
this.maxVideoWidth = parcel.readInt();
this.maxVideoHeight = parcel.readInt();
this.maxVideoFrameRate = parcel.readInt();
this.maxVideoBitrate = parcel.readInt();
this.minVideoWidth = parcel.readInt();
this.minVideoHeight = parcel.readInt();
this.minVideoFrameRate = parcel.readInt();
this.minVideoBitrate = parcel.readInt();
this.viewportWidth = parcel.readInt();
this.viewportHeight = parcel.readInt();
this.viewportOrientationMayChange = Util.readBoolean(parcel);
ArrayList arrayList3 = new ArrayList();
parcel.readList(arrayList3, null);
this.preferredVideoMimeTypes = ImmutableList.copyOf((Collection) arrayList3);
this.maxAudioChannelCount = parcel.readInt();
this.maxAudioBitrate = parcel.readInt();
ArrayList arrayList4 = new ArrayList();
parcel.readList(arrayList4, null);
this.preferredAudioMimeTypes = ImmutableList.copyOf((Collection) arrayList4);
this.forceLowestBitrate = Util.readBoolean(parcel);
this.forceHighestSupportedBitrate = Util.readBoolean(parcel);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
TrackSelectionParameters trackSelectionParameters = (TrackSelectionParameters) obj;
return this.maxVideoWidth == trackSelectionParameters.maxVideoWidth && this.maxVideoHeight == trackSelectionParameters.maxVideoHeight && this.maxVideoFrameRate == trackSelectionParameters.maxVideoFrameRate && this.maxVideoBitrate == trackSelectionParameters.maxVideoBitrate && this.minVideoWidth == trackSelectionParameters.minVideoWidth && this.minVideoHeight == trackSelectionParameters.minVideoHeight && this.minVideoFrameRate == trackSelectionParameters.minVideoFrameRate && this.minVideoBitrate == trackSelectionParameters.minVideoBitrate && this.viewportOrientationMayChange == trackSelectionParameters.viewportOrientationMayChange && this.viewportWidth == trackSelectionParameters.viewportWidth && this.viewportHeight == trackSelectionParameters.viewportHeight && this.preferredVideoMimeTypes.equals(trackSelectionParameters.preferredVideoMimeTypes) && this.preferredAudioLanguages.equals(trackSelectionParameters.preferredAudioLanguages) && this.preferredAudioRoleFlags == trackSelectionParameters.preferredAudioRoleFlags && this.maxAudioChannelCount == trackSelectionParameters.maxAudioChannelCount && this.maxAudioBitrate == trackSelectionParameters.maxAudioBitrate && this.preferredAudioMimeTypes.equals(trackSelectionParameters.preferredAudioMimeTypes) && this.preferredTextLanguages.equals(trackSelectionParameters.preferredTextLanguages) && this.preferredTextRoleFlags == trackSelectionParameters.preferredTextRoleFlags && this.selectUndeterminedTextLanguage == trackSelectionParameters.selectUndeterminedTextLanguage && this.forceLowestBitrate == trackSelectionParameters.forceLowestBitrate && this.forceHighestSupportedBitrate == trackSelectionParameters.forceHighestSupportedBitrate;
}
public int hashCode() {
return ((((((((((((((((((((((((((((((((((((((((((this.maxVideoWidth + 31) * 31) + this.maxVideoHeight) * 31) + this.maxVideoFrameRate) * 31) + this.maxVideoBitrate) * 31) + this.minVideoWidth) * 31) + this.minVideoHeight) * 31) + this.minVideoFrameRate) * 31) + this.minVideoBitrate) * 31) + (this.viewportOrientationMayChange ? 1 : 0)) * 31) + this.viewportWidth) * 31) + this.viewportHeight) * 31) + this.preferredVideoMimeTypes.hashCode()) * 31) + this.preferredAudioLanguages.hashCode()) * 31) + this.preferredAudioRoleFlags) * 31) + this.maxAudioChannelCount) * 31) + this.maxAudioBitrate) * 31) + this.preferredAudioMimeTypes.hashCode()) * 31) + this.preferredTextLanguages.hashCode()) * 31) + this.preferredTextRoleFlags) * 31) + (this.selectUndeterminedTextLanguage ? 1 : 0)) * 31) + (this.forceLowestBitrate ? 1 : 0)) * 31) + (this.forceHighestSupportedBitrate ? 1 : 0);
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeList(this.preferredAudioLanguages);
parcel.writeInt(this.preferredAudioRoleFlags);
parcel.writeList(this.preferredTextLanguages);
parcel.writeInt(this.preferredTextRoleFlags);
Util.writeBoolean(parcel, this.selectUndeterminedTextLanguage);
parcel.writeInt(this.maxVideoWidth);
parcel.writeInt(this.maxVideoHeight);
parcel.writeInt(this.maxVideoFrameRate);
parcel.writeInt(this.maxVideoBitrate);
parcel.writeInt(this.minVideoWidth);
parcel.writeInt(this.minVideoHeight);
parcel.writeInt(this.minVideoFrameRate);
parcel.writeInt(this.minVideoBitrate);
parcel.writeInt(this.viewportWidth);
parcel.writeInt(this.viewportHeight);
Util.writeBoolean(parcel, this.viewportOrientationMayChange);
parcel.writeList(this.preferredVideoMimeTypes);
parcel.writeInt(this.maxAudioChannelCount);
parcel.writeInt(this.maxAudioBitrate);
parcel.writeList(this.preferredAudioMimeTypes);
Util.writeBoolean(parcel, this.forceLowestBitrate);
Util.writeBoolean(parcel, this.forceHighestSupportedBitrate);
}
}

View File

@@ -0,0 +1,5 @@
package com.google.android.exoplayer2.trackselection;
/* loaded from: classes2.dex */
public abstract class TrackSelector {
}

View File

@@ -0,0 +1,131 @@
package com.google.android.exoplayer2.ui;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.View;
import android.widget.FrameLayout;
import androidx.annotation.Nullable;
/* loaded from: classes2.dex */
public final class AspectRatioFrameLayout extends FrameLayout {
public final AspectRatioUpdateDispatcher aspectRatioUpdateDispatcher;
public int resizeMode;
public float videoAspectRatio;
public interface AspectRatioListener {
}
public void setAspectRatioListener(@Nullable AspectRatioListener aspectRatioListener) {
}
public static /* synthetic */ AspectRatioListener access$100(AspectRatioFrameLayout aspectRatioFrameLayout) {
aspectRatioFrameLayout.getClass();
return null;
}
public AspectRatioFrameLayout(Context context) {
this(context, null);
}
public AspectRatioFrameLayout(Context context, @Nullable AttributeSet attributeSet) {
super(context, attributeSet);
this.resizeMode = 0;
if (attributeSet != null) {
TypedArray obtainStyledAttributes = context.getTheme().obtainStyledAttributes(attributeSet, R$styleable.AspectRatioFrameLayout, 0, 0);
try {
this.resizeMode = obtainStyledAttributes.getInt(R$styleable.AspectRatioFrameLayout_resize_mode, 0);
} finally {
obtainStyledAttributes.recycle();
}
}
this.aspectRatioUpdateDispatcher = new AspectRatioUpdateDispatcher();
}
public void setAspectRatio(float f) {
if (this.videoAspectRatio != f) {
this.videoAspectRatio = f;
requestLayout();
}
}
public void setResizeMode(int i) {
if (this.resizeMode != i) {
this.resizeMode = i;
requestLayout();
}
}
@Override // android.widget.FrameLayout, android.view.View
public void onMeasure(int i, int i2) {
float f;
float f2;
super.onMeasure(i, i2);
if (this.videoAspectRatio <= 0.0f) {
return;
}
int measuredWidth = getMeasuredWidth();
int measuredHeight = getMeasuredHeight();
float f3 = measuredWidth;
float f4 = measuredHeight;
float f5 = f3 / f4;
float f6 = (this.videoAspectRatio / f5) - 1.0f;
if (Math.abs(f6) <= 0.01f) {
this.aspectRatioUpdateDispatcher.scheduleUpdate(this.videoAspectRatio, f5, false);
return;
}
int i3 = this.resizeMode;
if (i3 != 0) {
if (i3 != 1) {
if (i3 == 2) {
f = this.videoAspectRatio;
} else if (i3 == 4) {
if (f6 > 0.0f) {
f = this.videoAspectRatio;
} else {
f2 = this.videoAspectRatio;
}
}
measuredWidth = (int) (f4 * f);
} else {
f2 = this.videoAspectRatio;
}
measuredHeight = (int) (f3 / f2);
} else if (f6 > 0.0f) {
f2 = this.videoAspectRatio;
measuredHeight = (int) (f3 / f2);
} else {
f = this.videoAspectRatio;
measuredWidth = (int) (f4 * f);
}
this.aspectRatioUpdateDispatcher.scheduleUpdate(this.videoAspectRatio, f5, true);
super.onMeasure(View.MeasureSpec.makeMeasureSpec(measuredWidth, 1073741824), View.MeasureSpec.makeMeasureSpec(measuredHeight, 1073741824));
}
public final class AspectRatioUpdateDispatcher implements Runnable {
public boolean aspectRatioMismatch;
public boolean isScheduled;
public float naturalAspectRatio;
public float targetAspectRatio;
public AspectRatioUpdateDispatcher() {
}
public void scheduleUpdate(float f, float f2, boolean z) {
this.targetAspectRatio = f;
this.naturalAspectRatio = f2;
this.aspectRatioMismatch = z;
if (this.isScheduled) {
return;
}
this.isScheduled = true;
AspectRatioFrameLayout.this.post(this);
}
@Override // java.lang.Runnable
public void run() {
this.isScheduled = false;
AspectRatioFrameLayout.access$100(AspectRatioFrameLayout.this);
}
}
}

View File

@@ -0,0 +1,69 @@
package com.google.android.exoplayer2.ui;
import android.content.Context;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.view.View;
import androidx.annotation.Nullable;
import com.amazonaws.handlers.HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0;
import com.google.android.exoplayer2.ui.SubtitleView;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/* loaded from: classes2.dex */
final class CanvasSubtitleOutput extends View implements SubtitleView.Output {
public float bottomPaddingFraction;
public List cues;
public final List painters;
public CaptionStyleCompat style;
public float textSize;
public int textSizeType;
public CanvasSubtitleOutput(Context context) {
this(context, null);
}
public CanvasSubtitleOutput(Context context, @Nullable AttributeSet attributeSet) {
super(context, attributeSet);
this.painters = new ArrayList();
this.cues = Collections.emptyList();
this.textSizeType = 0;
this.textSize = 0.0533f;
this.style = CaptionStyleCompat.DEFAULT;
this.bottomPaddingFraction = 0.08f;
}
@Override // com.google.android.exoplayer2.ui.SubtitleView.Output
public void update(List list, CaptionStyleCompat captionStyleCompat, float f, int i, float f2) {
this.cues = list;
this.style = captionStyleCompat;
this.textSize = f;
this.textSizeType = i;
this.bottomPaddingFraction = f2;
while (this.painters.size() < list.size()) {
this.painters.add(new SubtitlePainter(getContext()));
}
invalidate();
}
@Override // android.view.View
public void dispatchDraw(Canvas canvas) {
List list = this.cues;
if (list.isEmpty()) {
return;
}
int height = getHeight();
int paddingLeft = getPaddingLeft();
int paddingTop = getPaddingTop();
int width = getWidth() - getPaddingRight();
int paddingBottom = height - getPaddingBottom();
if (paddingBottom <= paddingTop || width <= paddingLeft) {
return;
}
if (SubtitleViewUtils.resolveTextSize(this.textSizeType, this.textSize, height, paddingBottom - paddingTop) > 0.0f && list.size() > 0) {
HandlerChainFactory$$ExternalSyntheticThrowCCEIfNotNull0.m(list.get(0));
throw null;
}
}
}

View File

@@ -0,0 +1,41 @@
package com.google.android.exoplayer2.ui;
import android.graphics.Typeface;
import android.view.accessibility.CaptioningManager;
import androidx.core.view.ViewCompat;
import com.google.android.exoplayer2.util.Util;
/* loaded from: classes2.dex */
public final class CaptionStyleCompat {
public static final CaptionStyleCompat DEFAULT = new CaptionStyleCompat(-1, ViewCompat.MEASURED_STATE_MASK, 0, 0, -1, null);
public final int backgroundColor;
public final int edgeColor;
public final int edgeType;
public final int foregroundColor;
public final Typeface typeface;
public final int windowColor;
public static CaptionStyleCompat createFromCaptionStyle(CaptioningManager.CaptionStyle captionStyle) {
if (Util.SDK_INT >= 21) {
return createFromCaptionStyleV21(captionStyle);
}
return createFromCaptionStyleV19(captionStyle);
}
public CaptionStyleCompat(int i, int i2, int i3, int i4, int i5, Typeface typeface) {
this.foregroundColor = i;
this.backgroundColor = i2;
this.windowColor = i3;
this.edgeType = i4;
this.edgeColor = i5;
this.typeface = typeface;
}
public static CaptionStyleCompat createFromCaptionStyleV19(CaptioningManager.CaptionStyle captionStyle) {
return new CaptionStyleCompat(captionStyle.foregroundColor, captionStyle.backgroundColor, 0, captionStyle.edgeType, captionStyle.edgeColor, captionStyle.getTypeface());
}
public static CaptionStyleCompat createFromCaptionStyleV21(CaptioningManager.CaptionStyle captionStyle) {
return new CaptionStyleCompat(captionStyle.hasForegroundColor() ? captionStyle.foregroundColor : DEFAULT.foregroundColor, captionStyle.hasBackgroundColor() ? captionStyle.backgroundColor : DEFAULT.backgroundColor, captionStyle.hasWindowColor() ? captionStyle.windowColor : DEFAULT.windowColor, captionStyle.hasEdgeType() ? captionStyle.edgeType : DEFAULT.edgeType, captionStyle.hasEdgeColor() ? captionStyle.edgeColor : DEFAULT.edgeColor, captionStyle.getTypeface());
}
}

Some files were not shown because too many files have changed in this diff Show More