mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-12-04 03:28:54 +01:00
60 lines
2.2 KiB
Java
60 lines
2.2 KiB
Java
package androidx.camera.video;
|
|
|
|
import androidx.annotation.Nullable;
|
|
import androidx.annotation.RestrictTo;
|
|
import org.apache.commons.text.StringSubstitutor;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes.dex */
|
|
final class AutoValue_AudioStats extends AudioStats {
|
|
private final double audioAmplitudeInternal;
|
|
private final int audioState;
|
|
private final Throwable errorCause;
|
|
|
|
public AutoValue_AudioStats(int i, double d, @Nullable Throwable th) {
|
|
this.audioState = i;
|
|
this.audioAmplitudeInternal = d;
|
|
this.errorCause = th;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
Throwable th;
|
|
if (obj == this) {
|
|
return true;
|
|
}
|
|
if (obj instanceof AudioStats) {
|
|
AudioStats audioStats = (AudioStats) obj;
|
|
if (this.audioState == audioStats.getAudioState() && Double.doubleToLongBits(this.audioAmplitudeInternal) == Double.doubleToLongBits(audioStats.getAudioAmplitudeInternal()) && ((th = this.errorCause) != null ? th.equals(audioStats.getErrorCause()) : audioStats.getErrorCause() == null)) {
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
@Override // androidx.camera.video.AudioStats
|
|
@RestrictTo({RestrictTo.Scope.LIBRARY})
|
|
public double getAudioAmplitudeInternal() {
|
|
return this.audioAmplitudeInternal;
|
|
}
|
|
|
|
@Override // androidx.camera.video.AudioStats
|
|
public int getAudioState() {
|
|
return this.audioState;
|
|
}
|
|
|
|
@Override // androidx.camera.video.AudioStats
|
|
@Nullable
|
|
public Throwable getErrorCause() {
|
|
return this.errorCause;
|
|
}
|
|
|
|
public int hashCode() {
|
|
int doubleToLongBits = (((this.audioState ^ 1000003) * 1000003) ^ ((int) ((Double.doubleToLongBits(this.audioAmplitudeInternal) >>> 32) ^ Double.doubleToLongBits(this.audioAmplitudeInternal)))) * 1000003;
|
|
Throwable th = this.errorCause;
|
|
return (th == null ? 0 : th.hashCode()) ^ doubleToLongBits;
|
|
}
|
|
|
|
public String toString() {
|
|
return "AudioStats{audioState=" + this.audioState + ", audioAmplitudeInternal=" + this.audioAmplitudeInternal + ", errorCause=" + this.errorCause + StringSubstitutor.DEFAULT_VAR_END;
|
|
}
|
|
}
|